A stacked collection of interface panes that can be docked or float.
Inherits :
DAZ Script | |
---|---|
TabBarPosition | { TabsTop, TabsBottom, TabsLeft, TabsRight } |
DAZ Script | |
---|---|
void | fitScreen () |
void | fitScreenHeight () |
void | fitScreenWidth () |
DzPane | getCurrentPane () |
Point | getDragOffset () |
Number | getNumPanes () |
Number | getNumShownPanes () |
DzPane | getPane ( Number index ) |
void | hideAllPanes () |
void | hidePane ( DzPane pane ) |
void | hideTabBar ( Boolean yesNo ) |
void | setPaneEnabled ( DzPane pane, Boolean enabled ) |
void | setUndockedTabBarPosition ( TabBarPosition pos ) |
void | showPane ( DzPane pane ) |
Boolean | tabBarHidden () |
TabBarPosition | undockedTabBarPosition () |
void | updateTabPosition () |
Deprecated | |
Boolean | isUndockable () |
void | emptyGroup () |
A Pane Group serves as a collection of container widgets (DzPane) that are themselves used to organize discrete portions of the interface. A pane group is exposed at the top-level of the user interface and is used to stack DzPane instances within the same area.
A pane group can be docked (“anchored”) within a DzDockArea or undocked (“detached”) and made to float above the rest of the interface.
A pane group provides an easy-to-use selection mechanism (i.e., a tab bar) for choosing which DzPane instance in the stack to display to the user. When a pane group contains more DzPane instances than can be sufficiently represented within the tab bar, additional scrolling controls are presented to the user.
Used to define the position of the tab bar for this pane group.
Since:
void : fitScreen()
Resizes this pane group, if it is undocked, to fit the available height and width of the screen it (mostly) currently resides on.
Since:
void : fitScreenHeight()
Resizes this pane group, if it is undocked, to fit the available height of the screen it (mostly) currently resides on.
Since:
void : fitScreenWidth()
Resizes this pane group, if it is undocked, to fit the available width of the screen it (mostly) currently resides on.
Since:
DzPane : getCurrentPane()
Return Value:
Point : getDragOffset()
Return Value:
Number : getNumPanes()
Return Value:
Return Value:
DzPane : getPane( Number index )
Parameter(s):
Return Value:
void : hideAllPanes()
Hides all panes without changing their group ownership.
void : hidePane( DzPane pane )
Hides the given pane without changing its group ownership.
Parameter(s):
void : hideTabBar( Boolean yesNo )
Sets whether this pane group's tab bar is hidden.
Parameter(s):
true
, the tab bar for the group is hidden.Attention:
void : setPaneEnabled( DzPane pane, Boolean enabled )
Enables or disables the specified pane if it is a member of this group.
Parameter(s):
true
, the pane will be enabled. If false
, the pane will be disabled.void : setUndockedTabBarPosition( TabBarPosition pos )
Sets the position of the tab bar for this pane group, if this pane group is undocked.
Parameter(s):
Since:
void : showPane( DzPane pane )
Makes sure the given pane is showing (if it is a member of this group).
Parameter(s):
Boolean : tabBarHidden()
Return Value:
true
if this pane group's tab bar is hidden, otherwise false
.TabBarPosition : undockedTabBarPosition()
Return Value:
Since:
void : updateTabPosition()
Causes the position of the tab bar for this pane group to be updated.
Boolean : isUndockable()
Deprecated
Exists only to keep old code working. Do not use in new code.