Drag[en]gine Script Module DragonScript Script API  1.0
WindowDialog.ButtonConfiguration Class Reference

Button configuration. More...

Inheritance diagram for 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, Object result)
 Create button configuration. More...
 
ButtonConfiguration new (String text, Image image, 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...
 

Detailed Description

Button configuration.

Member Function Documentation

◆ getDesignerSelector()

String getDesignerSelector ( )

Designer selector or null.

◆ getImage()

Image getImage ( )

Image of button.

◆ getResult()

Object getResult ( )

Result to set if button is pressed.

◆ getText()

String getText ( )

Text of button.

◆ new() [1/2]

ButtonConfiguration new ( String  text,
Object  result 
)

Create button configuration.

◆ new() [2/2]

ButtonConfiguration new ( String  text,
Image  image,
Object  result 
)

Create button configuration.

◆ setDesignerSelector()

void setDesignerSelector ( String  selector)

Set designer selector or null.

◆ setImage()

void setImage ( Image  image)

Set image of button.

◆ setResult()

void setResult ( Object  result)

Set result to set if button is pressed.

◆ setText()

void setText ( String  text)

Set text of button.


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