net.simplace.pipe.formcomponents.choice.FWSingleCheckboxChoiceSubComponent

This class is used by FWChoiceFormComponent, to display a single choice.


public class FWSingleCheckboxChoiceSubComponent extends
net.simplace.pipe.formcomponents.FWAbstractFormSubComponent implements
java.awt.event.ItemListener {
// Public Constructors
public FWSingleCheckboxChoiceSubComponent(Vector aOptions, boolean aEnabled,
FWObservable aObservable, Map aFormComponentParameterMap);
public FWSingleCheckboxChoiceSubComponent(Vector aOptions, boolean aEnabled,
FWObservable aObservable, Map aFormComponentParameterMap, String
aDefaultValue);


// Public Instance Methods
public String getValue(); // Defines
net.simplace.pipe.formcomponents.FWAbstractFormSubComponent



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


public void setValue(String aValue); // Defines
net.simplace.pipe.formcomponents.FWAbstractFormSubComponent


public void setSelectedIDs(String aIDs);

public void updateCheckBox(Vector aFormOptionVector);

Updates the choice list
public void setEnabled(boolean aIsEnabled);
// Defines net.simplace.pipe.formcomponents.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.pipe.formcomponents.FWAbstractFormSubComponent - FWSingleCheckboxChoiceSubComponent (java.awt.event.ItemListener)