ui
tkui
MScrollPane
MScrollPane.ui::ScrollPane
New(Object innerLayer) : ui::ScrollPane
- addXFMChild(Object c)
-
beginXFMTag(ui::AbstractXMLForm form, HashTable attributes) : int
-
calcScrollers()
-
consumeAction(ui::Action ac) : int
-
endXFMTag(ui::AbstractXMLForm form, HashTable attributes) : int
-
getAutoScrollerMode() : int
- Query whether horizontal/vertical auto-scrollers are enabled.
getEnableScrollers() : int
- Query the enabled scrollers
getEnableScrollersCurrent() : int
- Query the currently enabled scrollers
getHorizontalScroller() : ui::Scroller
- Query the left/right scroller control
getHorizontalScrollerPlacement() : int
- Query the placement of the left/right scroller (UIConstants.TOP|BOTTOM)
getInnerLayer() : ui::Layer
- Returns the layer currently being displayed in the ViewPane
getVerticalScroller() : ui::Scroller
- Query the up/down scroller control
getVerticalScrollerPlacement() : int
- Query the placement of the up/down scroller (UIConstants.LEFT|RIGHT)
getViewOffsetX() : float
- Query the horizontal view offset (distance to the left border of the inner layer)
getViewOffsetY() : float
- Query the vertical view offset (distance to the top of the inner layer)
getViewPane() : ui::ViewPane
- Returns a reference to the inner ViewPane object
getViewSizeX() : float
- Query the h-size available for the inner layer
getViewSizeY() : float
- Query the y-size available for the inner layer
init(Object innerLayer)
-
invalidateAbsolutePositions()
-
isMouseFocusLocked() : int
-
isTranslucent() : int
-
layoutHierarchy(int bInvalidateSizeCaches, bLayoutFinal)
-
makeWidgetVisible(Object l)
-
onMouse(ui::MouseEvent ev) : int
-
onMouseBeginDrag(ui::MouseEvent dragStart, ev) : int
-
onMouseDrag(ui::MouseEvent lastEv, ev) : int
-
onMouseEndDrag(ui::MouseEvent ev)
-
setAlpha(int alpha)
-
setAutoScrollerMode(int mode)
- Enable/disable horizontal auto-scrollers (Layout.HORIZONTAL|VERTICAL)
setEnableAdaptiveViewSize(int bEnabled)
-
setEnableScrollers(int directions)
- Enable/disable scrollers for the given directions.
setEnableWheel(int bEnable)
-
setHorizontalScrollerPlacement(int dir)
- Set the placement of the left/right scroller (UIConstants.TOP|BOTTOM)
setInnerLayer(Object l)
- Set the layer to be displayed in the ViewPane
setVerticalScrollerPlacement(int dir)
- Set the placement of the up/down scroller (UIConstants.LEFT|RIGHT)
setViewOffset(float top, left)
- Set the top left position of the inner Layer
setViewOffsetX(float left)
- Set the horizontal offset of the inner layer
setViewOffsetY(float top)
- Set the vertical offset of the inner layer
setViewSize2f(float width, height)
- Set the size available for the inner layer
setViewSizeX(float w)
- Set the horizontal size available for the inner layer
setViewSizeY(float h)
-
updateLayout()
- Must be called when inner layer has changed.float
HSCROLL_REL_STEPSIZE
-
float
VSCROLL_REL_STEPSIZE
-
Function New | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
Method beginXFMTag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method calcScrollers | |||
Signature | |||
|
Method consumeAction | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Method endXFMTag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method getAutoScrollerMode | |||||
Query whether horizontal/vertical auto-scrollers are enabled. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getEnableScrollers | |||||
Query the enabled scrollers | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getEnableScrollersCurrent | |||||
Query the currently enabled scrollers | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getHorizontalScroller | |||||
Query the left/right scroller control | |||||
Signature | |||||
| |||||
Returns | |||||
Method getHorizontalScrollerPlacement | |||||
Query the placement of the left/right scroller (UIConstants.TOP|BOTTOM) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getInnerLayer | |||||
Returns the layer currently being displayed in the ViewPane | |||||
Signature | |||||
| |||||
Returns | |||||
Method getVerticalScroller | |||||
Query the up/down scroller control | |||||
Signature | |||||
| |||||
Returns | |||||
Method getVerticalScrollerPlacement | |||||
Query the placement of the up/down scroller (UIConstants.LEFT|RIGHT) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getViewOffsetX | |||||
Query the horizontal view offset (distance to the left border of the inner layer) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getViewOffsetY | |||||
Query the vertical view offset (distance to the top of the inner layer) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getViewPane | |||||
Returns a reference to the inner ViewPane object | |||||
Signature | |||||
| |||||
Returns | |||||
Method getViewSizeX | |||||
Query the h-size available for the inner layer | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getViewSizeY | |||||
Query the y-size available for the inner layer | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method invalidateAbsolutePositions | |||
Signature | |||
|
Method isMouseFocusLocked | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isTranslucent | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method layoutHierarchy | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method onMouse | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseBeginDrag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method onMouseDrag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method onMouseEndDrag | |||||
Signature | |||||
| |||||
Arguments | |||||
Method setAlpha | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setAutoScrollerMode | |||||
Enable/disable horizontal auto-scrollers (Layout.HORIZONTAL|VERTICAL) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setEnableAdaptiveViewSize | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setEnableScrollers | |||||
Enable/disable scrollers for the given directions. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Enabling scrollers will override the auto-scroller mode. |
Method setEnableWheel | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setHorizontalScrollerPlacement | |||||
Set the placement of the left/right scroller (UIConstants.TOP|BOTTOM) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setInnerLayer | |||||
Set the layer to be displayed in the ViewPane | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setVerticalScrollerPlacement | |||||
Set the placement of the up/down scroller (UIConstants.LEFT|RIGHT) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setViewOffset | |||||||||||||||
Set the top left position of the inner Layer | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method setViewOffsetX | |||||
Set the horizontal offset of the inner layer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setViewOffsetY | |||||
Set the vertical offset of the inner layer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setViewSize2f | |||||||||||||||
Set the size available for the inner layer | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method setViewSizeX | |||||
Set the horizontal size available for the inner layer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setViewSizeY | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLayout | |||
Must be called when inner layer has changed. | |||
Signature | |||
|
Constant HSCROLL_REL_STEPSIZE (float) | |
Constant VSCROLL_REL_STEPSIZE (float) | |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06