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

Default implementation of SpinButtonDesigner. More...

Inheritance diagram for DefaultSpinButtonDesigner:
DefaultWidgetDesigner SpinButtonDesigner 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 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 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 copyDesigner ( )

Create copy of designer.

Implements WidgetDesigner.

◆ createButtonDown()

Button createButtonDown ( SpinButton  spinbutton)

Create down button.

Implements SpinButtonDesigner.

◆ createButtonUp()

Button createButtonUp ( SpinButton  spinbutton)

Create up button.

Implements SpinButtonDesigner.

◆ designWidget()

void designWidget ( Widget  widget)

Design widget.

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

Implements WidgetDesigner.

◆ getButtonDown()

WidgetDesigner getButtonDown ( )

Button designer factory for down button.

◆ getButtonDownImageHover()

Image getButtonDownImageHover ( )

Button down image hover.

◆ getButtonDownImageNormal()

Image getButtonDownImageNormal ( )

Button down image normal.

◆ getButtonUp()

WidgetDesigner getButtonUp ( )

Button designer factory for up button.

◆ getButtonUpImageHover()

Image getButtonUpImageHover ( )

Button up image hover.

◆ getButtonUpImageNormal()

Image getButtonUpImageNormal ( )

Button up image normal.

◆ getSize()

int getSize ( )

Spin button size.

◆ new() [1/2]

Create new spin button designer.

◆ new() [2/2]

Create copy of widget designer.

◆ setButtonDown()

void setButtonDown ( WidgetDesigner  factory)

Set button designer factory for down button.

◆ setButtonDownImageHover()

void setButtonDownImageHover ( Image  image)

Set button down image hover.

◆ setButtonDownImageNormal()

void setButtonDownImageNormal ( Image  image)

Set button down image normal.

◆ setButtonUp()

void setButtonUp ( WidgetDesigner  factory)

Set button designer factory for up button.

◆ setButtonUpImageHover()

void setButtonUpImageHover ( Image  image)

Set button up image hover.

◆ setButtonUpImageNormal()

void setButtonUpImageNormal ( Image  image)

Set button up image normal.

◆ setParameter()

void 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 |

Implements WidgetDesigner.

◆ setSize()

void setSize ( int  size)

Set spinbutton size.

◆ spinButtonSize()

int spinButtonSize ( SpinButton  spinbutton)

Size of spin button.

Implements SpinButtonDesigner.


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