|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.list.AbstractListComponent
nextapp.echo2.app.SelectField
echopointng.SelectFieldEx
public class SelectFieldEx
SelectFieldEx
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
SelectFieldEx()
Creates a new, empty SelectFieldEx. |
|
SelectFieldEx(ListModel model)
Creates a new SelectFieldEx with the provided model. |
|
SelectFieldEx(java.lang.Object[] items)
Creates a new SelectField that will initially contain the
provided array of items. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String attributeName)
Returns a value for the given attribute name or null if one cannot be found. |
java.lang.String[] |
getAttributeNames()
Returns a String array with the names of the the attributes that have neen set. |
void |
init()
Life-cycle method invoked when the Component is added
to a registered hierarchy. |
void |
setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Sets a value for a given attribute name. |
| Methods inherited from class nextapp.echo2.app.SelectField |
|---|
getSelectedIndex, getSelectedItem, setSelectedIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectFieldEx()
SelectFieldEx.
public SelectFieldEx(ListModel model)
SelectFieldEx with the provided model.
model - the model for the SelectFieldpublic SelectFieldEx(java.lang.Object[] items)
SelectField that will initially contain the
provided array of items.
items - the items the SelectField will initially
contain| Method Detail |
|---|
public void init()
ComponentComponent is added
to a registered hierarchy. Implementations should always invoke
super.init().
Modifications to the component hierarchy are not allowed within this
method.
init in class ComponentComponent.init()public java.lang.Object getAttribute(java.lang.String attributeName)
Attributeable
getAttribute in interface AttributeableattributeName - - the name of the attribute to return
Attributeable.getAttribute(java.lang.String)public java.lang.String[] getAttributeNames()
Attributeable
getAttributeNames in interface AttributeableAttributeable.getAttributeNames()
public void setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Attributeable
setAttribute in interface AttributeableattributeName - - the name of the attribute to setattributeValue - - the value for the attributeAttributeable.setAttribute(java.lang.String,
java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||