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

Default implementation of WidgetDesigner for ProgressBar. More...

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

Classes

class  ProgressBarStateDesign
 Design for particular widget state. More...
 

Public Member Functions

WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
CanvasCreator getCreatorBar ()
 Canvas creator for progress bar. More...
 
ProgressBarStateDesign getProgressBarDesignDisabled ()
 Design for disabled state. More...
 
ProgressBarStateDesign getProgressBarDesignFocused ()
 Design for focused state. More...
 
ProgressBarStateDesign getProgressBarDesignFocusedHover ()
 Design for focused hover state. More...
 
ProgressBarStateDesign getProgressBarDesignHover ()
 Design for hover state. More...
 
ProgressBarStateDesign getProgressBarDesignNormal ()
 Design for normal state. More...
 
DefaultProgressBarDesigner new ()
 Create new progress bar designer. More...
 
DefaultProgressBarDesigner new (DefaultProgressBarDesigner designer)
 Create copy of widget designer. More...
 
void setCreatorBar (CanvasCreator creator)
 Set canvas creator for progress bar. 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 ProgressBar.

Member Function Documentation

◆ copyDesigner()

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

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ designWidget()

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

Design widget.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ getCreatorBar()

CanvasCreator Dragengine.Gui.Designers.DefaultProgressBarDesigner.getCreatorBar ( )

Canvas creator for progress bar.

◆ getProgressBarDesignDisabled()

ProgressBarStateDesign Dragengine.Gui.Designers.DefaultProgressBarDesigner.getProgressBarDesignDisabled ( )

Design for disabled state.

◆ getProgressBarDesignFocused()

ProgressBarStateDesign Dragengine.Gui.Designers.DefaultProgressBarDesigner.getProgressBarDesignFocused ( )

Design for focused state.

◆ getProgressBarDesignFocusedHover()

ProgressBarStateDesign Dragengine.Gui.Designers.DefaultProgressBarDesigner.getProgressBarDesignFocusedHover ( )

Design for focused hover state.

◆ getProgressBarDesignHover()

ProgressBarStateDesign Dragengine.Gui.Designers.DefaultProgressBarDesigner.getProgressBarDesignHover ( )

Design for hover state.

◆ getProgressBarDesignNormal()

ProgressBarStateDesign Dragengine.Gui.Designers.DefaultProgressBarDesigner.getProgressBarDesignNormal ( )

Design for normal state.

◆ new() [1/2]

DefaultProgressBarDesigner Dragengine.Gui.Designers.DefaultProgressBarDesigner.new ( )

Create new progress bar designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

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

Create copy of widget designer.

◆ setCreatorBar()

void Dragengine.Gui.Designers.DefaultProgressBarDesigner.setCreatorBar ( CanvasCreator  creator)

Set canvas creator for progress bar.

◆ setParameter()

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

Set parameter.

See DefaultButtonDesigner.setParameter for supported parameters.

Additional supported parameters: | name | value | Setter | | {state}.showPercentage | bool | getDesign{state}.setShowPercentage | | {state}.invertColorOverBar | bool | getDesign{state}.setInvertColorOverBar | | bar | CanvasCreator | setCreatorBar |

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.


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