public interface TitlePanelControl extends LayoutControl, MarginStyleProperties
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentHeight()
Height of the content area.
|
PaddingStyleProperties |
getContentPadding()
Padding properties for the content area - the space between the content area and its border.
|
TextStyleProperties |
getContentText()
Text properties for the content area.
|
Text |
getImageAltText()
Returns the
Text object for the title bar image alternatetext. |
java.lang.String |
getImageClass()
Returns the list of CSS classes applied to the title bar image.
|
Text |
getImageMouseOverText()
Returns the
Text object for the title bar image mouse over text. |
java.lang.String |
getImagePosition()
The position of the optional image relative to the text.
|
ImageStyleProperties |
getImageProperties()
Styling properties for the optional image in the title bar.
|
java.lang.String |
getImageStyle()
Returns the inline CSS style applied to the title bar image.
|
java.lang.String |
getImageURL()
Returns the URL of the title bar image.
|
java.lang.String |
getPanelClass()
Returns the list of CSS classes applied to the content area.
|
java.lang.String |
getPanelColor()
The background color for the content area.
|
java.lang.String |
getPanelCornerType()
The style of corner applied to the bottom left and bottom right corners.
|
java.lang.String |
getPanelStyle()
Returns the inline CSS style applied to the content area.
|
Text |
getText()
Returns the
Text object for the title bar text. |
java.lang.String |
getTextClass()
Returns the list of CSS classes applied to the title bar text.
|
java.lang.String |
getTextImageGap()
The gap between the title text and any optional image.
|
java.lang.String |
getTextStyle()
Returns the inline CSS style applied to the title bar text.
|
java.lang.String |
getTitlebarClass()
Returns the list of CSS classes applied to the entire title bar.
|
java.lang.String |
getTitlebarColor()
The background color for the title bar.
|
java.lang.String |
getTitlebarCornerType()
The style of corner applied to the top left and top right corners.
|
java.lang.String |
getTitlebarStyle()
Returns the inline CSS style applied to the entire title bar.
|
TitleBarProperties |
getTitleBarStyle()
Styling properties for the title bar.
|
java.lang.String |
getTitlePanelBorderColor()
Returns the color applied to the border surrounding the control, including the corners.
|
java.lang.String |
getWidth()
Titled Panel Control width.
|
void |
setContentHeight(java.lang.String contentHeight)
Sets the content area height.
|
void |
setImageClass(java.lang.String imageClass)
Sets one or more CSS classes to be applied to the title bar image.
|
void |
setImagePosition(java.lang.String imagePosition)
Sets the position of the optional image relative to the text.
|
void |
setImageStyle(java.lang.String imageStyle)
Sets the inline CSS style to be applied to the title bar image.
|
void |
setImageURL(java.lang.String imageURL)
Sets the URL of the title bar image.
|
void |
setPanelClass(java.lang.String panelClass)
Sets one or more CSS classes to be applied to the content area.
|
void |
setPanelColor(java.lang.String panelColor)
Sets the background color for the content area.
|
void |
setPanelCornerType(java.lang.String panelCornerType)
Sets the style of corner applied to the bottom left and bottom right corners.
|
void |
setPanelStyle(java.lang.String panelStyle)
Sets the inline CSS style to be applied to the content area.
|
void |
setTextClass(java.lang.String textClass)
Sets one or more CSS classes to be applied to the title bar text.
|
void |
setTextImageGap(java.lang.String textImageGap)
Sets the gap between the title text and any optional image.
|
void |
setTextStyle(java.lang.String textStyle)
Sets the inline CSS style to be applied to the title bar text.
|
void |
setTitlebarClass(java.lang.String titlebarClass)
Sets one or more CSS classes to be applied to the entire title bar.
|
void |
setTitlebarColor(java.lang.String titlebarColor)
Sets the background color for the title bar.
|
void |
setTitlebarCornerType(java.lang.String titlebarCornerType)
Sets the style of corner applied to the top left and top right corners.
|
void |
setTitlebarStyle(java.lang.String titlebarStyle)
Sets the inline CSS style to be applied to the entire title bar.
|
void |
setTitlePanelBorderColor(java.lang.String titlePanelBorderColor)
Sets the color applied to the border surrounding the control, including the corners.
|
void |
setWidth(java.lang.String width)
Sets the width of the Titled Panel Control.
|
getLayout, getLayoutType
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
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 Titled Panel Control being just as wide as it needs to be to accommodate its children. |
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).
Warning: when a specific value is set, any padding, border or margins will be in addition to the specified value and can cause the Titled Panel Control to "break out" of its parent space.
Examples:
controls.TITLEPANEL1.width = "300px"; controls.TITLEPANEL1.width = "50%"; controls.TITLEPANEL1.setWidth("Child");
java.lang.String getTitlePanelBorderColor()
setTitlePanelBorderColor(String)
for details of supported values when setting this property.void setTitlePanelBorderColor(java.lang.String titlePanelBorderColor)
null
removes any existing value. Note that any inherited value
from a parent control may still apply.
Examples:
controls.TITLEPANEL1.titlePanelBorderColor = "#808080"; controls.TITLEPANEL1.titlePanelBorderColor("green");
java.lang.String getTitlebarCornerType()
setTitlebarCornerType(String)
for details of supported values when setting this property.getPanelCornerType()
void setTitlebarCornerType(java.lang.String titlebarCornerType)
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.TITLEPANEL1.titlebarCornerType = "Rounded"; controls.TITLEPANEL1.titlebarCornerType("Square");
setPanelCornerType(String)
java.lang.String getTitlebarColor()
setTitlebarColor(String)
for details of supported values when setting this property.void setTitlebarColor(java.lang.String titlebarColor)
Examples:
controls.TITLEPANEL1.titlebarColor = "#808080";
java.lang.String getTextImageGap()
setTextImageGap(String)
for details of supported values when setting this property.
void setTextImageGap(java.lang.String textImageGap)
Examples:
controls.TITLEPANEL1.textImageGap = "30px";
java.lang.String getImagePosition()
setImagePosition(String)
for details of supported values when setting this property.
void setImagePosition(java.lang.String imagePosition)
Supported values:
Value | Description |
---|---|
Left | Image is positioned to the left of the text |
Right | Image is positioned to the right of the text |
None | No image will be displayed |
Examples:
controls.TITLEPANEL1.imagePosition = "Left";
TitleBarProperties getTitleBarStyle()
ImageStyleProperties getImageProperties()
java.lang.String getPanelCornerType()
setPanelCornerType(String)
for details of supported values when setting this property.getTitlebarCornerType()
void setPanelCornerType(java.lang.String panelCornerType)
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.TITLEPANEL1.panelCornerType = "Rounded"; controls.TITLEPANEL1.panelCornerType("Square");
setTitlebarCornerType(String)
java.lang.String getPanelColor()
setPanelColor(String)
for details of supported values when setting this property.void setPanelColor(java.lang.String panelColor)
Examples:
controls.TITLEPANEL1.panelColor = "#808080";
java.lang.String getContentHeight()
setContentHeight(String)
for details of supported values when setting this property.void setContentHeight(java.lang.String contentHeight)
Any valid value for the CSS height property can be specified e.g. 300px
PaddingStyleProperties getContentPadding()
TextStyleProperties getContentText()
java.lang.String getTextClass()
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setTextClass(String)
void setTextClass(java.lang.String textClass)
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getTextStyle()
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setTextStyle(String)
void setTextStyle(java.lang.String textStyle)
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getImageURL()
void setImageURL(java.lang.String imageURL)
http://www.google.com
.
Text getImageMouseOverText()
Text
object for the title bar image mouse over text.Text getImageAltText()
Text
object for the title bar image alternatetext.java.lang.String getImageClass()
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setImageClass(String)
void setImageClass(java.lang.String imageClass)
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getImageStyle()
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setImageStyle(String)
void setImageStyle(java.lang.String imageStyle)
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 getTitlebarClass()
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setTitlebarClass(String)
void setTitlebarClass(java.lang.String titlebarClass)
These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.
java.lang.String getTitlebarStyle()
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.
setTitlebarStyle(String)
void setTitlebarStyle(java.lang.String titlebarStyle)
This inline style is configured in the designer using the Advanced Properties button within the control's Styling Assistant.