Overview | System-Objects | Class-Tree | Class-List | Global Functions | Files |

Class-Description

QxSpinner

Inheritance

Parents: QxSpinner » QxHorizontalBoxLayout » QxBoxLayout » QxParent » QxWidget » QxTarget » QxObject » Object

Parameters

NameTypeMandatoryInfo
vMinAllfalse
vValueAllfalse
vMaxAllfalse

Type

This class is public.
It can be used by both user and programmer.

Properties

NameTitle
QxSpinner
Public
amountGrowthIf minTimer was reached, how much the amount of each interval should growth (in relation to the previous interval).
firstIntervalThe first interval on event based shrink/growth of the value.
incrementAmountThe amount to increment on each event (keypress or mousedown).
intervalThe current value of the interval (this should be used internally only).
minTimerThis configures the minimum value for the timer interval.
pageIncrementAmountThe amount to increment on each pageup / pagedown keypress
timerDecreaseDecrease of the timer on each interval (for the next interval) until minTimer reached.
wheelIncrementAmountThe amount to increment on each event (keypress or mousedown).
QxBoxLayout
Public
horizontalChildrenAlignThe horizontal align of the children. Allowed values are: "left", "center" and "right"
orientationThe orientation of the layout control. Allowed values are QxConst.ORIENTATION_HORIZONTAL (default) and QxConst.ORIENTATION_VERTICAL.
reverseChildrenOrderShould the children be layouted in reverse order?
spacingThe spacing between childrens. Could be any positive integer value.
stretchChildrenOrthogonalAxisShould the widgets be stretched to the available width (orientation==vertical) or height (orientation==horizontal)?
useAdvancedFlexAllocationIf there are min/max values in combination with flex try to optimize placement.
verticalChildrenAlignThe vertical align of the children. Allowed values are: "top", "middle" and "bottom"
QxParent
Public
activeChildThe current active child.
focusManagerIndividual focus manager for all child elements.
focusedChildThe current focused child.
QxWidget
Public
align
allowStretchXShould this widget be stretched on the x-axis if the layout handler will do this?
allowStretchYShould this widget be stretched on the y-axis if the layout handler will do this?
anonymousIf you switch this to true, the widget doesn't handle
appearanceAppearance of the widget
backgroundColorThe color style property of the rendered widget.
backgroundImageMapping to native style property background-image.
borderThe border property describes how to paint the border on the widget.
bottomThe distance from the outer bottom border to the parent bottom area edge.
captureCapture all events and map them to this widget
clip
clipDimension
clipHeight
clipLeftClipping of the widget
clipLocation
clipTop
clipWidth
colorThe backgroundColor style property of the rendered widget.
commandA command called if the widget should be excecuted (a placeholder for buttons, ...)
contextMenuContains the context menu object connected to the widget. (Need real implementation)
cursorMapping to native style property cursor.
dimension
displayIf the widget should be displayed. Use this property instead of visibility if the change
dropDataTypesContains the support drop types for drag and drop support
edge
elementThe element node (if the widget is created, otherwise null)
enableElementFocusUse DOM focussing (focus() and blur() methods of DOM nodes)
focusedHandle focus state of this widget.
heightThe height of the box (including padding and border).
heights
hideFocusIf the focus outline should be hidden.
horizontalAlignThis is used by many layout managers to control the individual horizontal alignment of this widget inside this parent.
leftThe distance from the outer left border to the parent left area edge.
location
margin
marginBottom
marginLeft
marginRight
marginTop
maxHeightThe maximum height of the box (including padding and border).
maxWidthThe maximum width of the box (including padding and border).
minHeightThe minimum height of the box (including padding and border).
minWidthThe minimum width of the box (including padding and border).
opacityMapping to native style property opacity.
overflowDescribes how to handle content that is too large to fit inside the widget.
padding
paddingBottom
paddingLeft
paddingRight
paddingTop
parentThe parent widget (the real object, no ID or something)
rightThe distance from the outer right border to the parent right area edge.
selectableToggle the possibility to select the element of this widget.
space
stretch
tabIndexSet this to a positive value makes the widget able to get the focus.
tagNameThe tagname of the element which should automatically be created
toolTipContains the tooltip object connected to the widget.
topThe distance from the outer top border to the parent top area edge.
verticalAlignThis is used by many layout managers to control the individual vertical alignment of this widget inside this parent.
visibilitySimple and fast switch of the visibility of a widget.
widthThe width of the box (including padding and border).
widths
zIndexMapping to native style property z-index.
QxObject
Public
enabled

Functions

NameTitle
QxSpinner
Public
dispose
getMax
getMin
getValue
resetValue
setMax
setMin
setValue
Private
_checkValue
_computePreferredInnerHeight
_computePreferredInnerWidth
_increment
_onblur
_onchange
_oninput
_oninterval
_onkeydown
_onkeypress
_onkeyup
_onmousedown
_onmouseup
_onmousewheel
_pageIncrement
_resetIncrements
QxBoxLayout
Public
getLayoutMode
isHorizontal
isVertical
Private
_computeAccumulatedChildrenOuterHeight
_computeAccumulatedChildrenOuterWidth
_createLayoutImplThis creates an new instance of the layout impl this widget uses
_invalidateLayoutMode
_modifyLayout
_modifyLayoutOrder
_modifyOrientation
_recomputeChildrenStretchingX
_recomputeChildrenStretchingY
_updateLayoutMode
QxParent
Public
activateFocusRoot
addAdd/Append another widget. Allows to add multiple at
addAfterAdd a widget after another already inserted child
addAt
addAtBegin
addAtEnd
addBeforeAdd a widget before another already inserted child
containsCheck if the given QxWidget is a children.
dispose
forEachChild
forEachVisibleChild
getChildrenReturn the array of all children
getChildrenLengthGet children count
getFirstActiveChild
getFirstChild
getFirstVisibleChild
getFocusRoot
getInnerHeightForChild
getInnerWidthForChild
getLastActiveChild
getLastChild
getLastVisibleChild
getLayoutImpl
getVisibleChildrenLengthGet length of visible children
getWidgetFromPointHelper
hasChildrenCheck if the widget has a children
hasVisibleChildrenCheck if the widget has any visible children
indexOfGet the position of a children.
isEmptyCheck if there are any childrens inside
isFocusRoot
isVisibleEmptyCheck if there are any visible childrens inside
recursiveAddToStateQueue
remapChildrenHandlingTo
removeRemove one or multiple childrens.
removeAllRemove all childrens.
removeAt
Private
_addChildToChildrenQueue
_addChildrenToLayoutQueue
_addChildrenToStateQueue
_afterAppear
_afterDisappear
_afterInsertDom
_afterRemoveDom
_beforeAppear
_beforeDisappear
_beforeInsertDom
_beforeRemoveDom
_changeInnerHeight
_changeInnerWidth
_cloneRecursive
_computePreferredInnerHeight
_computePreferredInnerWidth
_computeVisibleChildrenReturn the array of all visible children
_createLayoutImpl
_flushChildrenQueue
_handleDisplayableCustom
_layoutChildFix Operas Rendering Bugs
_modifyFocusManager
_modifyFocusedChild
_onfocuskeyevent
_recursiveAppearanceThemeUpdate
_removeChildFromChildrenQueue
QxWidget
Public
addState
addToJobQueue
addToLayoutChanges
addToQueue
addToQueueRuntime
addToStateQueue
autoA bounded setup to the preferred width/height of the widget. Keeps in
blur
cloneReturns a cloned copy of the current instance of QxWidget.
connect
disableInlineEvent
disconnect
dispose
enableInlineEvent
execute
focus
getActiveChild
getBottomValue
getCachedBorderBottom
getCachedBorderLeft
getCachedBorderRight
getCachedBorderTop
getClientHeight
getClientWidth
getCssClassName
getFocusRoot
getHeightValue
getHtmlAttribute
getHtmlProperty
getLeftValue
getMaxHeightValue
getMaxWidthValue
getMinHeightValue
getMinWidthValue
getNeededHeight
getNeededWidth
getNextActiveSibling
getNextSiblingReturns the next sibling.
getNextVisibleSiblingReturns the next sibling.
getOffsetHeight
getOffsetLeft
getOffsetTop
getOffsetWidth
getOverflowX
getOverflowY
getPreviousActiveSibling
getPreviousSiblingReturns the previous sibling.
getPreviousVisibleSiblingReturns the previous sibling.
getRightValue
getScrollHeight
getScrollLeft
getScrollTop
getScrollWidth
getStyleProperty
getTopLevelWidgetThe the widget which is at the top level,
getTopValue
getWidgetFromPoint
getWidgetFromPointHelper
getWidthValue
hasState
hide
isAppearRelevant
isCreatedCheck if the widget is created (or the element is already available).
isDisplayableCheck if there are any visible childrens inside
isFirstChild
isFirstVisibleChild
isFocusRoot
isFocusable
isLastChild
isLastVisibleChild
isMaterializedIf the widget is visible and rendered on the screen.
isSeeableIf the widget is currently seeable
moveSelfAfterMove myself after another child of the same parent.
moveSelfBeforeMove myself before another child of the same parent.
moveSelfToBeginMove myself to the begin and this way make me the first child.
moveSelfToEndMove myself to the end and this way make me the last child.
packA single setup to the current preferrd pixel values of the widget
recursiveAddToStateQueue
removeHtmlAttribute
removeHtmlProperty
removeState
removeStyleProperty
scrollIntoView
scrollIntoViewX
scrollIntoViewY
setCssClassName
setHtmlAttribute
setHtmlProperty
setScrollLeft
setScrollTop
setStyleProperty
show
supportsDrop
Private
_addInlineEvents
_afterAppear
_afterDisappear
_afterInsertDom
_afterRemoveDom
_applyBackgroundColor
_applyBorderX
_applyBorderY
_applyColor
_applyElementDataPlaceholder method to add attributes and other content to element node
_applyHtmlAttributes
_applyHtmlProperties
_applyInitialAppearance
_applyOverflow
_applyStateAppearance
_applyStateStyleFocus
_applyStyleProperties
_beforeAppear
_beforeDisappear
_beforeInsertDom
_beforeRemoveDom
_checkParent
_cloneRecursive
_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
_createElementForEnhancedBorder
_createElementImplCreate widget with empty element (of specified tagname).
_evalUnitsPixelPercent
_evalUnitsPixelPercentAuto
_evalUnitsPixelPercentAutoFlex
_flushJobQueue
_getTargetNode
_handleDisplayable
_invalidateFrameDimensions
_invalidatePreferredInnerDimensions
_modifyAppearance
_modifyBackgroundColor
_modifyBackgroundImage
_modifyBorder
_modifyCapture
_modifyClip
_modifyColor
_modifyCursor
_modifyDisplay
_modifyElement
_modifyEnabled
_modifyFocused
_modifyHideFocus
_modifyOpacity
_modifyOverflow
_modifyPaddingX
_modifyPaddingY
_modifyParent
_modifySelectable
_modifyTabIndex
_modifyVisibility
_modifyZIndex
_oninlineevent
_oninlineinput
_oninlineproperty
_recomputeFlexX
_recomputeFlexY
_recomputePercentX
_recomputePercentY
_recomputeRangeX
_recomputeRangeY
_recomputeStretchingX
_recomputeStretchingY
_recursiveAppearanceThemeUpdate
_removeInlineEvents
_resetAppearanceThemeWrapper
_resetBackgroundColor
_resetColor
_unitDetectionPixelPercent
_unitDetectionPixelPercentAuto
_unitDetectionPixelPercentAutoFlex
_updateBorder
_updateColors
_visualPropertyCheck
_visualizeBlur
_visualizeFocus
QxTarget
Public
addEventListenerAdd event listener to object
createDispatchDataEventChecks if the event is registered. If so it creates a data event object and dispatch it.
createDispatchEventChecks if the event is registered. If so it creates a event object and dispatch it.
dispatchEventPublic dispatch implementation
dispose
getParentInternal placeholder for bubbling phase of an event.
hasEventListenersCheck if there are one or more listeners for an event type
removeEventListenerRemove event listener from object
Private
_dispatchEventInternal dispatch implementation
QxObject
Public
debugPrint out a debug message to the qooxdoo debug console.
disposeDispose this object
errorPrint out an error to the qooxdoo debug console.
get
getDisposedReturns true if the object is disposed.
getUserData
infoPrint out an info message info to the qooxdoo debug console.
isDisposedReturns true if the object is disposed.
setSets multiple properties at once by using a property list
setUserData
toHashCodeReturn unique hash code of object
toStringReturns a string represantation of the qooxdoo object.
warnPrint out an warning to the qooxdoo debug console.