|
Spiffy UI Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHTMLPanel
org.spiffyui.client.widgets.multivaluesuggest.MultivalueSuggestBoxBase.SelectedItem
public class MultivalueSuggestBoxBase.SelectedItem
This class represents a UI element for a selected item. It will have an anchor with an X to allow for this item to be dismissed
Constructor Summary | |
---|---|
MultivalueSuggestBoxBase.SelectedItem(java.lang.String id,
MultivalueSuggestBoxBase.Option option)
Constructor |
|
MultivalueSuggestBoxBase.SelectedItem(java.lang.String id,
MultivalueSuggestBoxBase.Option option,
java.lang.String html)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getDisplay()
Get the display string, which is the same as the name of the Option |
MultivalueSuggestBoxBase.Option |
getOption()
Get the Option bean |
void |
onClick(ClickEvent event)
|
void |
remove()
Remove this selected item |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultivalueSuggestBoxBase.SelectedItem(java.lang.String id, MultivalueSuggestBoxBase.Option option)
id
- - the elements unique idoption
- - the Option beanpublic MultivalueSuggestBoxBase.SelectedItem(java.lang.String id, MultivalueSuggestBoxBase.Option option, java.lang.String html)
id
- - the elements unique idoption
- - the Option beanhtml
- - the HTML string for the SelectedItem, which must include an id + "_main"
to serve as the location where the close Anchor will goMethod Detail |
---|
public void onClick(ClickEvent event)
public void remove()
public MultivalueSuggestBoxBase.Option getOption()
public java.lang.String getDisplay()
|
Spiffy UI Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |