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

Default implementation of SliderDesigner. More...

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

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

Detailed Description

Default implementation of SliderDesigner.

Version
1.13

Member Function Documentation

◆ canvasCreatorBarHorizontal()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorBarHorizontal ( Slider  slider)

Canvas creator for horizontal slider bar widget.

◆ canvasCreatorBarVertical()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorBarVertical ( Slider  slider)

Canvas creator for vertical slider bar widget.

◆ canvasCreatorTickLargeHorizontal()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorTickLargeHorizontal ( Slider  slider)

Canvas creator for horizontal large slider tick widget.

◆ canvasCreatorTickLargeVertical()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorTickLargeVertical ( Slider  slider)

Canvas creator for vertical large slider tick widget.

◆ canvasCreatorTickSmallHorizontal()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorTickSmallHorizontal ( Slider  slider)

Canvas creator for horizontal small slider tick widget.

◆ canvasCreatorTickSmallVertical()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.canvasCreatorTickSmallVertical ( Slider  slider)

Canvas creator for vertical small slider tick widget.

◆ copyDesigner()

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

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ createKnob()

Widget Dragengine.Gui.Designers.DefaultSliderDesigner.createKnob ( Slider  slider)

Create knob widget.

◆ designKnob()

void Dragengine.Gui.Designers.DefaultSliderDesigner.designKnob ( Slider  slider,
Widget  knob 
)

Design knob.

◆ designWidget()

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

Design widget.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ getCreatorBarHorizontal()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorBarHorizontal ( )

Canvas creator for horizontal slider bar.

◆ getCreatorBarVertical()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorBarVertical ( )

Canvas creator for vertical slider bar.

◆ getCreatorTickLargeHorizontal()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorTickLargeHorizontal ( )

Canvas creator for horizontal large tick.

◆ getCreatorTickLargeVertical()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorTickLargeVertical ( )

Canvas creator for vertical large tick.

◆ getCreatorTickSmallHorizontal()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorTickSmallHorizontal ( )

Canvas creator for horizontal small tick.

◆ getCreatorTickSmallVertical()

CanvasCreator Dragengine.Gui.Designers.DefaultSliderDesigner.getCreatorTickSmallVertical ( )

Canvas creator for vertical small tick.

◆ getKnobOffset()

int Dragengine.Gui.Designers.DefaultSliderDesigner.getKnobOffset ( )

Offset of knob from slider area.

◆ getShowTicks()

Boolean Dragengine.Gui.Designers.DefaultSliderDesigner.getShowTicks ( )

Show ticks.

◆ getSize()

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

Slider size.

◆ getSliderDesignDisabled()

SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignDisabled ( )

Design for disabled state.

◆ getSliderDesignFocused()

SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignFocused ( )

Design for focused state.

◆ getSliderDesignFocusedHover()

SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignFocusedHover ( )

Design for focused hover state.

◆ getSliderDesignHover()

SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignHover ( )

Design for hover state.

◆ getSliderDesignNormal()

SliderStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.getSliderDesignNormal ( )

Design for normal state.

◆ getTickSize()

int Dragengine.Gui.Designers.DefaultSliderDesigner.getTickSize ( )

Size of ticks.

◆ knobOffset()

int Dragengine.Gui.Designers.DefaultSliderDesigner.knobOffset ( Slider  slider)

Offset of knob from slider area.

◆ new() [1/2]

DefaultSliderDesigner Dragengine.Gui.Designers.DefaultSliderDesigner.new ( )

Create new slider designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

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

Create copy of widget designer.

◆ setCreatorBarHorizontal()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorBarHorizontal ( CanvasCreator  creator)

Set canvas creator for horizontal scrolbar bar.

◆ setCreatorBarVertical()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorBarVertical ( CanvasCreator  creator)

Set canvas creator for vertical scrolbar bar.

◆ setCreatorTickLargeHorizontal()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorTickLargeHorizontal ( CanvasCreator  creator)

Set canvas creator for horizontal large tick.

◆ setCreatorTickLargeVertical()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorTickLargeVertical ( CanvasCreator  creator)

Set canvas creator for vertical large tick.

◆ setCreatorTickSmallHorizontal()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorTickSmallHorizontal ( CanvasCreator  creator)

Set canvas creator for horizontal small tick.

◆ setCreatorTickSmallVertical()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setCreatorTickSmallVertical ( CanvasCreator  creator)

Set canvas creator for vertical small tick.

◆ setKnobOffset()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setKnobOffset ( int  offset)

Set offset of knob from slider area.

◆ setParameter()

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.

◆ setShowTicks()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setShowTicks ( Boolean  showTicks)

Set show ticks.

◆ setSize()

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

Set slider size.

◆ setTickSize()

void Dragengine.Gui.Designers.DefaultSliderDesigner.setTickSize ( int  size)

Set size of ticks.

◆ sliderSize()

int Dragengine.Gui.Designers.DefaultSliderDesigner.sliderSize ( Slider  slider)

Size of slider.

◆ tickSize()

int Dragengine.Gui.Designers.DefaultSliderDesigner.tickSize ( Slider  slider)

Size of ticks.


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