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