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

Default implementation of ScrollBarDesigner. More...

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

Classes

class  DesignKnobMouseListener
 Mouse listener for scrollbar knob to redesign knob. More...
 

Public Member Functions

CanvasCreator canvasCreatorFrame (ScrollBar scrollbar)
 Canvas creator for scrollbar frame widget. More...
 
CanvasCreator canvasCreatorKnob (ScrollBar scrollbar)
 Canvas creator for scrollbar knob widget. More...
 
WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
Button createButtonLeftUp (ScrollBar scrollbar)
 Create left or up button. More...
 
Button createButtonRightDown (ScrollBar scrollbar)
 Create right or down button. More...
 
Widget createKnob (ScrollBar scrollbar)
 Create knob widget. More...
 
void designKnob (Widget knob)
 Design knob. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
WidgetDesigner getButtonDown ()
 Button designer for scrollbar down button. More...
 
Image getButtonDownImageHover ()
 Button down image hover. More...
 
Image getButtonDownImageNormal ()
 Button down image normal. More...
 
WidgetDesigner getButtonLeft ()
 Button designer for scrollbar left button. More...
 
Image getButtonLeftImageHover ()
 Button left image hover. More...
 
Image getButtonLeftImageNormal ()
 Button left image normal. More...
 
WidgetDesigner getButtonRight ()
 Button designer for scrollbar right button. More...
 
Image getButtonRightImageHover ()
 Button right image hover. More...
 
Image getButtonRightImageNormal ()
 Button right image normal. More...
 
WidgetDesigner getButtonUp ()
 Button designer for scrollbar up button. More...
 
Image getButtonUpImageHover ()
 Button up image hover. More...
 
Image getButtonUpImageNormal ()
 Button up image normal. More...
 
CanvasCreator getCreatorFrame ()
 Canvas creator for scrollbar frame. More...
 
CanvasCreator getCreatorKnob ()
 Canvas creator for scrollbar knob. More...
 
CanvasCreator getCreatorKnobHover ()
 Canvas creator for scrollbar knob hover or null to use normal. More...
 
BorderSize getPaddingKnobFrame ()
 Padding between knob and frame. More...
 
int getSize ()
 Scrollbar size. More...
 
DefaultScrollBarDesigner new ()
 Create new scrollbar designer. More...
 
DefaultScrollBarDesigner new (DefaultScrollBarDesigner designer)
 Create copy of widget designer. More...
 
BorderSize paddingKnobFrame (ScrollBar scrollbar)
 Padding between knob and frame. More...
 
int scrollbarSize (ScrollBar scrollbar)
 Size of scrollbar. More...
 
void setButtonDown (WidgetDesigner factory)
 Set button designer for scrollbar down button. More...
 
void setButtonDownImageHover (Image image)
 Set button down image hover. More...
 
void setButtonDownImageNormal (Image image)
 Set button down image normal. More...
 
void setButtonLeft (WidgetDesigner factory)
 Set button designer for scrollbar left button. More...
 
void setButtonLeftImageHover (Image image)
 Set button left image hover. More...
 
void setButtonLeftImageNormal (Image image)
 Set button left image normal. More...
 
void setButtonRight (WidgetDesigner factory)
 Set button designer for scrollbar right button. More...
 
void setButtonRightImageHover (Image image)
 Set button right image hover. More...
 
void setButtonRightImageNormal (Image image)
 Set button right image normal. More...
 
void setButtonUp (WidgetDesigner factory)
 Set button designer for scrollbar up button. More...
 
void setButtonUpImageHover (Image image)
 Set button up image hover. More...
 
void setButtonUpImageNormal (Image image)
 Set button up image normal. More...
 
void setCreatorFrame (CanvasCreator creator)
 Set canvas creator for scrolbar frame. More...
 
void setCreatorKnob (CanvasCreator creator)
 Set canvas creator for scrollbar knob. More...
 
void setCreatorKnobHover (CanvasCreator creator)
 Set canvas creator for scrollbar knob hover or null to use normal. More...
 
void setPaddingKnobFrame (BorderSize padding)
 Set padding between knob and frame. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
void setSize (int size)
 Set scrollbar size. 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 ScrollBarDesigner.

Member Function Documentation

◆ canvasCreatorFrame()

CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.canvasCreatorFrame ( ScrollBar  scrollbar)

Canvas creator for scrollbar frame widget.

◆ canvasCreatorKnob()

CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.canvasCreatorKnob ( ScrollBar  scrollbar)

Canvas creator for scrollbar knob widget.

◆ copyDesigner()

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

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ createButtonLeftUp()

Button Dragengine.Gui.Designers.DefaultScrollBarDesigner.createButtonLeftUp ( ScrollBar  scrollbar)

Create left or up button.

◆ createButtonRightDown()

Button Dragengine.Gui.Designers.DefaultScrollBarDesigner.createButtonRightDown ( ScrollBar  scrollbar)

Create right or down button.

◆ createKnob()

Widget Dragengine.Gui.Designers.DefaultScrollBarDesigner.createKnob ( ScrollBar  scrollbar)

Create knob widget.

◆ designKnob()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.designKnob ( Widget  knob)

Design knob.

◆ designWidget()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.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.DefaultScrollBarDesigner.getButtonDown ( )

Button designer for scrollbar down button.

◆ getButtonDownImageHover()

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

Button down image hover.

◆ getButtonDownImageNormal()

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

Button down image normal.

◆ getButtonLeft()

WidgetDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonLeft ( )

Button designer for scrollbar left button.

◆ getButtonLeftImageHover()

Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonLeftImageHover ( )

Button left image hover.

◆ getButtonLeftImageNormal()

Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonLeftImageNormal ( )

Button left image normal.

◆ getButtonRight()

WidgetDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonRight ( )

Button designer for scrollbar right button.

◆ getButtonRightImageHover()

Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonRightImageHover ( )

Button right image hover.

◆ getButtonRightImageNormal()

Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonRightImageNormal ( )

Button right image normal.

◆ getButtonUp()

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

Button designer for scrollbar up button.

◆ getButtonUpImageHover()

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

Button up image hover.

◆ getButtonUpImageNormal()

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

Button up image normal.

◆ getCreatorFrame()

CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.getCreatorFrame ( )

Canvas creator for scrollbar frame.

◆ getCreatorKnob()

CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.getCreatorKnob ( )

Canvas creator for scrollbar knob.

◆ getCreatorKnobHover()

CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.getCreatorKnobHover ( )

Canvas creator for scrollbar knob hover or null to use normal.

◆ getPaddingKnobFrame()

BorderSize Dragengine.Gui.Designers.DefaultScrollBarDesigner.getPaddingKnobFrame ( )

Padding between knob and frame.

◆ getSize()

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

Scrollbar size.

◆ new() [1/2]

DefaultScrollBarDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.new ( )

Create new scrollbar designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

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

Create copy of widget designer.

◆ paddingKnobFrame()

BorderSize Dragengine.Gui.Designers.DefaultScrollBarDesigner.paddingKnobFrame ( ScrollBar  scrollbar)

Padding between knob and frame.

◆ scrollbarSize()

int Dragengine.Gui.Designers.DefaultScrollBarDesigner.scrollbarSize ( ScrollBar  scrollbar)

Size of scrollbar.

◆ setButtonDown()

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

Set button designer for scrollbar down button.

◆ setButtonDownImageHover()

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

Set button down image hover.

◆ setButtonDownImageNormal()

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

Set button down image normal.

◆ setButtonLeft()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonLeft ( WidgetDesigner  factory)

Set button designer for scrollbar left button.

◆ setButtonLeftImageHover()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonLeftImageHover ( Image  image)

Set button left image hover.

◆ setButtonLeftImageNormal()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonLeftImageNormal ( Image  image)

Set button left image normal.

◆ setButtonRight()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonRight ( WidgetDesigner  factory)

Set button designer for scrollbar right button.

◆ setButtonRightImageHover()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonRightImageHover ( Image  image)

Set button right image hover.

◆ setButtonRightImageNormal()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonRightImageNormal ( Image  image)

Set button right image normal.

◆ setButtonUp()

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

Set button designer for scrollbar up button.

◆ setButtonUpImageHover()

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

Set button up image hover.

◆ setButtonUpImageNormal()

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

Set button up image normal.

◆ setCreatorFrame()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setCreatorFrame ( CanvasCreator  creator)

Set canvas creator for scrolbar frame.

◆ setCreatorKnob()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setCreatorKnob ( CanvasCreator  creator)

Set canvas creator for scrollbar knob.

◆ setCreatorKnobHover()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setCreatorKnobHover ( CanvasCreator  creator)

Set canvas creator for scrollbar knob hover or null to use normal.

◆ setPaddingKnobFrame()

void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setPaddingKnobFrame ( BorderSize  padding)

Set padding between knob and frame.

◆ setParameter()

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

Set parameter.

Supported parameters: | name | value | Setter | | canvasFrame | CanvasCreator | setCreatorFrame | | canvasKnob | CanvasCreator | setCreatorKnob | | canvasKnobHover | CanvasCreator or null | setCreatorKnobHover | | size | int | setSize | | paddingKnobFrame | BorderSize | setPaddingKnobFrame | | buttonUp | WidgetDesignerFactory | setButtonUp | | buttonDown | WidgetDesignerFactory | setButtonDown | | buttonLeft | WidgetDesignerFactory | setButtonLeft | | buttonRight | WidgetDesignerFactory | setButtonRight | | imageUpNormal | Image | setButtonUpImageNormal | | imageUpHover | Image | setButtonUpImageHover | | imageDownNormal | Image | setButtonDownImageNormal | | imageDownHover | Image | setButtonDownImageHover | | imageLeftNormal | Image | setButtonLeftImageNormal | | imageLeftHover | Image | setButtonLeftImageHover | | imageRightNormal | Image | setButtonRightImageNormal | | imageRightHover | Image | setButtonRightImageHover |

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ setSize()

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

Set scrollbar size.


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