Drag[en]gine Script Module DragonScript  1.23
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. More...
 
Image getImage ()
 Image of button. More...
 
Object getResult ()
 Result to set if button is pressed. More...
 
String getText ()
 Text of button. More...
 
ButtonConfiguration new (String text)
 Create button configuration with null result. More...
 
ButtonConfiguration new (String text, Image image, Object result)
 Create button configuration. More...
 
ButtonConfiguration new (String text, Object result)
 Create button configuration. More...
 
void setDesignerSelector (String selector)
 Set designer selector or null. More...
 
void setImage (Image image)
 Set image of button. More...
 
void setResult (Object result)
 Set result to set if button is pressed. More...
 
void setText (String text)
 Set text of button. More...
 

Public Attributes

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

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.

◆ new() [1/3]

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

Create button configuration with null result.

◆ 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.

◆ setImage()

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

Set image of button.

◆ setResult()

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

Set result to set if button is pressed.

◆ 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: