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

Default implementation of ScrollBarDesigner using. More...

Inheritance diagram for DefaultScrollBarDesigner:
ScrollBarDesigner

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...
 
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...
 
ButtonDesignerFactory getButtonDown ()
 Button designer factory for scrollbar down button. More...
 
Image getButtonDownImageHover ()
 Button down image hover. More...
 
Image getButtonDownImageNormal ()
 Button down image normal. More...
 
ButtonDesignerFactory getButtonLeft ()
 Button designer factory for scrollbar left button. More...
 
Image getButtonLeftImageHover ()
 Button left image hover. More...
 
Image getButtonLeftImageNormal ()
 Button left image normal. More...
 
ButtonDesignerFactory getButtonRight ()
 Button designer factory for scrollbar right button. More...
 
Image getButtonRightImageHover ()
 Button right image hover. More...
 
Image getButtonRightImageNormal ()
 Button right image normal. More...
 
ButtonDesignerFactory getButtonUp ()
 Button designer factory 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...
 
BorderSize paddingKnobFrame (ScrollBar scrollbar)
 Padding between knob and frame. More...
 
int scrollbarSize (ScrollBar scrollbar)
 Size of scrollbar. More...
 
void setButtonDown (ButtonDesignerFactory factory)
 Set button designer factory 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 (ButtonDesignerFactory factory)
 Set button designer factory 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 (ButtonDesignerFactory factory)
 Set button designer factory 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 (ButtonDesignerFactory factory)
 Set button designer factory 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 setSize (int size)
 Set scrollbar size. More...
 

Detailed Description

Default implementation of ScrollBarDesigner using.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ canvasCreatorFrame()

CanvasCreator canvasCreatorFrame ( ScrollBar  scrollbar)

Canvas creator for scrollbar frame widget.

Implements ScrollBarDesigner.

§ canvasCreatorKnob()

CanvasCreator canvasCreatorKnob ( ScrollBar  scrollbar)

Canvas creator for scrollbar knob widget.

Implements ScrollBarDesigner.

§ createButtonLeftUp()

Button createButtonLeftUp ( ScrollBar  scrollbar)

Create left or up button.

Implements ScrollBarDesigner.

§ createButtonRightDown()

Button createButtonRightDown ( ScrollBar  scrollbar)

Create right or down button.

Implements ScrollBarDesigner.

§ createKnob()

Widget createKnob ( ScrollBar  scrollbar)

Create knob widget.

Implements ScrollBarDesigner.

§ designKnob()

void designKnob ( Widget  knob)

Design knob.

§ getButtonDown()

ButtonDesignerFactory getButtonDown ( )

Button designer factory for scrollbar down button.

§ getButtonDownImageHover()

Image getButtonDownImageHover ( )

Button down image hover.

§ getButtonDownImageNormal()

Image getButtonDownImageNormal ( )

Button down image normal.

§ getButtonLeft()

ButtonDesignerFactory getButtonLeft ( )

Button designer factory for scrollbar left button.

§ getButtonLeftImageHover()

Image getButtonLeftImageHover ( )

Button left image hover.

§ getButtonLeftImageNormal()

Image getButtonLeftImageNormal ( )

Button left image normal.

§ getButtonRight()

ButtonDesignerFactory getButtonRight ( )

Button designer factory for scrollbar right button.

§ getButtonRightImageHover()

Image getButtonRightImageHover ( )

Button right image hover.

§ getButtonRightImageNormal()

Image getButtonRightImageNormal ( )

Button right image normal.

§ getButtonUp()

ButtonDesignerFactory getButtonUp ( )

Button designer factory for scrollbar up button.

§ getButtonUpImageHover()

Image getButtonUpImageHover ( )

Button up image hover.

§ getButtonUpImageNormal()

Image getButtonUpImageNormal ( )

Button up image normal.

§ getCreatorFrame()

CanvasCreator getCreatorFrame ( )

Canvas creator for scrollbar frame.

§ getCreatorKnob()

CanvasCreator getCreatorKnob ( )

Canvas creator for scrollbar knob.

§ getCreatorKnobHover()

CanvasCreator getCreatorKnobHover ( )

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

§ getPaddingKnobFrame()

BorderSize getPaddingKnobFrame ( )

Padding between knob and frame.

§ getSize()

int getSize ( )

Scrollbar size.

§ new()

Create new scrollbar designer.

§ paddingKnobFrame()

BorderSize paddingKnobFrame ( ScrollBar  scrollbar)

Padding between knob and frame.

Implements ScrollBarDesigner.

§ scrollbarSize()

int scrollbarSize ( ScrollBar  scrollbar)

Size of scrollbar.

Implements ScrollBarDesigner.

§ setButtonDown()

void setButtonDown ( ButtonDesignerFactory  factory)

Set button designer factory for scrollbar down button.

§ setButtonDownImageHover()

void setButtonDownImageHover ( Image  image)

Set button down image hover.

§ setButtonDownImageNormal()

void setButtonDownImageNormal ( Image  image)

Set button down image normal.

§ setButtonLeft()

void setButtonLeft ( ButtonDesignerFactory  factory)

Set button designer factory for scrollbar left button.

§ setButtonLeftImageHover()

void setButtonLeftImageHover ( Image  image)

Set button left image hover.

§ setButtonLeftImageNormal()

void setButtonLeftImageNormal ( Image  image)

Set button left image normal.

§ setButtonRight()

void setButtonRight ( ButtonDesignerFactory  factory)

Set button designer factory for scrollbar right button.

§ setButtonRightImageHover()

void setButtonRightImageHover ( Image  image)

Set button right image hover.

§ setButtonRightImageNormal()

void setButtonRightImageNormal ( Image  image)

Set button right image normal.

§ setButtonUp()

void setButtonUp ( ButtonDesignerFactory  factory)

Set button designer factory for scrollbar up button.

§ setButtonUpImageHover()

void setButtonUpImageHover ( Image  image)

Set button up image hover.

§ setButtonUpImageNormal()

void setButtonUpImageNormal ( Image  image)

Set button up image normal.

§ setCreatorFrame()

void setCreatorFrame ( CanvasCreator  creator)

Set canvas creator for scrolbar frame.

§ setCreatorKnob()

void setCreatorKnob ( CanvasCreator  creator)

Set canvas creator for scrollbar knob.

§ setCreatorKnobHover()

void setCreatorKnobHover ( CanvasCreator  creator)

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

§ setPaddingKnobFrame()

void setPaddingKnobFrame ( BorderSize  padding)

Set padding between knob and frame.

§ setSize()

void setSize ( int  size)

Set scrollbar size.


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