Interface TabSetControl
- All Superinterfaces:
AriaControlProperties
,ContainerControl
,Control
,Element
,EventOwner
,MarginStyleProperties
,MessageContainer
,MessageProperties
,java.io.Serializable
,TextStyleProperties
,WebFormEventOwner
public interface TabSetControl extends ContainerControl, MessageProperties, MarginStyleProperties, TextStyleProperties, AriaControlProperties
tabs
.
-
Method Summary
Modifier and Type Method 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.Methods inherited from interface com.ebasetech.xi.api.controls.AriaControlProperties
addAriaCustomAttribute, getAriaCustomAttributes, getAriaDescribedBy, getAriaLabelledBy, getAriaLabelText, getAriaRole, removeAriaCustomAttribute, setAriaCustomAttributes, setAriaRole
Methods inherited from interface com.ebasetech.xi.api.controls.ContainerControl
getChildControls
Methods inherited from interface com.ebasetech.xi.api.controls.Control
addCssClass, getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getInfoMsgClass, getInfoMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getRootHtmlElementProperties, 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
Methods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementType
Methods inherited from interface com.ebasetech.xi.api.controls.MarginStyleProperties
getAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMargin
Methods inherited from interface com.ebasetech.xi.api.MessageContainer
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
Methods inherited from interface com.ebasetech.xi.api.controls.MessageProperties
getErrorMessageStyle, getInfoMessageStyle, getWarningMessageStyle
Methods inherited from interface com.ebasetech.xi.api.controls.TextStyleProperties
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
-
Method Details
-
getSelected
java.lang.String getSelected()The item name of the currently selected tab or null if no tab is selected.- Since:
- V4.4
- See Also:
setSelected(String)
-
setSelected
void setSelected(java.lang.String tab)Sets the currently selected tab which results in this tab being displayed.Example:
controls.TABSET1.selectedTab = "Tab2";
- Since:
- V4.4
- See Also:
getSelected()
-
getWidth
java.lang.String getWidth()Width of the Tab Set Control. SeesetWidth(String)
for details of supported values when setting this property.- Since:
- V4.4
-
setWidth
void setWidth(java.lang.String width)Sets the width of the Tab Set Control.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);
- Since:
- V4.4
-
getHeight
java.lang.String getHeight()Height of the Tab Set Control. This is equivalent to the CSS height property, and any valid value for this CSS property can be used when setting a value.- Since:
- V4.4
- See Also:
setHeight(String)
-
setHeight
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. Setting this property tonull
removes any existing value.Examples:
controls.TABSET1.height = "50px"; controls.TABSET1.setHeight("100px");
- Since:
- V4.4
-
getTabWidth
java.lang.String getTabWidth()The width of individual tab headers. If not specified, the width is determined by the tab header content.- Since:
- V4.4
- See Also:
setTabWidth(String)
-
setTabWidth
void setTabWidth(java.lang.String tabWidth)Sets the width of individual tab headers. If not specified, the width is determined by the tab header content. Any valid value for this CSS width property can be used.- Since:
- V4.4
-
getSpaceBetweenTabs
java.lang.String getSpaceBetweenTabs()The space between adjacent tab headers.- Since:
- V4.4
- See Also:
setSpaceBetweenTabs(String)
-
setSpaceBetweenTabs
void setSpaceBetweenTabs(java.lang.String spaceBetweenTabs)Sets the space between adjacent tab headers. Any valid value for this CSS font-size property can be used.- Since:
- V4.4
-
getTabBorderColor
java.lang.String getTabBorderColor()The border color applied to both the tabs and the content panel.- Since:
- V4.4
-
setTabBorderColor
void setTabBorderColor(java.lang.String tabBorderColor)Sets the border color applied to both the tabs and the content panel. Any valid value for this CSS color property can be used.- Since:
- V4.4
-
getTabCornerType
java.lang.String getTabCornerType()The style of corner applied to the top left and top right corners of all tab headers. SeesetTabCornerType(String)
for details of supported values when setting this property.- Since:
- V4.4
-
setTabCornerType
void setTabCornerType(java.lang.String tabCornerType)Sets the style of corner applied to the top left and top right corners of all tab headers.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");
- Since:
- V4.4
-
getTabAllColor
java.lang.String getTabAllColor()The default background color applied to both tab header and its content panel. Note that the background color is only applied to the content panel in the selected state.This value can be overridden by setting background colors to be applied when the tab has an explicit state.
- Since:
- V4.4
- See Also:
getTabColor()
,getTabSelectedColor()
,getTabHoverColor()
-
setTabAllColor
void setTabAllColor(java.lang.String tabAllColor)Sets the default background color applied to both tab header and its content panel. Note that the background color is only applied to the content panel in the selected state.This value can be overridden by setting background colors to be applied when the tab has an explicit state.
- Since:
- V4.4
- See Also:
setTabColor(String)
,setTabSelectedColor(String)
,setTabHoverColor(String)
-
getTabColor
java.lang.String getTabColor()The background color applied to the tab header when the tab is not selected. This overrides any value set for thetabAllColor
property.- Since:
- V4.4
-
setTabColor
void setTabColor(java.lang.String tabColor)Sets the background color applied to the tab header when a tab is not selected. This overrides any value set for thetabAllColor
property. Any valid value for this CSS color property can be used.- Since:
- V4.4
-
getTabSelectedColor
java.lang.String getTabSelectedColor()The background color applied to both tab header and its content panel when a tab is selected. This overrides any value set for thetabAllColor
property.- Since:
- V4.4
-
setTabSelectedColor
void setTabSelectedColor(java.lang.String tabSelectedColor)Sets the background color applied to both tab header and its content panel when a tab is selected. This overrides any value set for thetabAllColor
property. Any valid value for this CSS color property can be used.- Since:
- V4.4
-
getTabHoverColor
java.lang.String getTabHoverColor()The background color applied to a tab header when the mouse is hovered over a tab. This overrides any value set for thetabAllColor
property.- Since:
- V4.4
-
setTabHoverColor
void setTabHoverColor(java.lang.String tabHoverColor)Sets the background color applied to both tab header when the mouse is hovered over a tab. This overrides any value set for thetabAllColor
property. Any valid value for this CSS color property can be used.- Since:
- V4.4
-
getAllState
TabAllStateProperties getAllState()Default styling properties for all tab headers. These properties can be overridden by setting properties to be applied when a tab has an explicit state. The properties can also be overridden for individual tabs usingTabControl.getAllState()
.- Since:
- V4.4
- See Also:
getUnselectedState()
,getSelectedState()
,getHoverState()
-
getUnselectedState
TextStyleProperties getUnselectedState()Styling properties applied to tab headers when a tab is not selected. These properties override any properties set using theallState
property. The properties can also be overridden for individual tabs usingTabControl.getUnselectedState()
.- Since:
- V4.4
-
getSelectedState
TextStyleProperties getSelectedState()Styling properties applied to tab headers when a tab is selected. These properties override any properties set using theallState
property. The properties can also be overridden for individual tabs usingTabControl.getSelectedState()
.- Since:
- V4.4
-
getHoverState
TextStyleProperties getHoverState()Styling properties applied to tab headers when the mouse is hovered over a tab. These properties override any properties set using theallState
property. The properties can also be overridden for individual tabs usingTabControl.getHoverState()
.- Since:
- V4.4
-
getContentPanel
TabSetContentPanelProperties getContentPanel()Styling properties applied to tab content panels.- Since:
- V4.4
-
getLeftTabImage
java.lang.String getLeftTabImage()URL of the image used for the top left corner of all tab headers when not selected. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
setLeftTabImage
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. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
getRightTabImage
java.lang.String getRightTabImage()URL of the image used for the top right corner of all tab headers when not selected. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
setRightTabImage
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. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
getLeftSelectedTabImage
java.lang.String getLeftSelectedTabImage()URL of the image used for the top left corner of all tab headers when selected. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
setLeftSelectedTabImage
void setLeftSelectedTabImage(java.lang.String leftSelectedTabImage)Sets the URL of the image used for the top left corner of all tab headers when selected. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
getRightSelectedTabImage
java.lang.String getRightSelectedTabImage()URL of the image used for the top right corner of all tab headers when selected. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
setRightSelectedTabImage
void setRightSelectedTabImage(java.lang.String rightSelectedTabImage)Sets the URL of the image used for the top right corner of all tab headers when selected. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
getLeftHoverTabImage
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. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
setLeftHoverTabImage
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. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
getRightHoverTabImage
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. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
setRightHoverTabImage
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. When specified, this overrides the system generated corner image.- Since:
- V4.4
-
isSkipValidation
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).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).
- Since:
- V4.4
-
setSkipValidation
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).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).
- Since:
- V4.4
-
getSelectedTextStyle
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.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
- See Also:
setSelectedTextStyle(String)
-
setSelectedTextStyle
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. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
-
getUnselectedTextStyle
java.lang.String getUnselectedTextStyle()Returns the inline CSS style applied to unselected tab headers.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
- See Also:
setUnselectedTextStyle(String)
-
setUnselectedTextStyle
void setUnselectedTextStyle(java.lang.String unselectedTextStyle)Sets the inline CSS style to be applied to unselected tab headers. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
-
getHoverTextStyle
java.lang.String getHoverTextStyle()Returns the inline CSS style applied to tab headers when the mouse is hovered over a tab..This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
- See Also:
setHoverTextStyle(String)
-
setHoverTextStyle
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. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
-
getPanelClass
java.lang.String getPanelClass()Returns the list of CSS classes applied to the tab content panels.These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
- See Also:
setPanelClass(String)
-
setPanelClass
void setPanelClass(java.lang.String panelClass)Sets one or more CSS classes to be applied to the tab content panels. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
-
getPanelStyle
java.lang.String getPanelStyle()Returns the inline CSS style applied to the tab content panels.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
- See Also:
setPanelStyle(String)
-
setPanelStyle
void setPanelStyle(java.lang.String panelStyle)Sets the inline CSS style to be applied to the tab content panels. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
-
getTabHeaderClass
java.lang.String getTabHeaderClass()Returns the list of CSS classes applied to all tab headers.These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
- See Also:
setTabHeaderClass(String)
-
setTabHeaderClass
void setTabHeaderClass(java.lang.String tabHeaderClass)Sets one or more CSS classes to be applied to all tab headers. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
-
getTabHeaderStyle
java.lang.String getTabHeaderStyle()Returns the inline CSS style applied to all tab headers.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
- See Also:
setTabHeaderStyle(String)
-
setTabHeaderStyle
void setTabHeaderStyle(java.lang.String tabHeaderStyle)Sets the inline CSS style to be applied to all tab headers. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
- Since:
- V4.4
-