Drag[en]gine Script Module DragonScript Script API  1.0
DefaultOptionBoxDesigner Class Reference

Default implementation of WidgetDesigner for OptionBox. More...

Inheritance diagram for DefaultOptionBoxDesigner:
DefaultButtonDesigner DefaultWidgetDesigner WidgetDesigner

Classes

class  OptionBoxStateDesign
 Design for a particular widget state. More...
 

Public Member Functions

WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
OptionBoxStateDesign getOptionBoxDesignDisabled ()
 Design for disabled state. More...
 
OptionBoxStateDesign getOptionBoxDesignFocused ()
 Design for focused state. More...
 
OptionBoxStateDesign getOptionBoxDesignFocusedHover ()
 Design for focused hover state. More...
 
OptionBoxStateDesign getOptionBoxDesignHover ()
 Design for hover state. More...
 
OptionBoxStateDesign getOptionBoxDesignNormal ()
 Design for normal state. More...
 
OptionBoxStateDesign getOptionBoxDesignPressed ()
 Design for pressed state. More...
 
DefaultOptionBoxDesigner new ()
 Create new option box designer. More...
 
DefaultOptionBoxDesigner new (DefaultOptionBoxDesigner designer)
 Create copy of widget designer. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
- Public Member Functions inherited from DefaultButtonDesigner
WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
StateDesign getDesignPressed ()
 Design for pressed state. More...
 
DefaultButtonDesigner new ()
 Create new button designer. More...
 
DefaultButtonDesigner new (DefaultButtonDesigner designer)
 Create copy of widget designer. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
- Public Member Functions inherited from DefaultWidgetDesigner
WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
StateDesign getDesignDisabled ()
 Design for disabled state. More...
 
StateDesign getDesignFocused ()
 Design for focused state. More...
 
StateDesign getDesignFocusedHover ()
 Design for focused hover state. More...
 
StateDesign getDesignHover ()
 Design for hover state. More...
 
StateDesign getDesignNormal ()
 Design for normal state. More...
 
DefaultWidgetDesigner new ()
 Create new widget designer. More...
 
DefaultWidgetDesigner new (DefaultWidgetDesigner designer)
 Create copy of widget designer. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DefaultButtonDesigner
StateDesign getNamedStateDesign (String stateName)
 Get state for parameter name selector component or null if not found. More...
 
void setDesignPressed (StateDesign design)
 Set design for pressed state. More...
 
StateDesign widgetStateFindDesign (Widget widget)
 Get design to apply to widget. More...
 
- Protected Member Functions inherited from DefaultWidgetDesigner
StateDesign getNamedStateDesign (String stateName)
 Get state for parameter name selector component or null if not found. More...
 
void setDesignDisabled (StateDesign design)
 Set design for disabled state. More...
 
void setDesignFocused (StateDesign design)
 Set design for focused state. More...
 
void setDesignFocusedHover (StateDesign design)
 Set design for focused hover state. More...
 
void setDesignHover (StateDesign design)
 Set design for hover state. More...
 
void setDesignNormal (StateDesign design)
 Set design for normal state. More...
 
StateDesign widgetStateFindDesign (Widget widget)
 Get design to apply to widget. More...
 

Detailed Description

Default implementation of WidgetDesigner for OptionBox.

Member Function Documentation

◆ copyDesigner()

WidgetDesigner copyDesigner ( )

Create copy of designer.

Implements WidgetDesigner.

◆ designWidget()

void designWidget ( Widget  widget)

Design widget.

Implements WidgetDesigner.

◆ getOptionBoxDesignDisabled()

OptionBoxStateDesign getOptionBoxDesignDisabled ( )

Design for disabled state.

◆ getOptionBoxDesignFocused()

OptionBoxStateDesign getOptionBoxDesignFocused ( )

Design for focused state.

◆ getOptionBoxDesignFocusedHover()

OptionBoxStateDesign getOptionBoxDesignFocusedHover ( )

Design for focused hover state.

◆ getOptionBoxDesignHover()

OptionBoxStateDesign getOptionBoxDesignHover ( )

Design for hover state.

◆ getOptionBoxDesignNormal()

OptionBoxStateDesign getOptionBoxDesignNormal ( )

Design for normal state.

◆ getOptionBoxDesignPressed()

OptionBoxStateDesign getOptionBoxDesignPressed ( )

Design for pressed state.

◆ new() [1/2]

Create new option box designer.

◆ new() [2/2]

Create copy of widget designer.

◆ setParameter()

void setParameter ( String  name,
Object  value 
)

Set parameter.

See DefaultButtonDesigner.setParameter for supported parameters.

Additional supported parameters: | name | value | Setter | | {state}.imageBox | Image | getDesign{state}.setImageBox | | {state}.imageSelect | Image | getDesign{state}.setImageSelect |

Implements WidgetDesigner.


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