public abstract class Button extends UiElement implements Actionable
Modifier and Type | Field and Description |
---|---|
protected LayoutRuleset |
layout |
effects, styleId, visibility, zIndex
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener listener) |
LayoutRuleset |
getLayout() |
boolean |
isEnabled() |
void |
notifyActionListenersOfBeginEvent() |
void |
notifyActionListenersOfEndEvent() |
void |
removeActionListener(ActionListener listener) |
void |
setEnabled(boolean enabled) |
abstract void |
setLayout(LayoutRuleset layoutRuleset) |
addHoverListener, applyEffect, attach, detach, equals, getElementById, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeHoverListener, setDebugEnabled, setStyleId, setVisibility, setZIndex, syncWithRenderNode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addHoverListener, getId, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeHoverListener
protected LayoutRuleset layout
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 abstract void setLayout(LayoutRuleset layoutRuleset)