|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.dataselectors.propertyeditor.MultiSelectionListEditorPanel
public class MultiSelectionListEditorPanel
MultiSelectionListEditorPanel is the default multiple-selection-from-a-list editor for the EntityAttributeValuePanel. It displays a CheckBoxList component for selecting one or more values in a list.
Field Summary | |
---|---|
protected java.util.Map |
labelValueMap
Name/value pairs (formatted value/unformatted value) |
protected javax.swing.DefaultListModel |
listModel
Instance of DefaultListModel |
protected CheckBoxList |
multiList
Model for this component |
protected boolean |
newModel
boolean value indicating whether a list model has been created |
protected java.util.Map |
propertyModelMap
Name/value pairs (property name/list model) |
protected javax.swing.event.ListSelectionListener |
selectionListener
ListSelectionListener |
protected java.lang.Object |
value
Deprecated. |
Constructor Summary | |
---|---|
MultiSelectionListEditorPanel()
Constructor |
Method Summary | |
---|---|
protected void |
createListeners()
Internal method for creating a ListSelectionListener |
java.lang.Object |
getValue()
Returns the property value contained in the editor. |
protected javax.swing.JPanel |
makePanel()
Internal method for constructing the panel |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Process a PropertyChangeEvent |
void |
setModel(EntityAttributeValueModelInterface selectorAdapter,
java.lang.String propertyName)
Set the model for the editor. |
Field Detail |
---|
protected CheckBoxList multiList
protected java.util.Map labelValueMap
protected java.util.Map propertyModelMap
protected javax.swing.event.ListSelectionListener selectionListener
protected boolean newModel
protected javax.swing.DefaultListModel listModel
protected java.lang.Object value
Constructor Detail |
---|
public MultiSelectionListEditorPanel()
Method Detail |
---|
protected javax.swing.JPanel makePanel()
protected void createListeners()
public void setModel(EntityAttributeValueModelInterface selectorAdapter, java.lang.String propertyName)
EditorPanelInterface
setModel
in interface EditorPanelInterface
selectorAdapter
- instance of com.sas.dataselectors.propertyeditor.EntityAttributeValueSelectorAdapterpropertyName
- name of the propertypublic java.lang.Object getValue()
EditorPanelInterface
getValue
in interface EditorPanelInterface
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
evt
- instance of PropertyChangeEvent
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |