|
||||||||||
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
public class Atom
A multi-purpose widget used by many more complex widgets.
The intended purpose of qx.ui.basic.Atom is to easily align the common icon-text combination in different ways.
This is useful for all types of buttons, menuentries, tooltips, ...
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
Atom()
|
|
Atom(java.lang.String vLabel)
|
|
Atom(java.lang.String vLabel,
java.lang.String vIcon)
|
|
Atom(java.lang.String vLabel,
java.lang.String vIcon,
java.lang.Integer vIconWidth)
|
|
Atom(java.lang.String vLabel,
java.lang.String vIcon,
java.lang.Integer vIconWidth,
java.lang.Integer vIconHeight)
|
|
Atom(java.lang.String vLabel,
java.lang.String vIcon,
java.lang.Integer vIconWidth,
java.lang.Integer vIconHeight,
Flash vFlash)
|
Method Summary | |
---|---|
void |
_applyDisabledIcon(java.lang.Object value,
java.lang.Object old)
|
void |
_applyIcon(java.lang.Object value,
java.lang.Object old)
|
void |
_applyIconHeight(java.lang.Object value,
java.lang.Object old)
|
void |
_applyIconPosition(java.lang.Object value,
java.lang.Object old)
Applies the icon position |
void |
_applyIconWidth(java.lang.Object value,
java.lang.Object old)
|
void |
_applyLabel(java.lang.Object value,
java.lang.Object old)
|
void |
_applyShow(java.lang.Object value,
java.lang.Object old)
|
void |
_createIcon()
Creates the icon object |
void |
_createLabel()
Creates the label object |
void |
_handleIcon()
handle icon |
void |
_handleLabel()
Handle label |
void |
_updateIcon()
updates the icon |
java.lang.String |
getDisabledIcon()
Returns the (computed) value of the property disabledIcon . |
java.lang.String |
getIcon()
Returns the (computed) value of the property icon . |
java.lang.Integer |
getIconHeight()
Returns the (computed) value of the property iconHeight . |
java.lang.Object |
getIconObject()
Get the icon widget of the atom. |
java.lang.Object |
getIconPosition()
Returns the (computed) value of the property iconPosition . |
java.lang.Integer |
getIconWidth()
Returns the (computed) value of the property iconWidth . |
java.lang.String |
getLabel()
Returns the (computed) value of the property label . |
Label |
getLabelObject()
Get the label widget of the atom. |
java.lang.Object |
getShow()
Returns the (computed) value of the property show . |
void |
initDisabledIcon(java.lang.String arg)
Calls the apply method and dispatches the change event of the property disabledIcon
with the default value defined by the class developer. |
void |
initIcon(java.lang.String arg)
Calls the apply method and dispatches the change event of the property icon
with the default value defined by the class developer. |
void |
initIconHeight(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property iconHeight
with the default value defined by the class developer. |
void |
initIconPosition(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property iconPosition
with the default value defined by the class developer. |
void |
initIconWidth(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property iconWidth
with the default value defined by the class developer. |
void |
initLabel(java.lang.String arg)
Calls the apply method and dispatches the change event of the property label
with the default value defined by the class developer. |
void |
initShow(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property show
with the default value defined by the class developer. |
void |
resetDisabledIcon()
Resets the user value of the property disabledIcon . |
void |
resetIcon()
Resets the user value of the property icon . |
void |
resetIconHeight()
Resets the user value of the property iconHeight . |
void |
resetIconPosition()
Resets the user value of the property iconPosition . |
void |
resetIconWidth()
Resets the user value of the property iconWidth . |
void |
resetLabel()
Resets the user value of the property label . |
void |
resetShow()
Resets the user value of the property show . |
void |
setDisabledIcon(java.lang.String arg)
Sets the user value of the property disabledIcon . |
void |
setIcon(java.lang.String arg)
Sets the user value of the property icon . |
void |
setIconHeight(java.lang.Integer arg)
Sets the user value of the property iconHeight . |
void |
setIconPosition(java.lang.Object arg)
Sets the user value of the property iconPosition . |
void |
setIconWidth(java.lang.Integer arg)
Sets the user value of the property iconWidth . |
void |
setLabel(java.lang.String arg)
Sets the user value of the property label . |
void |
setShow(java.lang.Object arg)
Sets the user value of the property show . |
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 Atom()
public Atom(java.lang.String vLabel)
public Atom(java.lang.String vLabel, java.lang.String vIcon)
public Atom(java.lang.String vLabel, java.lang.String vIcon, java.lang.Integer vIconWidth)
public Atom(java.lang.String vLabel, java.lang.String vIcon, java.lang.Integer vIconWidth, java.lang.Integer vIconHeight)
public Atom(java.lang.String vLabel, java.lang.String vIcon, java.lang.Integer vIconWidth, java.lang.Integer vIconHeight, Flash vFlash)
Method Detail |
---|
public void _applyDisabledIcon(java.lang.Object value, java.lang.Object old)
public void _applyIcon(java.lang.Object value, java.lang.Object old)
public void _applyIconHeight(java.lang.Object value, java.lang.Object old)
public void _applyIconPosition(java.lang.Object value, java.lang.Object old)
Applies the icon position
public void _applyIconWidth(java.lang.Object value, java.lang.Object old)
public void _applyLabel(java.lang.Object value, java.lang.Object old)
public void _applyShow(java.lang.Object value, java.lang.Object old)
public void _createIcon()
Creates the icon object
public void _createLabel()
Creates the label object
public void _handleIcon()
handle icon
public void _handleLabel()
Handle label
public void _updateIcon()
updates the icon
public java.lang.String getDisabledIcon()
Returns the (computed) value of the property disabledIcon
.
For further details take a look at the property definition: disabledIcon
.
public java.lang.String getIcon()
Returns the (computed) value of the property icon
.
For further details take a look at the property definition: icon
.
public java.lang.Integer getIconHeight()
Returns the (computed) value of the property iconHeight
.
For further details take a look at the property definition: iconHeight
.
public java.lang.Object getIconObject()
Get the icon widget of the atom.
public java.lang.Object getIconPosition()
Returns the (computed) value of the property iconPosition
.
For further details take a look at the property definition: iconPosition
.
public java.lang.Integer getIconWidth()
Returns the (computed) value of the property iconWidth
.
For further details take a look at the property definition: iconWidth
.
public java.lang.String getLabel()
Returns the (computed) value of the property label
.
For further details take a look at the property definition: label
.
public Label getLabelObject()
Get the label widget of the atom.
public java.lang.Object getShow()
Returns the (computed) value of the property show
.
For further details take a look at the property definition: show
.
public void initDisabledIcon(java.lang.String arg)
Calls the apply method and dispatches the change event of the property disabledIcon
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: disabledIcon
.
public void initIcon(java.lang.String arg)
Calls the apply method and dispatches the change event of the property icon
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: icon
.
public void initIconHeight(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property iconHeight
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: iconHeight
.
public void initIconPosition(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property iconPosition
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: iconPosition
.
public void initIconWidth(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property iconWidth
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: iconWidth
.
public void initLabel(java.lang.String arg)
Calls the apply method and dispatches the change event of the property label
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: label
.
public void initShow(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property show
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: show
.
public void resetDisabledIcon()
Resets the user value of the property disabledIcon
.
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: disabledIcon
.
public void resetIcon()
Resets the user value of the property icon
.
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: icon
.
public void resetIconHeight()
Resets the user value of the property iconHeight
.
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: iconHeight
.
public void resetIconPosition()
Resets the user value of the property iconPosition
.
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: iconPosition
.
public void resetIconWidth()
Resets the user value of the property iconWidth
.
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: iconWidth
.
public void resetLabel()
Resets the user value of the property label
.
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: label
.
public void resetShow()
Resets the user value of the property show
.
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: show
.
public void setDisabledIcon(java.lang.String arg)
Sets the user value of the property disabledIcon
.
For further details take a look at the property definition: disabledIcon
.
public void setIcon(java.lang.String arg)
Sets the user value of the property icon
.
For further details take a look at the property definition: icon
.
public void setIconHeight(java.lang.Integer arg)
Sets the user value of the property iconHeight
.
For further details take a look at the property definition: iconHeight
.
public void setIconPosition(java.lang.Object arg)
Sets the user value of the property iconPosition
.
For further details take a look at the property definition: iconPosition
.
public void setIconWidth(java.lang.Integer arg)
Sets the user value of the property iconWidth
.
For further details take a look at the property definition: iconWidth
.
public void setLabel(java.lang.String arg)
Sets the user value of the property label
.
For further details take a look at the property definition: label
.
public void setShow(java.lang.Object arg)
Sets the user value of the property show
.
For further details take a look at the property definition: show
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |