public class TabBuilder extends ControlBuilder
ElementBuilder.Align, ElementBuilder.ChildLayoutType, ElementBuilder.VAlign
elementBuilders
Modifier | Constructor and Description |
---|---|
|
TabBuilder(String caption)
Create the tab with a specified title and a randomly chosen element id.
|
|
TabBuilder(String id,
String caption)
Create a tab with a specified title and the specified element id.
|
protected |
TabBuilder(String id,
String typeName,
String caption)
The protected constructor for overwriting.
|
Modifier and Type | Method and Description |
---|---|
void |
caption(String caption)
Set the caption that is displayed on the button that will show this button.
|
parameter
align, alignCenter, alignLeft, alignRight, backgroundColor, backgroundColor, backgroundImage, build, buildElementType, childClip, childLayout, childLayoutAbsolute, childLayoutAbsoluteInside, childLayoutCenter, childLayoutHorizontal, childLayoutOverlay, childLayoutVertical, color, color, control, controller, controller, filename, focusable, focusableInsertBeforeElementId, font, get, getElementBuilders, height, id, image, imageMode, initialize, inputMapping, inset, interactOnClick, interactOnClickAlternateKey, interactOnClickMouseMove, interactOnClickRepeat, interactOnMouseOver, interactOnRelease, invisibleToMouse, margin, marginBottom, marginLeft, marginRight, marginTop, name, onActiveEffect, onClickEffect, onCustomEffect, onEndHoverEffect, onEndScreenEffect, onFocusEffect, onGetFocusEffect, onHideEffect, onHoverEffect, onLostFocusEffect, onShowEffect, onStartHoverEffect, onStartScreenEffect, padding, paddingBottom, paddingLeft, paddingRight, paddingTop, panel, percentage, pixels, renderOrder, selectionColor, selectionColor, set, style, text, text, textHAlign, textHAlignCenter, textHAlignLeft, textHAlignRight, textVAlign, textVAlignBottom, textVAlignCenter, textVAlignTop, valign, valignBottom, valignCenter, valignTop, visible, visibleToMouse, visibleToMouse, width, x, y
public TabBuilder(String caption)
caption
- the caption that is displayed for this tabpublic TabBuilder(String id, String caption)
id
- the element id of the new tabcaption
- the caption of the new tabprotected TabBuilder(String id, String typeName, String caption)
id
- the element Id of the new tabtypeName
- the control type name that is supposed to be used when creating the tabcaption
- the caption that is supposed to be displayed for this tabpublic void caption(String caption)
caption
- the caption on the button that will be assigned to this tabCopyright © 2013. All Rights Reserved.