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

Default implementation of WidgetDesigner for Window. More...

Inheritance diagram for Dragengine.Gui.Designers.DefaultWindowDesigner:
Dragengine.Gui.Designers.DefaultWidgetDesigner Dragengine.Gui.Designers.WidgetDesigner

Public Member Functions

WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
Decoration createDecoration ()
 Create decoration for window. More...
 
void designWidget (Widget widget)
 Design widget. More...
 
DecorationFactory getDecorationFactory ()
 Decoration factory or null. More...
 
Color getModalDarkenColor ()
 Darkening color while modal window is in use. More...
 
DefaultWindowDesigner new ()
 Create new button designer. More...
 
DefaultWindowDesigner new (DefaultWindowDesigner designer)
 Create copy of widget designer. More...
 
void setDecorationFactory (DecorationFactory decorationFactory)
 Set decoration factory or null. More...
 
void setModalDarkenColor (Color color)
 Set darkening color while modal window is in use. 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...
 

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...
 

Detailed Description

Default implementation of WidgetDesigner for Window.

Member Function Documentation

◆ copyDesigner()

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

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ createDecoration()

Decoration Dragengine.Gui.Designers.DefaultWindowDesigner.createDecoration ( )

Create decoration for window.

◆ designWidget()

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

Design widget.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ getDecorationFactory()

DecorationFactory Dragengine.Gui.Designers.DefaultWindowDesigner.getDecorationFactory ( )

Decoration factory or null.

◆ getModalDarkenColor()

Color Dragengine.Gui.Designers.DefaultWindowDesigner.getModalDarkenColor ( )

Darkening color while modal window is in use.

◆ new() [1/2]

DefaultWindowDesigner Dragengine.Gui.Designers.DefaultWindowDesigner.new ( )

Create new button designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

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

Create copy of widget designer.

◆ setDecorationFactory()

void Dragengine.Gui.Designers.DefaultWindowDesigner.setDecorationFactory ( DecorationFactory  decorationFactory)

Set decoration factory or null.

◆ setModalDarkenColor()

void Dragengine.Gui.Designers.DefaultWindowDesigner.setModalDarkenColor ( Color  color)

Set darkening color while modal window is in use.

◆ setParameter()

void Dragengine.Gui.Designers.DefaultWindowDesigner.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 | | decoration | DecorationFactory | setDecorationFactory | | modalDarken | Color | setModalDarkenColor |

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.


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