org.gcube.portlets.d4sreporting.common.shared
Class MasterSequence

java.lang.Object
  extended by org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence
      extended by org.gcube.portlets.d4sreporting.common.shared.Tuple
All Implemented Interfaces:
Serializable

public class MasterSequence
extends RepeatableSequence
implements Serializable

Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it Groups a list of Components, and specify which one of the is the key, useful for dropdown list items, controlled terms, etc
See Also:
Serialized Form

Constructor Summary
MasterSequence()
           
MasterSequence(String key, ArrayList<BasicComponent> groupedComponents)
           
MasterSequence(String key, ArrayList<BasicComponent> groupedComponents, boolean selected)
           
MasterSequence(String key, boolean selected)
          just for GWT serialization purpose
 
Method Summary
 String getKey()
           
 boolean isSelected()
           
 void setKey(String key)
           
 void setSelected(boolean selected)
           
 String toString()
           
 
Methods inherited from class org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence
equals, getGroupedComponents, getHeight, hashCode, setGroupedComponents, setHeight
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MasterSequence

public MasterSequence()

MasterSequence

public MasterSequence(String key,
                      ArrayList<BasicComponent> groupedComponents)
Parameters:
key - the key to show
groupedComponents -

MasterSequence

public MasterSequence(String key,
                      ArrayList<BasicComponent> groupedComponents,
                      boolean selected)
Parameters:
key - the key to show
groupedComponents -
selected - if you want it to be selected (like the html select)

MasterSequence

public MasterSequence(String key,
                      boolean selected)
just for GWT serialization purpose

Parameters:
key -
selected -
Method Detail

getKey

public String getKey()

setKey

public void setKey(String key)

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean selected)

toString

public String toString()
Overrides:
toString in class RepeatableSequence


Copyright © 2013. All Rights Reserved.