com.sas.swing.visuals.dataselectors.propertyeditor
Class TextFieldEditorPanel

com.sas.swing.visuals.dataselectors.propertyeditor.TextFieldEditorPanel
All Implemented Interfaces:
EditorPanelInterface, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class TextFieldEditorPanel
implements EditorPanelInterface

TextFieldEditorPanel is the default text entry editor for the EntityAttributeValuePanel. It displays a JTextField component for editing values.

See Also:
Serialized Form

Field Summary
protected  LabelView helpLabel
          Label for displaying help text
protected  javax.swing.JTextField valueField
          JTextField component
 
Constructor Summary
TextFieldEditorPanel()
          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 setModel(EntityAttributeValueModelInterface selectorAdapter, java.lang.String propertyName)
          Set the model for the editor.
 

Field Detail

valueField

protected javax.swing.JTextField valueField
JTextField component


helpLabel

protected LabelView helpLabel
Label for displaying help text

Constructor Detail

TextFieldEditorPanel

public TextFieldEditorPanel()
Constructor

Method Detail

makePanel

protected javax.swing.JPanel makePanel()
Internal method for constructing the panel


setModel

public void setModel(EntityAttributeValueModelInterface selectorAdapter,
                     java.lang.String propertyName)
Description copied from interface: EditorPanelInterface
Set the model for the editor.

Specified by:
setModel in interface EditorPanelInterface
Parameters:
selectorAdapter - instance of com.sas.dataselectors.propertyeditor.EntityAttributeValueSelectorAdapter
propertyName - name of the property

getValue

public java.lang.Object getValue()
Description copied from interface: EditorPanelInterface
Returns the property value contained in the editor.

Specified by:
getValue in interface EditorPanelInterface
Returns:
property value



Copyright © 2009 SAS Institute Inc. All Rights Reserved.