jsx3.gui.StackAPI


Object
Object TypeThe JSX foundation class that this object is an instance of.
IDThe unique, system-assigned ID for this object.
NameSets the name assigned by the developer to identify this object.
Stack
Text/HTMLSets the text/HTML content of this object.
Active BG ColorSets the background color to use when the cursor is moved over this object.
Idle BG ColorSets the background color to use when the cursor is not over this object.
Box
BackgroundSets the CSS background definition, such as background-image:url(abc.gif);background-repeat:repeat-x;.
PaddingSets the white-space gap between the outer edge/border of this object to its inner content.
Font
Font NameSets the name of the font family.
Font SizeSets the point size of the font.
Font WeightSets the weight of the font, such as bold or normal.
ColorSets the color of the font.
CSS
CSS OverrideConvenience method for extending this object.
Accessibility
Tab IndexSets the tab index.
TooltipSets the text displayed when hovered over this object (text only).
Metadata
Load TypeSets the load type of this DOM branch.
AnnotationThe annotation comment visible in the Component Hierarchy palette.
Help IDA unique ID for use with context-sensitive help.

Object Type

Read-Only. The JSX foundation class that this object is an instance of.

ID

Read-Only. The unique, system-assigned ID for this object.
Getter: getId()

Name

Sets the name assigned by the developer to identify this object.
Getter: getName()
Setter: setName()
Property: jsxname

Text/HTML

Sets the text/HTML content of this object.
Default Value: Empty
Getter: getText()
Setter: setText()
Property: jsxtext

Active BG Color

Sets the background color to use when the cursor is moved over this object. Accepts CSS values, such as predefined color names, RGB, or hexadecimal values. For example, red, rgb(255,0,0), or #ff0000.
Default Value: The default color specified in the static field, DEFAULTACTIVECOLOR or ACTIVECOLOR, of the component class. For example, jsx3.gui.Tab.DEFAULTACTIVECOLOR. See the API documentation for the component.
Getter: getActiveColor()
Setter: setActiveColor()
Property: jsxactivecolor

Idle BG Color

Sets the background color to use when the cursor is not over this object. Accepts CSS values, such as predefined color names, RGB, or hexadecimal values. For example, For example, red, rgb(255,0,0), or #ff0000.
Default Value: The default inactive color specified in the static field, DEFAULTINACTIVECOLOR or INACTIVECOLOR, of the component class. For example, jsx3.gui.Tab.DEFAULTINACTIVECOLOR. See the API documentation for the component.
Getter: getInactiveColor()
Setter: setInactiveColor()
Property: jsxinactivecolor

Background

Sets the CSS background definition, such as background-image:url(abc.gif);background-repeat:repeat-x;.
Default Value: Empty
Getter: getBackground()
Setter: setBackground()
Property: jsxbg

Padding

Sets the white-space gap between the outer edge/border of this object to its inner content. Specified as one or four pixel values (top, right, bottom, and left). For example, 5 or 8 4 8 4.
Default Value: Empty
Getter: getPadding()
Setter: setPadding()
Property: jsxpadding

Font Name

Sets the name of the font family.
Default Value: jsx3.gui.Block.DEFAULTFONTNAME
Getter: getFontName()
Setter: setFontName()
Property: jsxfontname

Font Size

Sets the point size of the font.
Default Value: jsx3.gui.Block.DEFAULTFONTSIZE
Getter: getFontSize()
Setter: setFontSize()
Property: jsxfontsize

Font Weight

Sets the weight of the font, such as bold or normal.
Default Value: Normal (jsx3.gui.Block.FONTNORMAL)
Getter: getFontWeight()
Setter: setFontWeight()
Property: jsxfontweight
Allowed Values:

Color

Sets the color of the font. Accepts CSS values, such as predefined color names, RGB, or hexadecimal values. For example, red, rgb(255,0,0), or #ff0000.
Default Value: jsx3.gui.Block.DEFAULTCOLOR
Getter: getColor()
Setter: setColor()
Property: jsxcolor

CSS Override

Convenience method for extending this object. CSS properties affecting layout, including border-width, padding, margin, width, and height are strongly discouraged, as they may interfere with the framework's internal box models. Since some controls are composited from multiple HTML elements, some styles may not cascade to nested elements.

Instance Properties are the preferred method for applying styles.
Getter: getCSSOverride()
Setter: setCSSOverride()
Property: jsxstyleoverride

Tab Index

Sets the tab index. When tabbing between controls, the index group this component belongs to.
Default Value: Empty
Getter: getIndex()
Setter: setIndex()
Property: jsxindex

Tooltip

Sets the text displayed when hovered over this object (text only).
Default Value: Empty
Getter: getTip()
Setter: setTip()
Property: jsxtip

Load Type

Sets the load type of this DOM branch.
Default Value: Normal (jsx3.app.Model.LT_NORMAL)
Getter: getLoadType()
Setter: setLoadType()
Property: jsxloadtype
Allowed Values:

Annotation

The annotation comment visible in the Component Hierarchy palette.
Property: jsxannotation

Help ID

A unique ID for use with context-sensitive help.
Getter: getHelpId()
Setter: setHelpId()
Property: jsxhelpid