public interface TabSetControl extends ContainerControl, MessageProperties, MarginStyleProperties, TextStyleProperties
tabs
.
Modifier and Type | Method and Description |
---|---|
TabAllStateProperties |
getAllState()
Default styling properties for all tab headers.
|
TabSetContentPanelProperties |
getContentPanel()
Styling properties applied to tab content panels.
|
java.lang.String |
getHeight()
Height of the Tab Set Control.
|
TextStyleProperties |
getHoverState()
Styling properties applied to tab headers when the mouse is hovered over a tab.
|
java.lang.String |
getHoverTextStyle()
Returns the inline CSS style applied to tab headers when the mouse is hovered over a tab..
|
java.lang.String |
getLeftHoverTabImage()
URL of the image used for the top left corner of all tab headers when the mouse is hovered over a tab.
|
java.lang.String |
getLeftSelectedTabImage()
URL of the image used for the top left corner of all tab headers when selected.
|
java.lang.String |
getLeftTabImage()
URL of the image used for the top left corner of all tab headers when not selected.
|
java.lang.String |
getPanelClass()
Returns the list of CSS classes applied to the tab content panels.
|
java.lang.String |
getPanelStyle()
Returns the inline CSS style applied to the tab content panels.
|
java.lang.String |
getRightHoverTabImage()
URL of the image used for the top right corner of all tab headers when the mouse is hovered over a tab.
|
java.lang.String |
getRightSelectedTabImage()
URL of the image used for the top right corner of all tab headers when selected.
|
java.lang.String |
getRightTabImage()
URL of the image used for the top right corner of all tab headers when not selected.
|
java.lang.String |
getSelected()
The item name of the currently selected tab or null if no tab is selected.
|
TextStyleProperties |
getSelectedState()
Styling properties applied to tab headers when a tab is selected.
|
java.lang.String |
getSelectedTextStyle()
Returns the inline CSS style applied to both a tab header and its content panel when a tab has been selected.
|
java.lang.String |
getSpaceBetweenTabs()
The space between adjacent tab headers.
|
java.lang.String |
getTabAllColor()
The default background color applied to both tab header and its content panel.
|
java.lang.String |
getTabBorderColor()
The border color applied to both the tabs and the content panel.
|
java.lang.String |
getTabColor()
The background color applied to the tab header when the tab is not selected.
|
java.lang.String |
getTabCornerType()
The style of corner applied to the top left and top right corners of all tab headers.
|
java.lang.String |
getTabHeaderClass()
Returns the list of CSS classes applied to all tab headers.
|
java.lang.String |
getTabHeaderStyle()
Returns the inline CSS style applied to all tab headers.
|
java.lang.String |
getTabHoverColor()
The background color applied to a tab header when the mouse is hovered over a tab.
|
java.lang.String |
getTabSelectedColor()
The background color applied to both tab header and its content panel when a tab is selected.
|
java.lang.String |
getTabWidth()
The width of individual tab headers.
|
TextStyleProperties |
getUnselectedState()
Styling properties applied to tab headers when a tab is not selected.
|
java.lang.String |
getUnselectedTextStyle()
Returns the inline CSS style applied to unselected tab headers.
|
java.lang.String |
getWidth()
Width of the Tab Set Control.
|
boolean |
isSkipValidation()
Returns the skip validation flag that indicates
whether or not validation of controls higher on the page is skipped prior to executing the on tab click event (if configured).
|
void |
setHeight(java.lang.String height)
Sets the height of the Tab Set Control, and is equivalent to the CSS height property and any valid value for this CSS property can be used.
|
void |
setHoverTextStyle(java.lang.String hoverTextStyle)
Sets the inline CSS style to be applied to tab headers when the mouse is hovered over a tab.
|
void |
setLeftHoverTabImage(java.lang.String leftHoverTabImage)
Sets the URL of the image used for the top left corner of all tab headers when the mouse is hovered over a tab.
|
void |
setLeftSelectedTabImage(java.lang.String leftSelectedTabImage)
Sets the URL of the image used for the top left corner of all tab headers when selected.
|
void |
setLeftTabImage(java.lang.String leftTabImage)
Sets the URL of the image used for the top left corner of all tab headers when not selected.
|
void |
setPanelClass(java.lang.String panelClass)
Sets one or more CSS classes to be applied to the tab content panels.
|
void |
setPanelStyle(java.lang.String panelStyle)
Sets the inline CSS style to be applied to the tab content panels.
|
void |
setRightHoverTabImage(java.lang.String rightHoverTabImage)
Sets the URL of the image used for the top right corner of all tab headers when the mouse is hovered over a tab.
|
void |
setRightSelectedTabImage(java.lang.String rightSelectedTabImage)
Sets the URL of the image used for the top right corner of all tab headers when selected.
|
void |
setRightTabImage(java.lang.String rightTabImage)
Sets the URL of the image used for the top right corner of all tab headers when not selected.
|
void |
setSelected(java.lang.String tab)
Sets the currently selected tab which results in this tab being displayed.
|
void |
setSelectedTextStyle(java.lang.String selectedTextStyle)
Sets the inline CSS style to be applied to both a tab header and its content panel when a tab has been selected.
|
void |
setSkipValidation(boolean skipValidation)
Specifies whether or not validation of controls higher on the page is skipped prior to executing the on tab click event (if configured).
|
void |
setSpaceBetweenTabs(java.lang.String spaceBetweenTabs)
Sets the space between adjacent tab headers.
|
void |
setTabAllColor(java.lang.String tabAllColor)
Sets the default background color applied to both tab header and its content panel.
|
void |
setTabBorderColor(java.lang.String tabBorderColor)
Sets the border color applied to both the tabs and the content panel.
|
void |
setTabColor(java.lang.String tabColor)
Sets the background color applied to the tab header when a tab is not selected.
|
void |
setTabCornerType(java.lang.String tabCornerType)
Sets the style of corner applied to the top left and top right corners of all tab headers.
|
void |
setTabHeaderClass(java.lang.String tabHeaderClass)
Sets one or more CSS classes to be applied to all tab headers.
|
void |
setTabHeaderStyle(java.lang.String tabHeaderStyle)
Sets the inline CSS style to be applied to all tab headers.
|
void |
setTabHoverColor(java.lang.String tabHoverColor)
Sets the background color applied to both tab header when the mouse is hovered over a tab.
|
void |
setTabSelectedColor(java.lang.String tabSelectedColor)
Sets the background color applied to both tab header and its content panel when a tab is selected.
|
void |
setTabWidth(java.lang.String tabWidth)
Sets the width of individual tab headers.
|
void |
setUnselectedTextStyle(java.lang.String unselectedTextStyle)
Sets the inline CSS style to be applied to unselected tab headers.
|
void |
setWidth(java.lang.String width)
Sets the width of the Tab Set Control.
|
getChildControls
addCssClass, getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getInfoMsgClass, getInfoMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getStyle, getWarningMsgClass, getWarningMsgStyle, hasModifier, hide, isContainer, isDisplayOnly, isDisplayOnlyIncludingParents, isEventField, isHidden, isInheritMsg, isLocalMsg, isNewLine, isShowing, refresh, removeCssClass, requestFocus, setCssClass, setDisplayOnly, setErrorMsgClass, setErrorMsgStyle, setHidden, setInfoMsgClass, setInfoMsgStyle, setNewLine, setStyle, setWarningMsgClass, setWarningMsgStyle, show
getElementName, getElementType
addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessageText, addErrorMessageText, addErrorMessageText, addInfoMessage, addInfoMessage, addInfoMessageText, addInfoMessageText, addInfoMessageText, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessageText, addWarningMessageText, addWarningMessageText, existErrorMessages, existInfoMessages, existMessages, existWarningMessages
getErrorMessageStyle, getInfoMessageStyle, getWarningMessageStyle
getAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMargin
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
java.lang.String getSelected()
setSelected(String)
void setSelected(java.lang.String tab)
Example:
controls.TABSET1.selectedTab = "Tab2";
getSelected()
java.lang.String getWidth()
setWidth(String)
for details of supported values when setting this property.void setWidth(java.lang.String width)
Supported values:
Value | Description |
---|---|
A specific value | As per the CSS width property e.g. 300px |
Child | The minimum value: this results in the Tab Set Control being just as wide as it needs to be to accommodate its children. |
null | The maximum value: the width is taken from the parent container control. This width will then include the Tab Set Control plus any configured padding, border or margins. |
The width setting will be ignored if the parent container layout specifies a horizontal cell alignment of fill (this applies to Horizontal Box, Vertical Box and Column layouts). This is equivalent to specifying maximum above.
Warning: when a specific value is set, any padding, border or margins will be in addition to the specified value and can cause the Tab Set Control to "break out" of its parent space. In particular, try and avoid specifying a width of 100%; use maximum (null) instead.
Examples:
controls.TABSET1.width = "300px"; controls.TABSET1.width = "50%"; controls.TABSET1.setWidth("Child"); controls.TABSET1.setWidth(null);
java.lang.String getHeight()
setHeight(String)
void setHeight(java.lang.String height)
null
removes any existing value.
Examples:
controls.TABSET1.height = "50px"; controls.TABSET1.setHeight("100px");
java.lang.String getTabWidth()
setTabWidth(String)
void setTabWidth(java.lang.String tabWidth)
java.lang.String getSpaceBetweenTabs()
setSpaceBetweenTabs(String)
void setSpaceBetweenTabs(java.lang.String spaceBetweenTabs)
java.lang.String getTabBorderColor()
void setTabBorderColor(java.lang.String tabBorderColor)
java.lang.String getTabCornerType()
setTabCornerType(String)
for details of supported values when setting this property.
void setTabCornerType(java.lang.String tabCornerType)
Supported values:
Value | Description |
---|---|
Rounded | Corners are drawn with a rounded image |
Square | Corners are square |
Slash | Corners are a straight diagonal line |
Examples:
controls.TABSET1.tabCornerType = "Rounded"; controls.TITLEPANEL1.tabCornerType("Square");
java.lang.String getTabAllColor()
This value can be overridden by setting background colors to be applied when the tab has an explicit state.
getTabColor()
,
getTabSelectedColor()
,
getTabHoverColor()
void setTabAllColor(java.lang.String tabAllColor)
This value can be overridden by setting background colors to be applied when the tab has an explicit state.
setTabColor(String)
,
setTabSelectedColor(String)
,
setTabHoverColor(String)
java.lang.String getTabColor()
tabAllColor
property.
void setTabColor(java.lang.String tabColor)
tabAllColor
property.
Any valid value for this CSS color property can be used.
java.lang.String getTabSelectedColor()
tabAllColor
property.
void setTabSelectedColor(java.lang.String tabSelectedColor)
tabAllColor
property.
Any valid value for this CSS color property can be used.
java.lang.String getTabHoverColor()
tabAllColor
property.
void setTabHoverColor(java.lang.String tabHoverColor)
tabAllColor
property.
Any valid value for this CSS color property can be used.
TabAllStateProperties getAllState()
TabControl.getAllState()
.
getUnselectedState()
,
getSelectedState()
,
getHoverState()
TextStyleProperties getUnselectedState()
allState
property.
The properties can also be overridden for individual tabs using TabControl.getUnselectedState()
.
TextStyleProperties getSelectedState()
allState
property.
The properties can also be overridden for individual tabs using TabControl.getSelectedState()
.
TextStyleProperties getHoverState()
allState
property.
The properties can also be overridden for individual tabs using TabControl.getHoverState()
.
TabSetContentPanelProperties getContentPanel()
java.lang.String getLeftTabImage()
void setLeftTabImage(java.lang.String leftTabImage)
java.lang.String getRightTabImage()
void setRightTabImage(java.lang.String rightTabImage)
java.lang.String getLeftSelectedTabImage()
void setLeftSelectedTabImage(java.lang.String leftSelectedTabImage)
java.lang.String getRightSelectedTabImage()
void setRightSelectedTabImage(java.lang.String rightSelectedTabImage)
java.lang.String getLeftHoverTabImage()
void setLeftHoverTabImage(java.lang.String leftHoverTabImage)
java.lang.String getRightHoverTabImage()
void setRightHoverTabImage(java.lang.String rightHoverTabImage)
boolean isSkipValidation()
Note that field type validation is always executed regardless of the setting of this flag (e.g. check that only numeric data is entered for numeric fields).
void setSkipValidation(boolean skipValidation)
Note that field type validation is always executed regardless of the setting of this flag (e.g. check that only numeric data is entered for numeric fields).
java.lang.String getSelectedTextStyle()
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setSelectedTextStyle(String)
void setSelectedTextStyle(java.lang.String selectedTextStyle)
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getUnselectedTextStyle()
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setUnselectedTextStyle(String)
void setUnselectedTextStyle(java.lang.String unselectedTextStyle)
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getHoverTextStyle()
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setHoverTextStyle(String)
void setHoverTextStyle(java.lang.String hoverTextStyle)
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getPanelClass()
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setPanelClass(String)
void setPanelClass(java.lang.String panelClass)
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getPanelStyle()
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setPanelStyle(String)
void setPanelStyle(java.lang.String panelStyle)
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getTabHeaderClass()
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setTabHeaderClass(String)
void setTabHeaderClass(java.lang.String tabHeaderClass)
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getTabHeaderStyle()
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setTabHeaderStyle(String)
void setTabHeaderStyle(java.lang.String tabHeaderStyle)
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.