UIAbstractIButton

php\swing\UIAbstractIButton

extends: php\swing\UIContainer

Children


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

property buttonGroup

string

Methods


setIcon($icon)
Parameters:
setDisabledIcon($icon)
Parameters:
setSelectedIcon($icon)
Parameters:
setPressedIcon($icon)
Parameters:
setRolloverIcon($icon)
Parameters:
setDisabledSelectedIcon($icon)
Parameters:
setRolloverSelectedIcon($icon)
Parameters:
doClick($pressTime = 68)
Parameters:
  • $pressTimeint - the time to “hold down” the button, in milliseconds
static getButtons($buttonGroup)
Parameters:
  • $buttonGroupstring
Returns:

php\swing\UIAbstractIButton[]

static getSelectedButtons($buttonGroup)
Parameters:
  • $buttonGroupstring
Returns:

php\swing\UIAbstractIButton[]