|
||||||||||
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.pageview.AbstractButton
qx.ui.pageview.tabview.Button
public class Button
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
Button()
|
|
Button(java.lang.Object vText)
|
|
Button(java.lang.Object vText,
java.lang.Object vIcon)
|
|
Button(java.lang.Object vText,
java.lang.Object vIcon,
java.lang.Object vIconWidth)
|
|
Button(java.lang.Object vText,
java.lang.Object vIcon,
java.lang.Object vIconWidth,
java.lang.Object vIconHeight)
|
|
Button(java.lang.Object vText,
java.lang.Object vIcon,
java.lang.Object vIconWidth,
java.lang.Object vIconHeight,
java.lang.Object vFlash)
|
Method Summary | |
---|---|
void |
_applyChecked(boolean value,
boolean old)
Applies changes of the property value of the property checked . |
void |
_applyCloseButtonImage(java.lang.Object value,
java.lang.Object old)
|
void |
_applyShowCloseButton(java.lang.Object value,
java.lang.Object old)
|
void |
_onkeydown(Event e)
|
void |
_onkeypress(Event e)
|
void |
_ontabclose(Event e)
|
void |
_renderAppearance()
|
java.lang.String |
getCloseButtonImage()
Returns the (computed) value of the property closeButtonImage . |
boolean |
getShowCloseButton()
Returns the (computed) value of the property showCloseButton . |
void |
initCloseButtonImage(java.lang.String arg)
Calls the apply method and dispatches the change event of the property closeButtonImage
with the default value defined by the class developer. |
void |
initShowCloseButton(boolean arg)
Calls the apply method and dispatches the change event of the property showCloseButton
with the default value defined by the class developer. |
boolean |
isShowCloseButton()
Check whether the (computed) value of the boolean property showCloseButton equals true . |
void |
resetCloseButtonImage()
Resets the user value of the property closeButtonImage . |
void |
resetShowCloseButton()
Resets the user value of the property showCloseButton . |
void |
setCloseButtonImage(java.lang.String arg)
Sets the user value of the property closeButtonImage . |
void |
setShowCloseButton(boolean arg)
Sets the user value of the property showCloseButton . |
boolean |
toggleShowCloseButton()
Toggles the (computed) value of the boolean property showCloseButton . |
Methods inherited from class qx.ui.pageview.AbstractButton |
---|
_applyChecked, _applyManager, _applyName, _applyPage, _applyParent, _onmousedown, _onmouseout, _onmouseover, getChecked, getManager, getName, getPage, getView, initChecked, initManager, initName, initPage, isChecked, resetChecked, resetManager, resetName, resetPage, setChecked, setManager, setName, setPage, toggleChecked |
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 Button()
public Button(java.lang.Object vText)
public Button(java.lang.Object vText, java.lang.Object vIcon)
public Button(java.lang.Object vText, java.lang.Object vIcon, java.lang.Object vIconWidth)
public Button(java.lang.Object vText, java.lang.Object vIcon, java.lang.Object vIconWidth, java.lang.Object vIconHeight)
public Button(java.lang.Object vText, java.lang.Object vIcon, java.lang.Object vIconWidth, java.lang.Object vIconHeight, java.lang.Object vFlash)
Method Detail |
---|
public void _applyChecked(boolean value, boolean old)
Applies changes of the property value of the property checked
.
For further details take a look at the property definition: _applyChecked(boolean, boolean)
.
public void _applyCloseButtonImage(java.lang.Object value, java.lang.Object old)
public void _applyShowCloseButton(java.lang.Object value, java.lang.Object old)
public void _onkeydown(Event e)
_onkeydown
in class AbstractButton
public void _onkeypress(Event e)
_onkeypress
in class AbstractButton
public void _ontabclose(Event e)
public void _renderAppearance()
_renderAppearance
in class Widget
public java.lang.String getCloseButtonImage()
Returns the (computed) value of the property closeButtonImage
.
For further details take a look at the property definition: closeButtonImage
.
public boolean getShowCloseButton()
Returns the (computed) value of the property showCloseButton
.
For further details take a look at the property definition: showCloseButton
.
public void initCloseButtonImage(java.lang.String arg)
Calls the apply method and dispatches the change event of the property closeButtonImage
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: closeButtonImage
.
public void initShowCloseButton(boolean arg)
Calls the apply method and dispatches the change event of the property showCloseButton
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: showCloseButton
.
public boolean isShowCloseButton()
Check whether the (computed) value of the boolean property showCloseButton
equals true
.
For further details take a look at the property definition: showCloseButton
.
public void resetCloseButtonImage()
Resets the user value of the property closeButtonImage
.
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: closeButtonImage
.
public void resetShowCloseButton()
Resets the user value of the property showCloseButton
.
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: showCloseButton
.
public void setCloseButtonImage(java.lang.String arg)
Sets the user value of the property closeButtonImage
.
For further details take a look at the property definition: closeButtonImage
.
public void setShowCloseButton(boolean arg)
Sets the user value of the property showCloseButton
.
For further details take a look at the property definition: showCloseButton
.
public boolean toggleShowCloseButton()
Toggles the (computed) value of the boolean property showCloseButton
.
For further details take a look at the property definition: showCloseButton
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |