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

Button configuration. More...

Inheritance diagram for Dragengine.Gui.WindowDialog.ButtonConfiguration:

Public Member Functions

String getDesignerSelector ()
 Designer selector or null.
Image getImage ()
 Image of button.
Object getResult ()
 Result to set if button is pressed.
String getText ()
 Text of button.
ButtonConfiguration new (String text)
 Create button configuration with null result.
ButtonConfiguration new (String text, Image image, Object result)
 Create button configuration.
ButtonConfiguration new (String text, Object result)
 Create button configuration.
void setDesignerSelector (String selector)
 Set designer selector or null.
void setImage (Image image)
 Set image of button.
void setResult (Object result)
 Set result to set if button is pressed.
void setText (String text)
 Set text of button.

Public Attributes

String pDesignerSelector
 Designer selector or null.
Image pImage
 Image of button.
Object pResult
 Result to set if button is pressed.
String pText
 Text of button.

Detailed Description

Button configuration.

Member Function Documentation

◆ getDesignerSelector()

String Dragengine.Gui.WindowDialog.ButtonConfiguration.getDesignerSelector ( )

Designer selector or null.

◆ getImage()

Image Dragengine.Gui.WindowDialog.ButtonConfiguration.getImage ( )

Image of button.

◆ getResult()

Object Dragengine.Gui.WindowDialog.ButtonConfiguration.getResult ( )

Result to set if button is pressed.

◆ getText()

String Dragengine.Gui.WindowDialog.ButtonConfiguration.getText ( )

Text of button.

References new().

◆ new() [1/3]

ButtonConfiguration Dragengine.Gui.WindowDialog.ButtonConfiguration.new ( String text)

Create button configuration with null result.

References new().

Referenced by getText(), new(), and setDesignerSelector().

◆ new() [2/3]

ButtonConfiguration Dragengine.Gui.WindowDialog.ButtonConfiguration.new ( String text,
Image image,
Object result )

Create button configuration.

◆ new() [3/3]

ButtonConfiguration Dragengine.Gui.WindowDialog.ButtonConfiguration.new ( String text,
Object result )

Create button configuration.

◆ setDesignerSelector()

void Dragengine.Gui.WindowDialog.ButtonConfiguration.setDesignerSelector ( String selector)

Set designer selector or null.

References new().

◆ setImage()

void Dragengine.Gui.WindowDialog.ButtonConfiguration.setImage ( Image image)

Set image of button.

References Dragengine.Gui.Window.requestClose(), and setResult().

◆ setResult()

void Dragengine.Gui.WindowDialog.ButtonConfiguration.setResult ( Object result)

Set result to set if button is pressed.

Referenced by setImage().

◆ setText()

void Dragengine.Gui.WindowDialog.ButtonConfiguration.setText ( String text)

Set text of button.

Member Data Documentation

◆ pDesignerSelector

String Dragengine.Gui.WindowDialog.ButtonConfiguration.pDesignerSelector

Designer selector or null.

◆ pImage

Image Dragengine.Gui.WindowDialog.ButtonConfiguration.pImage

Image of button.

◆ pResult

Object Dragengine.Gui.WindowDialog.ButtonConfiguration.pResult

Result to set if button is pressed.

◆ pText

String Dragengine.Gui.WindowDialog.ButtonConfiguration.pText

Text of button.


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