UIAbstractIButton¶
-
php\swing\UIAbstractIButton
extends: php\swing\UIContainer
Children
- class php\swing\UIButton
- class php\swing\UICheckbox
- class php\swing\UIMenuItem
- class php\swing\UIToggleButton
Class UIAbstractIButton
Properties
- property
text
¶
string
Text of button
- property
selected
¶
bool
- property
verPosition
¶
int
Direction
- property
horPosition
¶
int
Direction
- property
verAlignment
¶
int
Direction
- property
horAlignment
¶
php\swing\int|string
Direction
- property
iconTextGap
¶
int
- property
borderPainted
¶
bool
- property
focusPainted
¶
bool
- property
rolloverEnabled
¶
bool
- property
contentAreaFilled
¶
bool
string
Methods
setIcon
($icon)¶
Параметры:
- $icon – php\swing\Image,
string
- - filename or Image
setDisabledIcon
($icon)¶
Параметры:
- $icon – php\swing\Image,
string
setSelectedIcon
($icon)¶
Параметры:
- $icon – php\swing\Image,
string
setPressedIcon
($icon)¶
Параметры:
- $icon – php\swing\Image,
string
setRolloverIcon
($icon)¶
Параметры:
- $icon – php\swing\Image,
string
setDisabledSelectedIcon
($icon)¶
Параметры:
- $icon – php\swing\Image,
string
setRolloverSelectedIcon
($icon)¶
Параметры:
- $icon – php\swing\Image,
string
doClick
($pressTime = 68)¶
Параметры:
- $pressTime –
int
- the time to “hold down” the button, in milliseconds
- static
getButtons
($buttonGroup)¶
Параметры:
- $buttonGroup –
string
Результат:
- static
getSelectedButtons
($buttonGroup)¶
Параметры:
- $buttonGroup –
string
Результат: