public interface TabSet extends WrappedResource, Sizeable
Modifier and Type | Method and Description |
---|---|
void |
addTab(character caption,
integer tabId,
character tooltip)
Creates new tab.
|
void |
clearTabs()
Removes all tabs.
|
integer |
getColor()
Returns the RGB color value for tabset.
|
int64 |
getCurrentTab()
Returns the id of the current tab.
|
int64 |
getTabIndex()
Returns the 0-based index of the current tab.
|
character |
getTabs()
Returns the current values of the all tab set items in a single character string.
|
logical |
isMultiLine()
Return MULTINE property value.
|
void |
setColor(int64 color)
Sets new custom color value for current tabset.
|
void |
setCurrentTab(int64 tabId)
Makes current the tab with the provided id.
|
void |
setFontDetails(character face,
int64 size)
Sets widget font details.
|
void |
setMultiLine(boolean ml)
Set MULTINE property value.
|
void |
setMultiLine(logical ml)
Set MULTINE property value.
|
void |
setTabIndex(int index)
Set current tab index 0-based.
|
void |
setTabIndex(int64 index)
Set current tab index 0-based.
|
void |
setTabs(character tabs)
Sets new values for tab set items.
|
void |
show()
Show tabs.
|
id, id, unknown, valid
getHeight, getHeightChars, getHeightPixels, getWidth, getWidthChars, getWidthPixels, setHeight, setHeightChars, setHeightChars, setHeightPixels, setHeightPixels, setWidth, setWidthChars, setWidthChars, setWidthPixels, setWidthPixels
void setFontDetails(character face, int64 size)
face
- font facesize
- font sizeint64 getCurrentTab()
void setCurrentTab(int64 tabId)
tabId
- The id of the tab to be made current.int64 getTabIndex()
void setTabIndex(int64 index)
index
- Tab index.void setTabIndex(int index)
index
- Tab index.void addTab(character caption, integer tabId, character tooltip)
caption
- Tab caption.tabId
- Tab id.tooltip
- Tooltip associated with given tab itemvoid clearTabs()
integer getColor()
void setColor(int64 color)
color
- The RGB integer value of the new color.character getTabs()
void setTabs(character tabs)
tabs
- The new tab set text string.logical isMultiLine()
true
if tabs are rendered in multiple lines.void setMultiLine(boolean ml)
ml
- When is set to true
drawing tabs in multiple lines is allowed.void setMultiLine(logical ml)
ml
- When is set to true
drawing tabs in multiple lines is allowed.void show()