|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.dataselectors.propertyeditor.RadioButtonEditorPanel
@SASScope(value="ALL") public class RadioButtonEditorPanel
RadioButtonEditorPanel is the default boolean editor for the EntityAttributeValuePanel. It displays two radio buttons which correspond to a boolean true or false value.
| Field Summary | |
|---|---|
static java.lang.String |
FALSE_VALUE
Constant for specifying false |
protected javax.swing.JRadioButton |
falseButton
JRadioButton component for specifying false |
static java.lang.String |
RB_KEY
|
static java.lang.String |
TRUE_VALUE
Constant for specifying true |
protected javax.swing.JRadioButton |
trueButton
JRadioButton component for specifying true |
| Constructor Summary | |
|---|---|
RadioButtonEditorPanel()
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 |
|---|
public static final java.lang.String RB_KEY
public static final java.lang.String TRUE_VALUE
public static final java.lang.String FALSE_VALUE
protected javax.swing.JRadioButton falseButton
protected javax.swing.JRadioButton trueButton
| Constructor Detail |
|---|
public RadioButtonEditorPanel()
| Method Detail |
|---|
protected javax.swing.JPanel makePanel()
public void setModel(EntityAttributeValueModelInterface selectorAdapter,
java.lang.String propertyName)
EditorPanelInterface
setModel in interface EditorPanelInterfaceselectorAdapter - instance of com.sas.dataselectors.propertyeditor.EntityAttributeValueSelectorAdapterpropertyName - name of the propertypublic java.lang.Object getValue()
EditorPanelInterface
getValue in interface EditorPanelInterface
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||