Drag[en]gine Script Module DragonScript
1.23
|
Default implementation of ScrollBarDesigner. More...
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... | |
Default implementation of ScrollBarDesigner.
CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.canvasCreatorFrame | ( | ScrollBar | scrollbar | ) |
Canvas creator for scrollbar frame widget.
CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.canvasCreatorKnob | ( | ScrollBar | scrollbar | ) |
Canvas creator for scrollbar knob widget.
WidgetDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.copyDesigner | ( | ) |
Create copy of designer.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
Create left or up button.
Button Dragengine.Gui.Designers.DefaultScrollBarDesigner.createButtonRightDown | ( | ScrollBar | scrollbar | ) |
Create right or down button.
Create knob widget.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.designKnob | ( | Widget | knob | ) |
Design knob.
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.
WidgetDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonDown | ( | ) |
Button designer for scrollbar down button.
Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonDownImageHover | ( | ) |
Button down image hover.
Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonDownImageNormal | ( | ) |
Button down image normal.
WidgetDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonLeft | ( | ) |
Button designer for scrollbar left button.
Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonLeftImageHover | ( | ) |
Button left image hover.
Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonLeftImageNormal | ( | ) |
Button left image normal.
WidgetDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonRight | ( | ) |
Button designer for scrollbar right button.
Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonRightImageHover | ( | ) |
Button right image hover.
Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonRightImageNormal | ( | ) |
Button right image normal.
WidgetDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonUp | ( | ) |
Button designer for scrollbar up button.
Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonUpImageHover | ( | ) |
Button up image hover.
Image Dragengine.Gui.Designers.DefaultScrollBarDesigner.getButtonUpImageNormal | ( | ) |
Button up image normal.
CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.getCreatorFrame | ( | ) |
Canvas creator for scrollbar frame.
CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.getCreatorKnob | ( | ) |
Canvas creator for scrollbar knob.
CanvasCreator Dragengine.Gui.Designers.DefaultScrollBarDesigner.getCreatorKnobHover | ( | ) |
Canvas creator for scrollbar knob hover or null to use normal.
BorderSize Dragengine.Gui.Designers.DefaultScrollBarDesigner.getPaddingKnobFrame | ( | ) |
Padding between knob and frame.
int Dragengine.Gui.Designers.DefaultScrollBarDesigner.getSize | ( | ) |
Scrollbar size.
DefaultScrollBarDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.new | ( | ) |
Create new scrollbar designer.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
DefaultScrollBarDesigner Dragengine.Gui.Designers.DefaultScrollBarDesigner.new | ( | DefaultScrollBarDesigner | designer | ) |
Create copy of widget designer.
BorderSize Dragengine.Gui.Designers.DefaultScrollBarDesigner.paddingKnobFrame | ( | ScrollBar | scrollbar | ) |
Padding between knob and frame.
int Dragengine.Gui.Designers.DefaultScrollBarDesigner.scrollbarSize | ( | ScrollBar | scrollbar | ) |
Size of scrollbar.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonDown | ( | WidgetDesigner | factory | ) |
Set button designer for scrollbar down button.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonDownImageHover | ( | Image | image | ) |
Set button down image hover.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonDownImageNormal | ( | Image | image | ) |
Set button down image normal.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonLeft | ( | WidgetDesigner | factory | ) |
Set button designer for scrollbar left button.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonLeftImageHover | ( | Image | image | ) |
Set button left image hover.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonLeftImageNormal | ( | Image | image | ) |
Set button left image normal.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonRight | ( | WidgetDesigner | factory | ) |
Set button designer for scrollbar right button.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonRightImageHover | ( | Image | image | ) |
Set button right image hover.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonRightImageNormal | ( | Image | image | ) |
Set button right image normal.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonUp | ( | WidgetDesigner | factory | ) |
Set button designer for scrollbar up button.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonUpImageHover | ( | Image | image | ) |
Set button up image hover.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setButtonUpImageNormal | ( | Image | image | ) |
Set button up image normal.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setCreatorFrame | ( | CanvasCreator | creator | ) |
Set canvas creator for scrolbar frame.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setCreatorKnob | ( | CanvasCreator | creator | ) |
Set canvas creator for scrollbar knob.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setCreatorKnobHover | ( | CanvasCreator | creator | ) |
Set canvas creator for scrollbar knob hover or null to use normal.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setPaddingKnobFrame | ( | BorderSize | padding | ) |
Set padding between knob and frame.
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.
void Dragengine.Gui.Designers.DefaultScrollBarDesigner.setSize | ( | int | size | ) |
Set scrollbar size.