|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
B
- Type of button manager that implements this interface.public interface ButtonManager<B extends ButtonManager<B>>
Manager or container of buttons, or button itself. A button manager can have registered listeners to listen to button events.
Method Summary | |
---|---|
void |
addButtonListener(ButtonListener<B> buttonListener)
Adds the specified button listener to the list of button listeners. |
void |
fireButtonActionned(B buttonManager,
ButtonEvent.ButtonAction buttonAction)
Invoked when a button action occurs. |
ButtonListener<B>[] |
getButtonListeners()
Returns an array of all button listeners. |
void |
removeButtonListener(ButtonListener<B> buttonListener)
Removes the specified button listener from the list of button listeners. |
Method Detail |
---|
void addButtonListener(ButtonListener<B> buttonListener)
buttonListener
- Button listener to add to the list of button listeners.void removeButtonListener(ButtonListener<B> buttonListener)
buttonListener
- Button listener to remove from the list of button listeners.ButtonListener<B>[] getButtonListeners()
void fireButtonActionned(B buttonManager, ButtonEvent.ButtonAction buttonAction)
buttonManager
- Button manager that triggered the button event.buttonAction
- Button action that is performed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |