net.simplace.ui.formengine.choice.FWCheckboxChoiceSubComponent

This class is used by FWChoiceFormComponent, to display a list of choices from which any number of items may be selected.


public class FWCheckboxChoiceSubComponent extends
net.simplace.ui.formengine.FWAbstractFormSubComponent implements
java.awt.event.ItemListener {
// Public Constructors
public FWCheckboxChoiceSubComponent(Vector aOptions, boolean aEnabled,
FWObservable aObservable, Map aFormComponentParameterMap);
public FWCheckboxChoiceSubComponent(Vector aOptions, boolean aEnabled,
boolean aShowAll, FWObservable aObservable, Map
aFormComponentParameterMap);
public FWCheckboxChoiceSubComponent(Vector aOptions, boolean aEnabled,
FWObservable aObservable, Map aFormComponentParameterMap, String
aDefaultValue);
public FWCheckboxChoiceSubComponent(Vector aOptions, boolean aIsRequired,
boolean aEnabled, boolean aShowAll, FWObservable aObservable, Map
aFormComponentParameterMap, String aDefaultValue);


// Public Instance Methods
public String getValue(); // Defines
net.simplace.ui.formengine.FWAbstractFormSubComponent



returns comma-separated list of the id-attributes of the currently selected checkboxes
public List getSelectedValueList(); // Defines
net.simplace.ui.formengine.FWAbstractFormSubComponent


public void setValue(String aValue); // Defines
net.simplace.ui.formengine.FWAbstractFormSubComponent


public void setSelectedIDs(String aIDs);

public void updateCheckBoxes(Vector aFormOptionVector);

Updates the choice list
public void setEnabled(boolean aIsEnabled);
// Defines net.simplace.ui.formengine.FWAbstractFormSubComponent


Allows to set the value of the implemented subcomponent
public void itemStateChanged(ItemEvent e); // From
java.awt.event.ItemListener


Notifies the parent component if the value of this component has changed


}



Hierarchy: java.lang.Object - java.awt.Component (java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) - java.awt.Container - javax.swing.JComponent (java.io.Serializable, javax.swing.TransferHandler.HasGetTransferHandler) - javax.swing.JPanel (javax.accessibility.Accessible) - net.simplace.ui.formengine.FWAbstractFormSubComponent - FWCheckboxChoiceSubComponent (java.awt.event.ItemListener)