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

Default implementation of WidgetDesigner for ComboBox. More...

Inheritance diagram for DefaultComboBoxDesigner:
DefaultWidgetDesigner WidgetDesigner

Public Member Functions

WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
Image getButtonDropDownImageHover ()
 Button drop down image hover. More...
 
Image getButtonDropDownImageNormal ()
 Button drop down image normal. More...
 
CanvasCreator getCreatorButtonDropDownDisabled ()
 Canvas creator for drop down button disabled combo box state. More...
 
CanvasCreator getCreatorButtonDropDownDroppedDown ()
 Canvas creator for drop down button pressed combo box state. More...
 
CanvasCreator getCreatorButtonDropDownHover ()
 Canvas creator for drop down button hover combo box state or null if not used. More...
 
CanvasCreator getCreatorButtonDropDownNormal ()
 Canvas creator for drop down button normal combo box state. More...
 
StateDesign getDesignDroppedDown ()
 Design for dropped down combo box state. More...
 
DefaultComboBoxDesigner new ()
 Create new combo box designer. More...
 
DefaultComboBoxDesigner new (DefaultComboBoxDesigner designer)
 Create copy of widget designer. More...
 
void setButtonDropDownImageHover (Image image)
 Set button drop down image hover. More...
 
void setButtonDropDownImageNormal (Image image)
 Set button drop down image normal. More...
 
void setCreatorButtonDropDownDisabled (CanvasCreator creator)
 Set canvas creator for drop down button disabled combo box state. More...
 
void setCreatorButtonDropDownDroppedDown (CanvasCreator creator)
 Set canvas creator for drop down button pressed combo box state. More...
 
void setCreatorButtonDropDownHover (CanvasCreator creator)
 Set canvas creator for drop down button hover combo box state or null if not used. More...
 
void setCreatorButtonDropDownNormal (CanvasCreator creator)
 Set canvas creator for drop down button normal combo box state. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
- Public Member Functions inherited from DefaultWidgetDesigner
WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
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...
 
DefaultWidgetDesigner new ()
 Create new widget designer. More...
 
DefaultWidgetDesigner new (DefaultWidgetDesigner designer)
 Create copy of widget designer. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 

Protected Member Functions

StateDesign getNamedStateDesign (String stateName)
 Get state for parameter name selector component or null if not found. More...
 
void setDesignDroppedDown (StateDesign design)
 Set design for dropped down combo box state. More...
 
StateDesign widgetStateFindDesign (Widget widget)
 Get design to apply to widget. More...
 
- Protected Member Functions inherited from 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 WidgetDesigner for ComboBox.

Member Function Documentation

◆ copyDesigner()

WidgetDesigner copyDesigner ( )

Create copy of designer.

Implements WidgetDesigner.

◆ designWidget()

void designWidget ( Widget  widget)

Design widget.

Implements WidgetDesigner.

◆ getButtonDropDownImageHover()

Image getButtonDropDownImageHover ( )

Button drop down image hover.

◆ getButtonDropDownImageNormal()

Image getButtonDropDownImageNormal ( )

Button drop down image normal.

◆ getCreatorButtonDropDownDisabled()

CanvasCreator getCreatorButtonDropDownDisabled ( )

Canvas creator for drop down button disabled combo box state.

◆ getCreatorButtonDropDownDroppedDown()

CanvasCreator getCreatorButtonDropDownDroppedDown ( )

Canvas creator for drop down button pressed combo box state.

◆ getCreatorButtonDropDownHover()

CanvasCreator getCreatorButtonDropDownHover ( )

Canvas creator for drop down button hover combo box state or null if not used.

◆ getCreatorButtonDropDownNormal()

CanvasCreator getCreatorButtonDropDownNormal ( )

Canvas creator for drop down button normal combo box state.

◆ getDesignDroppedDown()

StateDesign getDesignDroppedDown ( )

Design for dropped down combo box state.

◆ getNamedStateDesign()

StateDesign getNamedStateDesign ( String  stateName)
protected

Get state for parameter name selector component or null if not found.

◆ new() [1/2]

Create new combo box designer.

◆ new() [2/2]

Create copy of widget designer.

◆ setButtonDropDownImageHover()

void setButtonDropDownImageHover ( Image  image)

Set button drop down image hover.

◆ setButtonDropDownImageNormal()

void setButtonDropDownImageNormal ( Image  image)

Set button drop down image normal.

◆ setCreatorButtonDropDownDisabled()

void setCreatorButtonDropDownDisabled ( CanvasCreator  creator)

Set canvas creator for drop down button disabled combo box state.

◆ setCreatorButtonDropDownDroppedDown()

void setCreatorButtonDropDownDroppedDown ( CanvasCreator  creator)

Set canvas creator for drop down button pressed combo box state.

◆ setCreatorButtonDropDownHover()

void setCreatorButtonDropDownHover ( CanvasCreator  creator)

Set canvas creator for drop down button hover combo box state or null if not used.

◆ setCreatorButtonDropDownNormal()

void setCreatorButtonDropDownNormal ( CanvasCreator  creator)

Set canvas creator for drop down button normal combo box state.

◆ setDesignDroppedDown()

void setDesignDroppedDown ( StateDesign  design)
protected

Set design for dropped down combo box state.

◆ setParameter()

void setParameter ( String  name,
Object  value 
)

Set parameter.

Supported parameters: | name | value | Setter | | normal.canvas | CanvasCreator | getDesignNormal.setCanvasCreator | | normal.border | BorderFactory | getDesignNormal.setBorderFactory | | normal.font | Font | getDesignNormal.setFont | | normal.textColor | Color | getDesignNormal.setTextColor | | normal.padding | BorderSize | getDesignNormal.setPadding | | disabled.canvas | CanvasCreator | getDesignDisabled.setCanvasCreator | | disabled.border | BorderFactory | getDesignDisabled.setBorderFactory | | disabled.font | Font | getDesignDisabled.setFont | | disabled.textColor | Color | getDesignDisabled.setTextColor | | disabled.padding | BorderSize | getDesignDisabled.setPadding | | focused.canvas | CanvasCreator | getDesignFocused.setCanvasCreator | | focused.border | BorderFactory | getDesignFocused.setBorderFactory | | focused.font | Font | getDesignFocused.setFont | | focused.textColor | Color | getDesignFocused.setTextColor | | focused.padding | BorderSize | getDesignFocused.setPadding | | hover.canvas | CanvasCreator | getDesignHover.setCanvasCreator | | hover.border | BorderFactory | getDesignHover.setBorderFactory | | hover.font | Font | getDesignHover.setFont | | hover.textColor | Color | getDesignHover.setTextColor | | hover.padding | BorderSize | getDesignHover.setPadding | | droppedDown.canvas | CanvasCreator | getDesignDroppedDown.setCanvasCreator | | droppedDown.border | BorderFactory | getDesignDroppedDown.setBorderFactory | | droppedDown.font | Font | getDesignDroppedDown.setFont | | droppedDown.textColor | Color | getDesignDroppedDown.setTextColor | | droppedDown.padding | BorderSize | getDesignDroppedDown.setPadding | | buttonDropDownNormal | CanvasCreator | setCreatorButtonDropDownNormal | | buttonDropDownDroppedDown | CanvasCreator | setCreatorButtonDropDownDroppedDown | | buttonDropDownDisabled | CanvasCreator | setCreatorButtonDropDownDisabled | | buttonDropDownHover | CanvasCreator | setCreatorButtonDropDownHover | | imageDropDownNormal | Image | setButtonDropDownImageNormal | | imageDropDownHover | Image | setButtonDropDownImageHover |

Implements WidgetDesigner.

◆ widgetStateFindDesign()

StateDesign widgetStateFindDesign ( Widget  widget)
protected

Get design to apply to widget.

Determines the state of the widget and the appropriate state design to use. The returned state design can be a set state design or a merge of multiple state designs using a fallback logic.


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