Drag[en]gine Script Module DragonScript
1.23
|
Default implementation of WidgetDesigner for ComboBox. More...
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... | |
Default implementation of WidgetDesigner for ComboBox.
WidgetDesigner Dragengine.Gui.Designers.DefaultComboBoxDesigner.copyDesigner | ( | ) |
Create copy of designer.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
void Dragengine.Gui.Designers.DefaultComboBoxDesigner.designWidget | ( | Widget | widget | ) |
Design widget.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
Image Dragengine.Gui.Designers.DefaultComboBoxDesigner.getButtonDropDownImageHover | ( | ) |
Button drop down image hover.
Image Dragengine.Gui.Designers.DefaultComboBoxDesigner.getButtonDropDownImageNormal | ( | ) |
Button drop down image normal.
CanvasCreator Dragengine.Gui.Designers.DefaultComboBoxDesigner.getCreatorButtonDropDownDisabled | ( | ) |
Canvas creator for drop down button disabled combo box state.
CanvasCreator Dragengine.Gui.Designers.DefaultComboBoxDesigner.getCreatorButtonDropDownDroppedDown | ( | ) |
Canvas creator for drop down button pressed combo box state.
CanvasCreator Dragengine.Gui.Designers.DefaultComboBoxDesigner.getCreatorButtonDropDownHover | ( | ) |
Canvas creator for drop down button hover combo box state or null if not used.
CanvasCreator Dragengine.Gui.Designers.DefaultComboBoxDesigner.getCreatorButtonDropDownNormal | ( | ) |
Canvas creator for drop down button normal combo box state.
StateDesign Dragengine.Gui.Designers.DefaultComboBoxDesigner.getDesignDroppedDown | ( | ) |
Design for dropped down combo box state.
|
protected |
Get state for parameter name selector component or null if not found.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
DefaultComboBoxDesigner Dragengine.Gui.Designers.DefaultComboBoxDesigner.new | ( | ) |
Create new combo box designer.
Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.
DefaultComboBoxDesigner Dragengine.Gui.Designers.DefaultComboBoxDesigner.new | ( | DefaultComboBoxDesigner | designer | ) |
Create copy of widget designer.
void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setButtonDropDownImageHover | ( | Image | image | ) |
Set button drop down image hover.
void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setButtonDropDownImageNormal | ( | Image | image | ) |
Set button drop down image normal.
void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setCreatorButtonDropDownDisabled | ( | CanvasCreator | creator | ) |
Set canvas creator for drop down button disabled combo box state.
void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setCreatorButtonDropDownDroppedDown | ( | CanvasCreator | creator | ) |
Set canvas creator for drop down button pressed combo box state.
void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setCreatorButtonDropDownHover | ( | CanvasCreator | creator | ) |
Set canvas creator for drop down button hover combo box state or null if not used.
void Dragengine.Gui.Designers.DefaultComboBoxDesigner.setCreatorButtonDropDownNormal | ( | CanvasCreator | creator | ) |
Set canvas creator for drop down button normal combo box state.
|
protected |
Set design for dropped down combo box state.
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.
|
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.