|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.beans.AbstractBean
org.jdesktop.html.form.AbstractSelect
public abstract class AbstractSelect
Abstract implementation of the Select interface.
| Constructor Summary | |
|---|---|
protected |
AbstractSelect(String name,
Set<String> values)
Creates a new instance of AbstractSelect. |
| Method Summary | |
|---|---|
String |
getName()
Gets the name of this Input. |
String[] |
getOptions()
Gets the set of valid values. |
String |
getValue()
Gets the value of the Input. |
void |
setValue(String value)
Sets the value of the Input. |
| Methods inherited from class org.jdesktop.beans.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSelect(String name,
Set<String> values)
name - the name, corrosponding to the "name" property of Input.values - the set of acceptable values| Method Detail |
|---|
public String[] getOptions()
Select
getOptions in interface Selectpublic String getName()
Input
getName in interface Inputpublic String getValue()
Input
getValue in interface Inputpublic void setValue(String value)
Input
setValue in interface Inputvalue - the value. May be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||