qx.ui.basic
Class Atom

java.lang.Object
  extended by qx.core.Object
      extended by qx.core.Target
          extended by qx.ui.core.Widget
              extended by qx.ui.core.Parent
                  extended by qx.ui.layout.BoxLayout
                      extended by qx.ui.basic.Atom
Direct Known Subclasses:
AbstractButton, Button, CheckBox, HeaderCell, ListItem

public class Atom
extends BoxLayout

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.ui.layout.BoxLayout
_applyHorizontalChildrenAlign, _applyOrientation, _applyReverseChildrenOrder, _applySpacing, _applyStretchChildrenOrthogonalAxis, _applyUseAdvancedFlexAllocation, _applyVerticalChildrenAlign, _computeAccumulatedChildrenOuterHeight, _computeAccumulatedChildrenOuterWidth, _createLayoutImpl, _doLayout, _doLayoutOrder, _invalidateLayoutMode, _recomputeChildrenStretchingX, _recomputeChildrenStretchingY, _updateLayoutMode, getHorizontalChildrenAlign, getLayoutMode, getOrientation, getReverseChildrenOrder, getSpacing, getStretchChildrenOrthogonalAxis, getUseAdvancedFlexAllocation, getVerticalChildrenAlign, initHorizontalChildrenAlign, initOrientation, initReverseChildrenOrder, initSpacing, initStretchChildrenOrthogonalAxis, initUseAdvancedFlexAllocation, initVerticalChildrenAlign, isHorizontal, isReverseChildrenOrder, isStretchChildrenOrthogonalAxis, isUseAdvancedFlexAllocation, isVertical, resetHorizontalChildrenAlign, resetOrientation, resetReverseChildrenOrder, resetSpacing, resetStretchChildrenOrthogonalAxis, resetUseAdvancedFlexAllocation, resetVerticalChildrenAlign, setHorizontalChildrenAlign, setOrientation, setReverseChildrenOrder, setSpacing, setStretchChildrenOrthogonalAxis, setUseAdvancedFlexAllocation, setVerticalChildrenAlign, toggleReverseChildrenOrder, toggleStretchChildrenOrthogonalAxis, toggleUseAdvancedFlexAllocation
 
Methods inherited from class qx.ui.core.Parent
_addChildrenToLayoutQueue, _addChildrenToStateQueue, _addChildToChildrenQueue, _afterAppear, _afterDisappear, _afterInsertDom, _afterRemoveDom, _applyActiveChild, _applyFocusedChild, _applyFocusHandler, _beforeAppear, _beforeDisappear, _beforeInsertDom, _beforeRemoveDom, _changeInnerHeight, _changeInnerWidth, _computePreferredInnerHeight, _computePreferredInnerWidth, _computeVisibleChildren, _flushChildrenQueue, _handleDisplayableCustom, _layoutChild, _layoutPost, _onfocuskeyevent, _recursiveAppearanceThemeUpdate, _removeChildFromChildrenQueue, activateFocusRoot, add, addAfter, addAt, addAtBegin, addAtEnd, addBefore, contains, forEachChild, forEachVisibleChild, getActiveChild, getChildren, getChildrenLength, getFirstActiveChild, getFirstChild, getFirstVisibleChild, getFocusedChild, getFocusHandler, getFocusRoot, getInnerHeightForChild, getInnerWidthForChild, getLastActiveChild, getLastChild, getLastVisibleChild, getLayoutImpl, getVisibleChildrenLength, hasChildren, hasVisibleChildren, indexOf, initActiveChild, initFocusedChild, initFocusHandler, isEmpty, isFocusRoot, isVisibleEmpty, recursiveAddToStateQueue, remapChildrenHandlingTo, remove, removeAll, removeAt, resetActiveChild, resetFocusedChild, resetFocusHandler, setActiveChild, setFocusedChild, setFocusHandler
 
Methods inherited from class qx.ui.core.Widget
_applyAppearance, _applyBackgroundColor, _applyBackgroundImage, _applyBackgroundRepeat, _applyBorder, _applyBottom, _applyCapture, _applyClip, _applyCommand, _applyCursor, _applyDisplay, _applyElement, _applyElementData, _applyEnabled, _applyFocused, _applyFont, _applyHeight, _applyHideFocus, _applyHtmlAttributes, _applyHtmlProperties, _applyLeft, _applyMarginBottom, _applyMarginLeft, _applyMarginRight, _applyMarginTop, _applyMaxHeight, _applyMaxWidth, _applyMinHeight, _applyMinWidth, _applyOpacity, _applyOverflow, _applyPaddingBottom, _applyPaddingLeft, _applyPaddingRight, _applyPaddingTop, _applyParent, _applyRight, _applySelectable, _applyStateStyleFocus, _applyStyleProperties, _applyTabIndex, _applyTextColor, _applyTop, _applyVisibility, _applyWidth, _applyZIndex, _checkParent, _compileClipString, _computeBoxHeight, _computeBoxHeightFallback, _computeBoxWidth, _computeBoxWidthFallback, _computeDisplayable, _computeFrameHeight, _computeFrameWidth, _computeHasAutoX, _computeHasAutoY, _computeHasFlexX, _computeHasFlexY, _computeHasPercentX, _computeHasPercentY, _computeInnerHeight, _computeInnerWidth, _computeOuterHeight, _computeOuterWidth, _computePreferredBoxHeight, _computePreferredBoxWidth, _computeValuePercentX, _computeValuePercentXLimit, _computeValuePercentY, _computeValuePercentYLimit, _computeValuePixel, _computeValuePixelLimit, _createElementImpl, _evalUnitsPixelPercent, _evalUnitsPixelPercentAuto, _evalUnitsPixelPercentAutoFlex, _flushJobQueue, _generateHtmlId, _getTargetNode, _handleDisplayable, _invalidateFrameDimensions, _invalidatePreferredInnerDimensions, _queueBorder, _recomputeFlexX, _recomputeFlexY, _recomputePercentX, _recomputePercentY, _recomputeRangeX, _recomputeRangeY, _recomputeStretchingX, _recomputeStretchingY, _renderAppearance, _renderOverflow, _resetAppearanceThemeWrapper, _styleBackgroundColor, _styleBackgroundImage, _styleFromMap, _unitDetectionPixelPercent, _unitDetectionPixelPercentAuto, _unitDetectionPixelPercentAutoFlex, _unstyleFromArray, _visualizeBlur, _visualizeFocus, _visualPropertyCheck, addState, addToDocument, addToJobQueue, addToLayoutChanges, addToQueue, addToQueueRuntime, addToStateQueue, auto, blur, connect, contains, disconnect, execute, focus, getAllowStretchX, getAllowStretchY, getAnonymous, getAppearance, getBackgroundColor, getBackgroundImage, getBackgroundRepeat, getBorder, getBottom, getBottomValue, getCapture, getClientHeight, getClientWidth, getClipHeight, getClipLeft, getClipTop, getClipWidth, getCommand, getContextMenu, getCursor, getDisplay, getDropDataTypes, getElement, getEnabled, getEnableElementFocus, getFocused, getFont, getHeight, getHeightValue, getHideFocus, getHorizontalAlign, getHtmlAttribute, getHtmlProperty, getLeft, getLeftValue, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxHeightValue, getMaxWidth, getMaxWidthValue, getMinHeight, getMinHeightValue, getMinWidth, getMinWidthValue, getNeededHeight, getNeededWidth, getNextActiveSibling, getNextSibling, getNextVisibleSibling, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOpacity, getOverflow, getOverflowX, getOverflowY, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getPreviousActiveSibling, getPreviousSibling, getPreviousVisibleSibling, getRight, getRightValue, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSelectable, getStyleProperty, getSupportsDropMethod, getTabIndex, getTextColor, getToolTip, getTop, getTopLevelWidget, getTopValue, getVerticalAlign, getVisibility, getVisibleChildren, getWidth, getWidthValue, getZIndex, hasState, hide, indexOf, initAllowStretchX, initAllowStretchY, initAnonymous, initAppearance, initBackgroundColor, initBackgroundImage, initBackgroundRepeat, initBorder, initBottom, initCapture, initClipHeight, initClipLeft, initClipTop, initClipWidth, initCommand, initContextMenu, initCursor, initDisplay, initDropDataTypes, initElement, initEnabled, initEnableElementFocus, initFocused, initFont, initHeight, initHideFocus, initHorizontalAlign, initLeft, initMarginBottom, initMarginLeft, initMarginRight, initMarginTop, initMaxHeight, initMaxWidth, initMinHeight, initMinWidth, initOpacity, initOverflow, initPaddingBottom, initPaddingLeft, initPaddingRight, initPaddingTop, initParent, initRight, initSelectable, initSupportsDropMethod, initTabIndex, initTextColor, initToolTip, initTop, initVerticalAlign, initVisibility, initWidth, initZIndex, isAllowStretchX, isAllowStretchY, isAnonymous, isAppearRelevant, isCapture, isCreated, isDisplay, isDisplayable, isEnabled, isEnableElementFocus, isFirstChild, isFirstVisibleChild, isFocusable, isFocused, isHideFocus, isLastChild, isLastVisibleChild, isMaterialized, isSeeable, isSelectable, isVisibility, moveSelfAfter, moveSelfBefore, moveSelfToBegin, moveSelfToEnd, pack, removeHtmlAttribute, removeHtmlProperty, removeState, removeStyleProperty, renderPadding, resetAlign, resetAllowStretchX, resetAllowStretchY, resetAnonymous, resetAppearance, resetBackgroundColor, resetBackgroundImage, resetBackgroundRepeat, resetBorder, resetBottom, resetCapture, resetClip, resetClipDimension, resetClipHeight, resetClipLeft, resetClipLocation, resetClipTop, resetClipWidth, resetCommand, resetContextMenu, resetCursor, resetDimension, resetDisplay, resetDropDataTypes, resetEdge, resetElement, resetEnabled, resetEnableElementFocus, resetFocused, resetFont, resetHeight, resetHeights, resetHideFocus, resetHorizontalAlign, resetLeft, resetLocation, resetMargin, resetMarginBottom, resetMarginLeft, resetMarginRight, resetMarginTop, resetMaxHeight, resetMaxWidth, resetMinHeight, resetMinWidth, resetOpacity, resetOverflow, resetPadding, resetPaddingBottom, resetPaddingLeft, resetPaddingRight, resetPaddingTop, resetParent, resetRight, resetSelectable, resetSpace, resetSupportsDropMethod, resetTabIndex, resetTextColor, resetToolTip, resetTop, resetVerticalAlign, resetVisibility, resetWidth, resetWidths, resetZIndex, scrollIntoView, scrollIntoViewX, scrollIntoViewY, setAlign, setAllowStretchX, setAllowStretchY, setAnonymous, setAppearance, setBackgroundColor, setBackgroundImage, setBackgroundRepeat, setBorder, setBottom, setCapture, setClip, setClipDimension, setClipHeight, setClipLeft, setClipLocation, setClipTop, setClipWidth, setCommand, setContextMenu, setCursor, setDimension, setDisplay, setDropDataTypes, setEdge, setElement, setEnabled, setEnableElementFocus, setFocused, setFont, setHeight, setHeights, setHideFocus, setHorizontalAlign, setHtmlAttribute, setHtmlProperty, setLeft, setLocation, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOpacity, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setParent, setRight, setScrollLeft, setScrollTop, setSelectable, setSpace, setStyleProperty, setSupportsDropMethod, setTabIndex, setTextColor, setToolTip, setTop, setVerticalAlign, setVisibility, setWidth, setWidths, setZIndex, show, supportsDrop, toggleAllowStretchX, toggleAllowStretchY, toggleAnonymous, toggleCapture, toggleDisplay, toggleEnabled, toggleEnableElementFocus, toggleFocused, toggleHideFocus, toggleSelectable, toggleVisibility
 
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

Atom

public Atom()

Atom

public Atom(java.lang.String vLabel)

Atom

public Atom(java.lang.String vLabel,
            java.lang.String vIcon)

Atom

public Atom(java.lang.String vLabel,
            java.lang.String vIcon,
            java.lang.Integer vIconWidth)

Atom

public Atom(java.lang.String vLabel,
            java.lang.String vIcon,
            java.lang.Integer vIconWidth,
            java.lang.Integer vIconHeight)

Atom

public Atom(java.lang.String vLabel,
            java.lang.String vIcon,
            java.lang.Integer vIconWidth,
            java.lang.Integer vIconHeight,
            Flash vFlash)
Method Detail

_applyDisabledIcon

public void _applyDisabledIcon(java.lang.Object value,
                               java.lang.Object old)

_applyIcon

public void _applyIcon(java.lang.Object value,
                       java.lang.Object old)

_applyIconHeight

public void _applyIconHeight(java.lang.Object value,
                             java.lang.Object old)

_applyIconPosition

public void _applyIconPosition(java.lang.Object value,
                               java.lang.Object old)

Applies the icon position


_applyIconWidth

public void _applyIconWidth(java.lang.Object value,
                            java.lang.Object old)

_applyLabel

public void _applyLabel(java.lang.Object value,
                        java.lang.Object old)

_applyShow

public void _applyShow(java.lang.Object value,
                       java.lang.Object old)

_createIcon

public void _createIcon()

Creates the icon object


_createLabel

public void _createLabel()

Creates the label object


_handleIcon

public void _handleIcon()

handle icon


_handleLabel

public void _handleLabel()

Handle label


_updateIcon

public void _updateIcon()

updates the icon


getDisabledIcon

public java.lang.String getDisabledIcon()

Returns the (computed) value of the property disabledIcon.

For further details take a look at the property definition: disabledIcon.


getIcon

public java.lang.String getIcon()

Returns the (computed) value of the property icon.

For further details take a look at the property definition: icon.


getIconHeight

public java.lang.Integer getIconHeight()

Returns the (computed) value of the property iconHeight.

For further details take a look at the property definition: iconHeight.


getIconObject

public java.lang.Object getIconObject()

Get the icon widget of the atom.


getIconPosition

public java.lang.Object getIconPosition()

Returns the (computed) value of the property iconPosition.

For further details take a look at the property definition: iconPosition.


getIconWidth

public java.lang.Integer getIconWidth()

Returns the (computed) value of the property iconWidth.

For further details take a look at the property definition: iconWidth.


getLabel

public java.lang.String getLabel()

Returns the (computed) value of the property label.

For further details take a look at the property definition: label.


getLabelObject

public Label getLabelObject()

Get the label widget of the atom.


getShow

public java.lang.Object getShow()

Returns the (computed) value of the property show.

For further details take a look at the property definition: show.


initDisabledIcon

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.


initIcon

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.


initIconHeight

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.


initIconPosition

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.


initIconWidth

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.


initLabel

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.


initShow

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.


resetDisabledIcon

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.


resetIcon

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.


resetIconHeight

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.


resetIconPosition

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.


resetIconWidth

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.


resetLabel

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.


resetShow

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.


setDisabledIcon

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.


setIcon

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.


setIconHeight

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.


setIconPosition

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.


setIconWidth

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.


setLabel

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.


setShow

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.



Copyright © 2008 1&1. All Rights Reserved.