Drag[en]gine Script Module DragonScript
1.23
|
Default implementation of SliderDesigner. More...
Classes | |
class | DesignKnobFocusListener |
Focus listener for slider knob to redesign knob. More... | |
class | DesignKnobMouseListener |
Mouse listener for slider knob to redesign knob. More... | |
class | SliderStateDesign |
Design for a particular widget state. More... | |
Public Member Functions | |
CanvasCreator | canvasCreatorBarHorizontal (Slider slider) |
Canvas creator for horizontal slider bar widget. More... | |
CanvasCreator | canvasCreatorBarVertical (Slider slider) |
Canvas creator for vertical slider bar widget. More... | |
CanvasCreator | canvasCreatorTickLargeHorizontal (Slider slider) |
Canvas creator for horizontal large slider tick widget. More... | |
CanvasCreator | canvasCreatorTickLargeVertical (Slider slider) |
Canvas creator for vertical large slider tick widget. More... | |
CanvasCreator | canvasCreatorTickSmallHorizontal (Slider slider) |
Canvas creator for horizontal small slider tick widget. More... | |
CanvasCreator | canvasCreatorTickSmallVertical (Slider slider) |
Canvas creator for vertical small slider tick widget. More... | |
WidgetDesigner | copyDesigner () |
Create copy of designer. More... | |
Widget | createKnob (Slider slider) |
Create knob widget. More... | |
void | designKnob (Slider slider, Widget knob) |
Design knob. More... | |
void | designWidget (Widget widget) |
Design widget. More... | |
CanvasCreator | getCreatorBarHorizontal () |
Canvas creator for horizontal slider bar. More... | |
CanvasCreator | getCreatorBarVertical () |
Canvas creator for vertical slider bar. More... | |
CanvasCreator | getCreatorTickLargeHorizontal () |
Canvas creator for horizontal large tick. More... | |
CanvasCreator | getCreatorTickLargeVertical () |
Canvas creator for vertical large tick. More... | |
CanvasCreator | getCreatorTickSmallHorizontal () |
Canvas creator for horizontal small tick. More... | |
CanvasCreator | getCreatorTickSmallVertical () |
Canvas creator for vertical small tick. More... | |
int | getKnobOffset () |
Offset of knob from slider area. More... | |
Boolean | getShowTicks () |
Show ticks. More... | |
int | getSize () |
Slider size. More... | |
SliderStateDesign | getSliderDesignDisabled () |
Design for disabled state. More... | |
SliderStateDesign | getSliderDesignFocused () |
Design for focused state. More... | |
SliderStateDesign | getSliderDesignFocusedHover () |
Design for focused hover state. More... | |
SliderStateDesign | getSliderDesignHover () |
Design for hover state. More... | |
SliderStateDesign | getSliderDesignNormal () |
Design for normal state. More... | |
int | getTickSize () |
Size of ticks. More... | |
int | knobOffset (Slider slider) |
Offset of knob from slider area. More... | |
DefaultSliderDesigner | new () |
Create new slider designer. More... | |
DefaultSliderDesigner | new (DefaultSliderDesigner designer) |
Create copy of widget designer. More... | |
void | setCreatorBarHorizontal (CanvasCreator creator) |
Set canvas creator for horizontal scrolbar bar. More... | |
void | setCreatorBarVertical (CanvasCreator creator) |
Set canvas creator for vertical scrolbar bar. More... | |
void | setCreatorTickLargeHorizontal (CanvasCreator creator) |
Set canvas creator for horizontal large tick. More... | |
void | setCreatorTickLargeVertical (CanvasCreator creator) |
Set canvas creator for vertical large tick. More... | |
void | setCreatorTickSmallHorizontal (CanvasCreator creator) |
Set canvas creator for horizontal small tick. More... | |
void | setCreatorTickSmallVertical (CanvasCreator creator) |
Set canvas creator for vertical small tick. More... | |
void | setKnobOffset (int offset) |
Set offset of knob from slider area. More... | |
void | setParameter (String name, Object value) |
Set parameter. More... | |
void | setShowTicks (Boolean showTicks) |
Set show ticks. More... | |
void | setSize (int size) |
Set slider size. More... | |
void | setTickSize (int size) |
Set size of ticks. More... | |
int | sliderSize (Slider slider) |
Size of slider. More... | |
int | tickSize (Slider slider) |
Size of ticks. 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 SliderDesigner.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorBarHorizontal | ( | Slider | slider | ) |
Canvas creator for horizontal slider bar widget.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorBarVertical | ( | Slider | slider | ) |
Canvas creator for vertical slider bar widget.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorTickLargeHorizontal | ( | Slider | slider | ) |
Canvas creator for horizontal large slider tick widget.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorTickLargeVertical | ( | Slider | slider | ) |
Canvas creator for vertical large slider tick widget.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorTickSmallHorizontal | ( | Slider | slider | ) |
Canvas creator for horizontal small slider tick widget.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorTickSmallVertical | ( | Slider | slider | ) |
Canvas creator for vertical small slider tick widget.
WidgetDesigner Dragengine.Gui.Designers.DefaultSliderDesigner.copyDesigner | ( | ) |
Create copy of designer.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
Create knob widget.
Design knob.
void Dragengine.Gui.Designers.DefaultSliderDesigner.designWidget | ( | Widget | widget | ) |
Design widget.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorBarHorizontal | ( | ) |
Canvas creator for horizontal slider bar.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorBarVertical | ( | ) |
Canvas creator for vertical slider bar.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorTickLargeHorizontal | ( | ) |
Canvas creator for horizontal large tick.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorTickLargeVertical | ( | ) |
Canvas creator for vertical large tick.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorTickSmallHorizontal | ( | ) |
Canvas creator for horizontal small tick.
CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorTickSmallVertical | ( | ) |
Canvas creator for vertical small tick.
int Dragengine.Gui.Designers.DefaultSliderDesigner.getKnobOffset | ( | ) |
Offset of knob from slider area.
Boolean Dragengine.Gui.Designers.DefaultSliderDesigner.getShowTicks | ( | ) |
Show ticks.
int Dragengine.Gui.Designers.DefaultSliderDesigner.getSize | ( | ) |
Slider size.
SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignDisabled | ( | ) |
Design for disabled state.
SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignFocused | ( | ) |
Design for focused state.
SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignFocusedHover | ( | ) |
Design for focused hover state.
SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignHover | ( | ) |
Design for hover state.
SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignNormal | ( | ) |
Design for normal state.
int Dragengine.Gui.Designers.DefaultSliderDesigner.getTickSize | ( | ) |
Size of ticks.
int Dragengine.Gui.Designers.DefaultSliderDesigner.knobOffset | ( | Slider | slider | ) |
Offset of knob from slider area.
DefaultSliderDesigner Dragengine.Gui.Designers.DefaultSliderDesigner.new | ( | ) |
Create new slider designer.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
DefaultSliderDesigner Dragengine.Gui.Designers.DefaultSliderDesigner.new | ( | DefaultSliderDesigner | designer | ) |
Create copy of widget designer.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorBarHorizontal | ( | CanvasCreator | creator | ) |
Set canvas creator for horizontal scrolbar bar.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorBarVertical | ( | CanvasCreator | creator | ) |
Set canvas creator for vertical scrolbar bar.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorTickLargeHorizontal | ( | CanvasCreator | creator | ) |
Set canvas creator for horizontal large tick.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorTickLargeVertical | ( | CanvasCreator | creator | ) |
Set canvas creator for vertical large tick.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorTickSmallHorizontal | ( | CanvasCreator | creator | ) |
Set canvas creator for horizontal small tick.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorTickSmallVertical | ( | CanvasCreator | creator | ) |
Set canvas creator for vertical small tick.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setKnobOffset | ( | int | offset | ) |
Set offset of knob from slider area.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setParameter | ( | String | name, |
Object | value | ||
) |
Set parameter.
Supported parameters: | name | value | Setter | | canvasBarHorizontal | CanvasCreator | setCreatorBarHorizontal | | canvasBarVertical | CanvasCreator | setCreatorBarVertical | | canvasTickLargeHorizontal | CanvasCreator | setCreatorTickLargeHorizontal | | canvasTickLargeVertical | CanvasCreator | setCreatorTickLargeVertical | | canvasTickSmallHorizontal | CanvasCreator | setCreatorTickSmallHorizontal | | canvasTickSmallVertical | CanvasCreator | setCreatorTickSmallVertical | | size | int | setSize | | knobOffset | int | setKnobOffset | | tickSize | int | setTickSize | | showTicks | bool | setShowTicks |
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setShowTicks | ( | Boolean | showTicks | ) |
Set show ticks.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setSize | ( | int | size | ) |
Set slider size.
void Dragengine.Gui.Designers.DefaultSliderDesigner.setTickSize | ( | int | size | ) |
Set size of ticks.
int Dragengine.Gui.Designers.DefaultSliderDesigner.sliderSize | ( | Slider | slider | ) |
Size of slider.
int Dragengine.Gui.Designers.DefaultSliderDesigner.tickSize | ( | Slider | slider | ) |
Size of ticks.