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

Default implementation of WidgetDesigner for Label. More...

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

Classes

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

Public Member Functions

WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
LabelStateDesign getLabelDesignDisabled ()
 Design for disabled state. More...
 
LabelStateDesign getLabelDesignFocused ()
 Design for focused state. More...
 
LabelStateDesign getLabelDesignFocusedHover ()
 Design for focused hover state. More...
 
LabelStateDesign getLabelDesignHover ()
 Design for hover state. More...
 
LabelStateDesign getLabelDesignNormal ()
 Design for normal state. More...
 
DefaultLabelDesigner new ()
 Create new label designer. More...
 
DefaultLabelDesigner new (DefaultLabelDesigner designer)
 Create copy of widget designer designer. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
- Public Member Functions inherited from Dragengine.Gui.Designers.DefaultWidgetDesigner
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...
 
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 Label.

Member Function Documentation

◆ copyDesigner()

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

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ getLabelDesignDisabled()

LabelStateDesign Dragengine.Gui.Designers.DefaultLabelDesigner.getLabelDesignDisabled ( )

Design for disabled state.

◆ getLabelDesignFocused()

LabelStateDesign Dragengine.Gui.Designers.DefaultLabelDesigner.getLabelDesignFocused ( )

Design for focused state.

◆ getLabelDesignFocusedHover()

LabelStateDesign Dragengine.Gui.Designers.DefaultLabelDesigner.getLabelDesignFocusedHover ( )

Design for focused hover state.

◆ getLabelDesignHover()

LabelStateDesign Dragengine.Gui.Designers.DefaultLabelDesigner.getLabelDesignHover ( )

Design for hover state.

◆ getLabelDesignNormal()

LabelStateDesign Dragengine.Gui.Designers.DefaultLabelDesigner.getLabelDesignNormal ( )

Design for normal state.

◆ new() [1/2]

DefaultLabelDesigner Dragengine.Gui.Designers.DefaultLabelDesigner.new ( )

Create new label designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

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

Create copy of widget designer designer.

◆ setParameter()

void Dragengine.Gui.Designers.DefaultLabelDesigner.setParameter ( String  name,
Object  value 
)

Set parameter.

See DefaultWidgetDesigner.setParameter for supported parameters.

Additional supported parameters: | name | value | Setter | | {state}.alignment | String | getDesign{state}.setAlignmentFromString |

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.


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