|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.edm.common.PullDownListItem
A dropdown list item contains its description and name.
Constructor Summary | |
PullDownListItem(java.lang.String name,
java.lang.String description)
Creates a new instance of PullDownListItem |
Method Summary | |
int |
compareTo(java.lang.Object obj)
|
java.lang.String |
getDescription()
getter for description attribute of this object |
java.lang.String |
getName()
getter for name attribute of this object |
boolean |
getSelected()
Getter for Selected attribute of the PullDownListItem object |
void |
setSelected(boolean selected)
Setter for Selected attribute of the PullDownListItem object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
Constructor Detail |
public PullDownListItem(java.lang.String name, java.lang.String description)
name
- attribute of the objectdescription
- attribute of the objectMethod Detail |
public int compareTo(java.lang.Object obj)
obj
- another PullDownListItem object
public java.lang.String getDescription()
public java.lang.String getName()
public boolean getSelected()
public void setSelected(boolean selected)
selected
- or not
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.