Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner Class Reference

Default implementation of WidgetDesigner for MenuItemToggle. More...

Inheritance diagram for Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner:
Dragengine.Gui.Designers.DefaultWidgetDesigner Dragengine.Gui.Designers.WidgetDesigner

Classes

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

Public Member Functions

WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
MenuItemToggleStateDesign getMenuItemToggleDesignDisabled ()
 Design for disabled state. More...
 
MenuItemToggleStateDesign getMenuItemToggleDesignFocused ()
 Design for focused state. More...
 
MenuItemToggleStateDesign getMenuItemToggleDesignFocusedHover ()
 Design for focused hover state. More...
 
MenuItemToggleStateDesign getMenuItemToggleDesignHover ()
 Design for hover state. More...
 
MenuItemToggleStateDesign getMenuItemToggleDesignNormal ()
 Design for normal state. More...
 
DefaultMenuItemToggleDesigner new ()
 Create new box designer. More...
 
DefaultMenuItemToggleDesigner new (DefaultMenuItemToggleDesigner designer)
 Create copy of widget designer. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
- Public Member Functions inherited from Dragengine.Gui.Designers.DefaultWidgetDesigner
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...
 
Widget getStateTrackWidget (Widget widget)
 Find state track widget. More...
 
DefaultWidgetDesigner new (DefaultWidgetDesigner designer)
 Create copy of widget designer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Dragengine.Gui.Designers.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 MenuItemToggle.

Version
1.11

Member Function Documentation

◆ copyDesigner()

WidgetDesigner Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.copyDesigner ( )

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ designWidget()

void Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.designWidget ( Widget  widget)

Design widget.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ getMenuItemToggleDesignDisabled()

MenuItemToggleStateDesign Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.getMenuItemToggleDesignDisabled ( )

Design for disabled state.

◆ getMenuItemToggleDesignFocused()

MenuItemToggleStateDesign Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.getMenuItemToggleDesignFocused ( )

Design for focused state.

◆ getMenuItemToggleDesignFocusedHover()

MenuItemToggleStateDesign Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.getMenuItemToggleDesignFocusedHover ( )

Design for focused hover state.

◆ getMenuItemToggleDesignHover()

MenuItemToggleStateDesign Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.getMenuItemToggleDesignHover ( )

Design for hover state.

◆ getMenuItemToggleDesignNormal()

MenuItemToggleStateDesign Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.getMenuItemToggleDesignNormal ( )

Design for normal state.

◆ new() [1/2]

DefaultMenuItemToggleDesigner Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.new ( )

Create new box designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

DefaultMenuItemToggleDesigner Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.new ( DefaultMenuItemToggleDesigner  designer)

Create copy of widget designer.

◆ setParameter()

void Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.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}.imageMark | Image | getDesign{state}.setImageMark |

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.


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