OverviewSingleDeprecated

jsx3.gui

class StackGroup

Object
->jsx3.lang.Object
  ->jsx3.app.Model
    ->jsx3.gui.Painted
      ->jsx3.gui.Block
        ->jsx3.gui.LayoutGrid
          ->jsx3.gui.StackGroup

All Implemented Interfaces:

jsx3.gui.Interactive, jsx3.util.EventDispatcher

class StackGroup
extends jsx3.gui.LayoutGrid
similar to how a tabbed pane manages a collection of tabs, the stack group is a parent container that manages JSXStack instances

Field Summary
static int
DEFAULTBARSIZE
27 (default)
static Array<String>
Deprecated.
static int
Deprecated.
static int
ORIENTATIONH
1 : side-by-side (|) layout
static int
ORIENTATIONV
0 : top-over (--) layout (default)
Constructor Summary
void
init(strName : String)
The instance initializer.
Method Summary
int
Returns the size of the handle common to all child stack instances (in pixels).
int
int
Returns zero-based index for the tab that is active per its placement in the child JScript array
static String
Deprecated.
String
Returns the DHTML, used for this object's on-screen VIEW
jsx3.gui.StackGroup
setBarSize(intBarSize : int)
Sets the size of the handle for the child stack instances; returns reference to self to facilitate method chaining
jsx3.gui.StackGroup
setOrientation(intOrientation : int)
Methods Inherited From jsx3.gui.LayoutGrid
getBestGuess, getCols, getDimensionArray, getRepeat, getRows, setBestGuess, setCols, setDimensionArray, setRepeat, setRows
Methods Inherited From jsx3.gui.Block
getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask
Methods Inherited From jsx3.gui.Interactive
doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy
Methods Inherited From jsx3.gui.Painted
focus, getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty
Methods Inherited From jsx3.app.Model
adoptChild, doClone, findAncestor, findDescendants, getAncestorOfName, getAncestorOfType, getChild, getChildIndex, getChildren, getDescendantOfName, getDescendantsOfType, getFirstChild, getFirstChildOfType, getHelpId, getId, getLastChild, getLoadType, getMetaValue, getNS, getName, getNextSibling, getParent, getPersistence, getPreviousSibling, getServer, getUriResolver, insertBefore, load, loadAndCache, loadXML, onAfterAssemble, onAfterAttach, onBeforeAssemble, onChangeServer, onDestroy, onRemoveChild, onSetChild, onSetParent, removeChild, removeChildren, setChild, setHelpId, setLoadType, setMetaValue, setName, setPersistence, toString, toXML, toXMLDoc
Methods Inherited From jsx3.util.EventDispatcher
publish, subscribe, unsubscribe, unsubscribeAll
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Field Detail

DEFAULTBARSIZE

static int DEFAULTBARSIZE
27 (default)

DEFAULTDIMENSIONS

static Array<String> DEFAULTDIMENSIONS
Deprecated.
["27","*"] (default)

DEFAULTSTACKCOUNT

static int DEFAULTSTACKCOUNT
Deprecated.
2 (default)

ORIENTATIONH

static final int ORIENTATIONH
1 : side-by-side (|) layout

ORIENTATIONV

static final int ORIENTATIONV
0 : top-over (--) layout (default)
Constructor Detail

init

void init(strName : String)
The instance initializer.

Parameters:

strNameunique name distinguishing this object from all other JSX GUI objects in the JSX application
Method Detail

getBarSize

int getBarSize()
Returns the size of the handle common to all child stack instances (in pixels). Default: jsx3.gui.StackGroup.DEFAULTBARSIZE

Returns:

size in pixels  

getOrientation

int getOrientation()

Returns:

 

Overrides:

getOrientation in jsx3.gui.LayoutGrid

getSelectedIndex

int getSelectedIndex()
Returns zero-based index for the tab that is active per its placement in the child JScript array

Returns:

 

getVersion

static String getVersion()
Deprecated.
Returns the release/build for the class (i.e., "2.2.00")

Returns:

 

paint

String paint()
Returns the DHTML, used for this object's on-screen VIEW

Returns:

DHTML  

Overrides:

paint in jsx3.gui.LayoutGrid

setBarSize

jsx3.gui.StackGroup setBarSize(intBarSize : int)
Sets the size of the handle for the child stack instances; returns reference to self to facilitate method chaining

Parameters:

intBarSizesize (in pixels)

Returns:

this object  

setOrientation

jsx3.gui.StackGroup setOrientation(intOrientation : int)

Parameters:

intOrientation

Returns:

this object.  

Overrides:

setOrientation in jsx3.gui.LayoutGrid