UITabs¶
-
php\swing\UITabs
extends: php\swing\UIContainer
Class UITabs
Events: change
Properties
Methods
addTab
($title, $component, $icon = null)¶
Параметры:
- $title –
string
- $component – php\swing\UIElement
- $icon – php\swing\Image
getTitleAt
($index)¶
Параметры:
- $index –
int
Результат:
string
setTitleAt
($index, $value)¶
Параметры:
- $index –
int
- $value –
string
getToolTipTextAt
($index)¶
Параметры:
- $index –
int
Результат:
string
setToolTipTextAt
($index, $value)¶
Параметры:
- $index –
int
- $value –
string
getTabIconAt
($index)¶
Параметры:
- $index –
int
Результат:
setTabIconAt
($index, $image)¶
Параметры:
- $index –
int
- $image – php\swing\Image
getTabComponentAt
($index)¶
Параметры:
- $index –
int
Результат:
setTabComponentAt
($index, $component)¶
Параметры:
- $index –
int
- $component – php\swing\UIElement
removeTabAt
($index)¶
Параметры:
- $index –
int
removeAll
()¶
indexAtPosition
($x, $y)¶
Параметры:
- $x –
int
- $y –
int
Результат:
int
isEnabledAt
($index)¶
Параметры:
- $index –
int
Результат:
bool
setEnabledAt
($index, $enabled)¶
Параметры:
- $index –
int
- $enabled –
bool