|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
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.CanvasLayout
qx.ui.basic.ScrollBar
public class ScrollBar
A scroll bar.
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
ScrollBar()
|
|
ScrollBar(boolean horizontal)
|
Method Summary | |
---|---|
void |
_afterAppear()
|
void |
_applyEnabled(boolean isEnabled,
boolean old)
Applies changes of the property value of the property enabled . |
void |
_applyMaximum(java.lang.Integer value,
java.lang.Integer old)
Applies changes of the property value of the property maximum . |
void |
_applyValue(int value,
int old)
Applies changes of the property value of the property value . |
void |
_applyVisibility(boolean value,
boolean old)
Applies changes of the property value of the property visibility . |
int |
_checkValue(int value)
Limit the value to the allowed range of the scroll bar. |
java.lang.Integer |
_computePreferredInnerHeight()
overridden |
java.lang.Integer |
_computePreferredInnerWidth()
overridden |
java.lang.Integer |
_getScrollBarWidth()
Gets the width of vertical scroll bar. |
void |
_onscroll(java.lang.Object evt)
Event handler. |
void |
_positionKnob(java.lang.Integer value)
Positions the scroll bar knob at a certain value. |
java.lang.Integer |
getMaximum()
Returns the (computed) value of the property maximum . |
boolean |
getMergeEvents()
Returns the (computed) value of the property mergeEvents . |
int |
getValue()
Returns the (computed) value of the property value . |
void |
initMaximum(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property maximum
with the default value defined by the class developer. |
void |
initMergeEvents(boolean arg)
Calls the apply method and dispatches the change event of the property mergeEvents
with the default value defined by the class developer. |
void |
initValue(int arg)
Calls the apply method and dispatches the change event of the property value
with the default value defined by the class developer. |
boolean |
isMergeEvents()
Check whether the (computed) value of the boolean property mergeEvents equals true . |
void |
resetMaximum()
Resets the user value of the property maximum . |
void |
resetMergeEvents()
Resets the user value of the property mergeEvents . |
void |
resetValue()
Resets the user value of the property value . |
void |
setMaximum(java.lang.Integer arg)
Sets the user value of the property maximum . |
void |
setMergeEvents(boolean arg)
Sets the user value of the property mergeEvents . |
void |
setValue(int arg)
Sets the user value of the property value . |
boolean |
toggleMergeEvents()
Toggles the (computed) value of the boolean property mergeEvents . |
Methods inherited from class qx.ui.layout.CanvasLayout |
---|
_createLayoutImpl |
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 ScrollBar()
public ScrollBar(boolean horizontal)
Method Detail |
---|
public void _afterAppear()
_afterAppear
in class Parent
public void _applyEnabled(boolean isEnabled, boolean old)
Applies changes of the property value of the property enabled
.
For further details take a look at the property definition: _applyEnabled(boolean, boolean)
.
public void _applyMaximum(java.lang.Integer value, java.lang.Integer old)
Applies changes of the property value of the property maximum
.
For further details take a look at the property definition: _applyMaximum(java.lang.Integer, java.lang.Integer)
.
public void _applyValue(int value, int old)
Applies changes of the property value of the property value
.
For further details take a look at the property definition: _applyValue(int, int)
.
public void _applyVisibility(boolean value, boolean old)
Applies changes of the property value of the property visibility
.
For further details take a look at the property definition: _applyVisibility(boolean, boolean)
.
public int _checkValue(int value)
Limit the value to the allowed range of the scroll bar.
public java.lang.Integer _computePreferredInnerHeight()
overridden
_computePreferredInnerHeight
in class Parent
public java.lang.Integer _computePreferredInnerWidth()
overridden
_computePreferredInnerWidth
in class Parent
public java.lang.Integer _getScrollBarWidth()
Gets the width of vertical scroll bar.
public void _onscroll(java.lang.Object evt)
Event handler. Called when the user scrolled.
public void _positionKnob(java.lang.Integer value)
Positions the scroll bar knob at a certain value.
public java.lang.Integer getMaximum()
Returns the (computed) value of the property maximum
.
For further details take a look at the property definition: maximum
.
public boolean getMergeEvents()
Returns the (computed) value of the property mergeEvents
.
For further details take a look at the property definition: mergeEvents
.
public int getValue()
Returns the (computed) value of the property value
.
For further details take a look at the property definition: value
.
public void initMaximum(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property maximum
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: maximum
.
public void initMergeEvents(boolean arg)
Calls the apply method and dispatches the change event of the property mergeEvents
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: mergeEvents
.
public void initValue(int arg)
Calls the apply method and dispatches the change event of the property value
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: value
.
public boolean isMergeEvents()
Check whether the (computed) value of the boolean property mergeEvents
equals true
.
For further details take a look at the property definition: mergeEvents
.
public void resetMaximum()
Resets the user value of the property maximum
.
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: maximum
.
public void resetMergeEvents()
Resets the user value of the property mergeEvents
.
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: mergeEvents
.
public void resetValue()
Resets the user value of the property value
.
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: value
.
public void setMaximum(java.lang.Integer arg)
Sets the user value of the property maximum
.
For further details take a look at the property definition: maximum
.
public void setMergeEvents(boolean arg)
Sets the user value of the property mergeEvents
.
For further details take a look at the property definition: mergeEvents
.
public void setValue(int arg)
Sets the user value of the property value
.
For further details take a look at the property definition: value
.
public boolean toggleMergeEvents()
Toggles the (computed) value of the boolean property mergeEvents
.
For further details take a look at the property definition: mergeEvents
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |