public class Select<V> extends UiElement implements Actionable
effects, styleId, visibility, zIndex
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener listener) |
void |
addOption(java.lang.String label,
V value) |
void |
attach(ParentRenderNode<?,?> parentRenderNode) |
void |
detach(ParentRenderNode<?,?> parentRenderNode) |
LayoutRuleset |
getLayout() |
int |
getSelectedIndex() |
SelectOption<V> |
getSelectedOption() |
V |
getSelectedValue() |
int |
getTotalOptions() |
boolean |
isEnabled() |
void |
notifyActionListenersOfBeginEvent() |
void |
notifyActionListenersOfEndEvent() |
void |
removeActionListener(ActionListener listener) |
void |
removeOption(SelectOption<V> option) |
void |
removeOptionByLabel(java.lang.String label) |
void |
removeOptionByValue(V value) |
void |
setEnabled(boolean enabled) |
void |
setLayout(LayoutRuleset layoutRuleset) |
void |
setStyleId(java.lang.String styleId) |
void |
setVisibility(Visibility visibility) |
void |
setZIndex(int zIndex) |
void |
syncWithRenderNode() |
addHoverListener, applyEffect, equals, getElementById, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeHoverListener, setDebugEnabled
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addHoverListener, getId, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeHoverListener
public void attach(ParentRenderNode<?,?> parentRenderNode)
public void detach(ParentRenderNode<?,?> parentRenderNode)
public void setVisibility(Visibility visibility)
setVisibility
in class UiElement
public void setStyleId(java.lang.String styleId)
setStyleId
in class UiElement
public void syncWithRenderNode()
syncWithRenderNode
in class UiElement
public void addOption(java.lang.String label, V value)
public void removeOption(SelectOption<V> option)
public void removeOptionByLabel(java.lang.String label)
public void removeOptionByValue(V value)
public SelectOption<V> getSelectedOption()
public V getSelectedValue()
public int getTotalOptions()
public int getSelectedIndex()
public void notifyActionListenersOfBeginEvent()
notifyActionListenersOfBeginEvent
in interface Actionable
public void notifyActionListenersOfEndEvent()
notifyActionListenersOfEndEvent
in interface Actionable
public void addActionListener(ActionListener listener)
addActionListener
in interface Actionable
public void removeActionListener(ActionListener listener)
removeActionListener
in interface Actionable
public boolean isEnabled()
isEnabled
in interface Actionable
public void setEnabled(boolean enabled)
setEnabled
in interface Actionable
public LayoutRuleset getLayout()
public void setLayout(LayoutRuleset layoutRuleset)