|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.dataselectors.propertyeditor.SingleSelectionListEditorPanel
public class SingleSelectionListEditorPanel
SingleSelectionListEditorPanel is the default single-selection-from-a-list editor for the EntityAttributeValuePanel. It displays a JList component for selecting one value in a list.
Field Summary | |
---|---|
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.JList |
singleList
Model for this component |
Constructor Summary | |
---|---|
SingleSelectionListEditorPanel()
Constructor |
Method Summary | |
---|---|
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 javax.swing.JList singleList
protected java.util.Map propertyModelMap
protected boolean newModel
Constructor Detail |
---|
public SingleSelectionListEditorPanel()
Method Detail |
---|
protected javax.swing.JPanel makePanel()
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 |