Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Gui.SwitchPanel.SwitchAction Class Reference

Switch panel action listener. More...

Inheritance diagram for Dragengine.Gui.SwitchPanel.SwitchAction:
Dragengine.Gui.Events.ActionListener

Public Member Functions

int getIndex ()
 Index of panel to switch to.
SwitchPanel getSwitchPanel ()
 Switch panel.
SwitchAction new (SwitchPanel switchPanel, int index)
 Create listener.
void onAction (ActionEvent event)
 Run action.
void setIndex (int index)
 Set index of panel to switch to.

Detailed Description

Switch panel action listener.

Member Function Documentation

◆ getIndex()

int Dragengine.Gui.SwitchPanel.SwitchAction.getIndex ( )

Index of panel to switch to.

References getSwitchPanel().

Referenced by setIndex().

◆ getSwitchPanel()

SwitchPanel Dragengine.Gui.SwitchPanel.SwitchAction.getSwitchPanel ( )

Switch panel.

Referenced by getIndex().

◆ new()

SwitchAction Dragengine.Gui.SwitchPanel.SwitchAction.new ( SwitchPanel switchPanel,
int index )

Create listener.

References new().

Referenced by new().

◆ onAction()

void Dragengine.Gui.SwitchPanel.SwitchAction.onAction ( ActionEvent event)

Run action.

Implements Dragengine.Gui.Events.ActionListener.

◆ setIndex()

void Dragengine.Gui.SwitchPanel.SwitchAction.setIndex ( int index)

Set index of panel to switch to.

References getIndex().


The documentation for this class was generated from the following file: