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¶
stringText of button
- property
selected¶
bool
- property
verPosition¶
intDirection
- property
horPosition¶
intDirection
- property
verAlignment¶
intDirection
- property
horAlignment¶
php\swing\int|stringDirection
- 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Результат: