Drag[en]gine Script Module DragonScript
1.23
|
Default implementation of SpinButtonDesigner. More...
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... | |
Default implementation of SpinButtonDesigner.
WidgetDesigner Dragengine.Gui.Designers.DefaultSpinButtonDesigner.copyDesigner | ( | ) |
Create copy of designer.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
Button Dragengine.Gui.Designers.DefaultSpinButtonDesigner.createButtonDown | ( | SpinButton | spinbutton | ) |
Create down button.
Button Dragengine.Gui.Designers.DefaultSpinButtonDesigner.createButtonUp | ( | SpinButton | spinbutton | ) |
Create up button.
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.
WidgetDesigner Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonDown | ( | ) |
Button designer factory for down button.
Image Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonDownImageHover | ( | ) |
Button down image hover.
Image Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonDownImageNormal | ( | ) |
Button down image normal.
WidgetDesigner Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonUp | ( | ) |
Button designer factory for up button.
Image Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonUpImageHover | ( | ) |
Button up image hover.
Image Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getButtonUpImageNormal | ( | ) |
Button up image normal.
int Dragengine.Gui.Designers.DefaultSpinButtonDesigner.getSize | ( | ) |
Spin button size.
DefaultSpinButtonDesigner Dragengine.Gui.Designers.DefaultSpinButtonDesigner.new | ( | ) |
Create new spin button designer.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
DefaultSpinButtonDesigner Dragengine.Gui.Designers.DefaultSpinButtonDesigner.new | ( | DefaultSpinButtonDesigner | designer | ) |
Create copy of widget designer.
void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonDown | ( | WidgetDesigner | factory | ) |
Set button designer factory for down button.
void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonDownImageHover | ( | Image | image | ) |
Set button down image hover.
void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonDownImageNormal | ( | Image | image | ) |
Set button down image normal.
void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonUp | ( | WidgetDesigner | factory | ) |
Set button designer factory for up button.
void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonUpImageHover | ( | Image | image | ) |
Set button up image hover.
void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setButtonUpImageNormal | ( | Image | image | ) |
Set button up image normal.
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.
void Dragengine.Gui.Designers.DefaultSpinButtonDesigner.setSize | ( | int | size | ) |
Set spinbutton size.
int Dragengine.Gui.Designers.DefaultSpinButtonDesigner.spinButtonSize | ( | SpinButton | spinbutton | ) |
Size of spin button.