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

Default implementation of SpinButtonDesigner. More...

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

Public Member Functions

WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
Button createButtonDown (SpinButton spinbutton)
 Create down button. More...
 
Button createButtonUp (SpinButton spinbutton)
 Create up button. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
WidgetDesigner getButtonDown ()
 Button designer factory for down button. More...
 
Image getButtonDownImageHover ()
 Button down image hover. More...
 
Image getButtonDownImageNormal ()
 Button down image normal. More...
 
WidgetDesigner getButtonUp ()
 Button designer factory for up button. More...
 
Image getButtonUpImageHover ()
 Button up image hover. More...
 
Image getButtonUpImageNormal ()
 Button up image normal. More...
 
int getSize ()
 Spin button size. More...
 
DefaultSpinButtonDesigner new ()
 Create new spin button designer. More...
 
DefaultSpinButtonDesigner new (DefaultSpinButtonDesigner designer)
 Create copy of widget designer. More...
 
void setButtonDown (WidgetDesigner factory)
 Set button designer factory for down button. More...
 
void setButtonDownImageHover (Image image)
 Set button down image hover. More...
 
void setButtonDownImageNormal (Image image)
 Set button down image normal. More...
 
void setButtonUp (WidgetDesigner factory)
 Set button designer factory for up button. More...
 
void setButtonUpImageHover (Image image)
 Set button up image hover. More...
 
void setButtonUpImageNormal (Image image)
 Set button up image normal. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
void setSize (int size)
 Set spinbutton size. More...
 
int spinButtonSize (SpinButton spinbutton)
 Size of spin button. 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 SpinButtonDesigner.

Member Function Documentation

◆ copyDesigner()

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

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ createButtonDown()

Button Dragengine.Gui.Designers.DefaultSpinButtonDesigner.createButtonDown ( SpinButton  spinbutton)

Create down button.

◆ createButtonUp()

Button Dragengine.Gui.Designers.DefaultSpinButtonDesigner.createButtonUp ( SpinButton  spinbutton)

Create up button.

◆ designWidget()

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

Design widget.

Method not used for SpinButton. Default implementation is empty. Use the methods defined in SpinButtonDesigner to design the SpinButton.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ getButtonDown()

WidgetDesigner Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonDown ( )

Button designer factory for down button.

◆ getButtonDownImageHover()

Image Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonDownImageHover ( )

Button down image hover.

◆ getButtonDownImageNormal()

Image Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonDownImageNormal ( )

Button down image normal.

◆ getButtonUp()

WidgetDesigner Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonUp ( )

Button designer factory for up button.

◆ getButtonUpImageHover()

Image Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonUpImageHover ( )

Button up image hover.

◆ getButtonUpImageNormal()

Image Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonUpImageNormal ( )

Button up image normal.

◆ getSize()

int Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getSize ( )

Spin button size.

◆ new() [1/2]

DefaultSpinButtonDesigner Dragengine.Gui.Designers.DefaultSpinButtonDesigner.new ( )

Create new spin button designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

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

Create copy of widget designer.

◆ setButtonDown()

void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonDown ( WidgetDesigner  factory)

Set button designer factory for down button.

◆ setButtonDownImageHover()

void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonDownImageHover ( Image  image)

Set button down image hover.

◆ setButtonDownImageNormal()

void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonDownImageNormal ( Image  image)

Set button down image normal.

◆ setButtonUp()

void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonUp ( WidgetDesigner  factory)

Set button designer factory for up button.

◆ setButtonUpImageHover()

void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonUpImageHover ( Image  image)

Set button up image hover.

◆ setButtonUpImageNormal()

void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonUpImageNormal ( Image  image)

Set button up image normal.

◆ setParameter()

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

Set parameter.

Supported parameters: | name | value | Setter | | size | int | setSize | | buttonUp | WidgetDesigner | setButtonUp | | buttonDown | WidgetDesigner | setButtonDown | | imageUpNormal | Image | setButtonUpImageNormal | | imageUpHover | Image | setButtonUpImageHover | | imageDownNormal | Image | setButtonDownImageNormal | | imageDownHover | Image | setButtonDownImageHover |

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ setSize()

void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setSize ( int  size)

Set spinbutton size.

◆ spinButtonSize()

int Dragengine.Gui.Designers.DefaultSpinButtonDesigner.spinButtonSize ( SpinButton  spinbutton)

Size of spin button.


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