|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.ui.core.Widget
qx.ui.core.Parent
qx.ui.layout.BoxLayout
qx.ui.basic.Atom
qx.ui.form.Button
qx.ui.toolbar.Button
qx.ui.toolbar.MenuButton
public class MenuButton
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
MenuButton()
|
|
MenuButton(java.lang.Object vText)
|
|
MenuButton(java.lang.Object vText,
java.lang.Object vMenu)
|
|
MenuButton(java.lang.Object vText,
java.lang.Object vMenu,
java.lang.Object vIcon)
|
|
MenuButton(java.lang.Object vText,
java.lang.Object vMenu,
java.lang.Object vIcon,
java.lang.Object vIconWidth)
|
|
MenuButton(java.lang.Object vText,
java.lang.Object vMenu,
java.lang.Object vIcon,
java.lang.Object vIconWidth,
java.lang.Object vIconHeight)
|
|
MenuButton(java.lang.Object vText,
java.lang.Object vMenu,
java.lang.Object vIcon,
java.lang.Object vIconWidth,
java.lang.Object vIconHeight,
java.lang.Object vFlash)
|
Method Summary | |
---|---|
void |
_applyMenu(java.lang.Object value,
java.lang.Object old)
|
void |
_hideMenu()
|
void |
_onmenuappear(Event e)
|
void |
_onmenudisappear(Event e)
|
void |
_onmousedown(Event e)
Listener method for “mousedown” event Removes “abandoned” state Adds “pressed” state |
void |
_onmouseout(Event e)
Listener method for “mouseout” event Removes “over” state Adds “abandoned” and removes “pressed” state (if “pressed” state is set) |
void |
_onmouseover(Event e)
Listener method for “mouseover” event Adds state “over” Removes “abandoned” and adds “pressed” state (if “abandoned” state is set) |
void |
_onmouseup(Event e)
Listener method for “mouseup” event Removes “pressed” state (if set) Removes “abandoned” state (if set) Adds “over” state (if “abandoned” state is not set) |
void |
_showMenu(java.lang.Object vFromKeyEvent)
|
java.lang.Object |
getDirection()
Returns the (computed) value of the property direction . |
Menu |
getMenu()
Returns the (computed) value of the property menu . |
java.lang.Object |
getParentToolBar()
|
void |
initDirection(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property direction
with the default value defined by the class developer. |
void |
initMenu(Menu arg)
Calls the apply method and dispatches the change event of the property menu
with the default value defined by the class developer. |
void |
resetDirection()
Resets the user value of the property direction . |
void |
resetMenu()
Resets the user value of the property menu . |
void |
setDirection(java.lang.Object arg)
Sets the user value of the property direction . |
void |
setMenu(Menu arg)
Sets the user value of the property menu . |
Methods inherited from class qx.ui.toolbar.Button |
---|
_onkeydown, _onkeyup |
Methods inherited from class qx.ui.form.Button |
---|
_onkeydown, _onkeyup |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MenuButton()
public MenuButton(java.lang.Object vText)
public MenuButton(java.lang.Object vText, java.lang.Object vMenu)
public MenuButton(java.lang.Object vText, java.lang.Object vMenu, java.lang.Object vIcon)
public MenuButton(java.lang.Object vText, java.lang.Object vMenu, java.lang.Object vIcon, java.lang.Object vIconWidth)
public MenuButton(java.lang.Object vText, java.lang.Object vMenu, java.lang.Object vIcon, java.lang.Object vIconWidth, java.lang.Object vIconHeight)
public MenuButton(java.lang.Object vText, java.lang.Object vMenu, java.lang.Object vIcon, java.lang.Object vIconWidth, java.lang.Object vIconHeight, java.lang.Object vFlash)
Method Detail |
---|
public void _applyMenu(java.lang.Object value, java.lang.Object old)
public void _hideMenu()
public void _onmenuappear(Event e)
public void _onmenudisappear(Event e)
public void _onmousedown(Event e)
Button
Listener method for “mousedown” event
_onmousedown
in class Button
public void _onmouseout(Event e)
Button
Listener method for “mouseout” event
_onmouseout
in class Button
public void _onmouseover(Event e)
Button
Listener method for “mouseover” event
_onmouseover
in class Button
public void _onmouseup(Event e)
Button
Listener method for “mouseup” event
_onmouseup
in class Button
public void _showMenu(java.lang.Object vFromKeyEvent)
public java.lang.Object getDirection()
Returns the (computed) value of the property direction
.
For further details take a look at the property definition: direction
.
public Menu getMenu()
Returns the (computed) value of the property menu
.
For further details take a look at the property definition: menu
.
public java.lang.Object getParentToolBar()
public void initDirection(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property direction
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: direction
.
public void initMenu(Menu arg)
Calls the apply method and dispatches the change event of the property menu
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: menu
.
public void resetDirection()
Resets the user value of the property direction
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: direction
.
public void resetMenu()
Resets the user value of the property menu
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: menu
.
public void setDirection(java.lang.Object arg)
Sets the user value of the property direction
.
For further details take a look at the property definition: direction
.
public void setMenu(Menu arg)
Sets the user value of the property menu
.
For further details take a look at the property definition: menu
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |