Drag[en]gine Script Module DragonScript
1.23
|
Switch panel action listener. More...
Public Member Functions | |
int | getIndex () |
Index of panel to switch to. More... | |
SwitchPanel | getSwitchPanel () |
Switch panel. More... | |
SwitchAction | new (SwitchPanel switchPanel, int index) |
Create listener. More... | |
void | onAction (ActionEvent event) |
Run action. More... | |
void | setIndex (int index) |
Set index of panel to switch to. More... | |
Switch panel action listener.
int Dragengine.Gui.SwitchPanel.SwitchAction.getIndex | ( | ) |
Index of panel to switch to.
SwitchPanel Dragengine.Gui.SwitchPanel.SwitchAction.getSwitchPanel | ( | ) |
Switch panel.
SwitchAction Dragengine.Gui.SwitchPanel.SwitchAction.new | ( | SwitchPanel | switchPanel, |
int | index | ||
) |
Create listener.
void Dragengine.Gui.SwitchPanel.SwitchAction.onAction | ( | ActionEvent | event | ) |
Run action.
Implements Dragengine.Gui.Events.ActionListener.
void Dragengine.Gui.SwitchPanel.SwitchAction.setIndex | ( | int | index | ) |
Set index of panel to switch to.