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

Default implementation of WidgetDesigner for ComboBox. More...

Inheritance diagram for Dragengine.Gui.Designers.DefaultComboBoxDesigner:
Dragengine.Gui.Designers.DefaultWidgetDesigner Dragengine.Gui.Designers.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 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...
 

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 Dragengine.Gui.Designers.DefaultWidgetDesigner
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...
 

Detailed Description

Default implementation of WidgetDesigner for ComboBox.

Member Function Documentation

◆ copyDesigner()

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

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ designWidget()

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

Design widget.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ getButtonDropDownImageHover()

Image Dragengine.Gui.Designers.DefaultComboBoxDesigner.getButtonDropDownImageHover ( )

Button drop down image hover.

◆ getButtonDropDownImageNormal()

Image Dragengine.Gui.Designers.DefaultComboBoxDesigner.getButtonDropDownImageNormal ( )

Button drop down image normal.

◆ getCreatorButtonDropDownDisabled()

CanvasCreator Dragengine.Gui.Designers.DefaultComboBoxDesigner.getCreatorButtonDropDownDisabled ( )

Canvas creator for drop down button disabled combo box state.

◆ getCreatorButtonDropDownDroppedDown()

CanvasCreator Dragengine.Gui.Designers.DefaultComboBoxDesigner.getCreatorButtonDropDownDroppedDown ( )

Canvas creator for drop down button pressed combo box state.

◆ getCreatorButtonDropDownHover()

CanvasCreator Dragengine.Gui.Designers.DefaultComboBoxDesigner.getCreatorButtonDropDownHover ( )

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

◆ getCreatorButtonDropDownNormal()

CanvasCreator Dragengine.Gui.Designers.DefaultComboBoxDesigner.getCreatorButtonDropDownNormal ( )

Canvas creator for drop down button normal combo box state.

◆ getDesignDroppedDown()

StateDesign Dragengine.Gui.Designers.DefaultComboBoxDesigner.getDesignDroppedDown ( )

Design for dropped down combo box state.

◆ getNamedStateDesign()

StateDesign Dragengine.Gui.Designers.DefaultComboBoxDesigner.getNamedStateDesign ( String  stateName)
protected

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

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [1/2]

DefaultComboBoxDesigner Dragengine.Gui.Designers.DefaultComboBoxDesigner.new ( )

Create new combo box designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

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

Create copy of widget designer.

◆ setButtonDropDownImageHover()

void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setButtonDropDownImageHover ( Image  image)

Set button drop down image hover.

◆ setButtonDropDownImageNormal()

void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setButtonDropDownImageNormal ( Image  image)

Set button drop down image normal.

◆ setCreatorButtonDropDownDisabled()

void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setCreatorButtonDropDownDisabled ( CanvasCreator  creator)

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

◆ setCreatorButtonDropDownDroppedDown()

void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setCreatorButtonDropDownDroppedDown ( CanvasCreator  creator)

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

◆ setCreatorButtonDropDownHover()

void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setCreatorButtonDropDownHover ( CanvasCreator  creator)

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

◆ setCreatorButtonDropDownNormal()

void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setCreatorButtonDropDownNormal ( CanvasCreator  creator)

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

◆ setDesignDroppedDown()

void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setDesignDroppedDown ( StateDesign  design)
protected

Set design for dropped down combo box state.

◆ setParameter()

void Dragengine.Gui.Designers.DefaultComboBoxDesigner.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 |

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ widgetStateFindDesign()

StateDesign Dragengine.Gui.Designers.DefaultComboBoxDesigner.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.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.


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