Drag[en]gine Script Module DragonScript  1.21
Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign Class Reference

Design for a particular widget state. More...

Inheritance diagram for Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign:
Dragengine.Gui.Designers.DefaultCheckBoxDesigner.CheckBoxStateDesign Dragengine.Gui.Designers.DefaultImageDesigner.ImageStateDesign Dragengine.Gui.Designers.DefaultLabelDesigner.LabelStateDesign Dragengine.Gui.Designers.DefaultMenuItemSubMenuDesigner.MenuItemSubMenuStateDesign Dragengine.Gui.Designers.DefaultMenuItemToggleDesigner.MenuItemToggleStateDesign Dragengine.Gui.Designers.DefaultOptionBoxDesigner.OptionBoxStateDesign Dragengine.Gui.Designers.DefaultProgressBarDesigner.ProgressBarStateDesign Dragengine.Gui.Designers.DefaultSliderDesigner.SliderStateDesign Dragengine.Gui.Designers.DefaultVideoDesigner.VideoStateDesign

Public Member Functions

void apply (Widget widget)
 Apply state design to widget. More...
 
StateDesign copyDesign ()
 Create copy of state. More...
 
BorderFactory getBorderFactory ()
 Border factory or null. More...
 
CanvasCreator getCanvasCreator ()
 Canvas creator or null. More...
 
Font getFont ()
 Font or null. More...
 
Point getMinimumSize ()
 Minimum widget size or null. More...
 
MousePointerFactory getMousePointerFactory ()
 Mouse pointer factory or null. More...
 
BorderSize getPadding ()
 Padding or null. More...
 
Color getTextColor ()
 Text color or null. More...
 
void merge (StateDesign state)
 Merge states. More...
 
StateDesign new ()
 Create state design. More...
 
StateDesign new (StateDesign stateDesign)
 Create copy of state design. More...
 
void setBorderFactory (BorderFactory borderFactory)
 Set border factory or null. More...
 
void setCanvasCreator (CanvasCreator creator)
 Set canvas creator or null. More...
 
void setFont (Font font)
 Set font or null. More...
 
void setMinimumSize (Point size)
 Set minimum widget size or null. More...
 
void setMousePointerFactory (MousePointerFactory factory)
 Mouse pointer factory or null. More...
 
void setPadding (BorderSize padding)
 Set padding or null. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
void setTextColor (Color color)
 Set text color or null. More...
 

Detailed Description

Design for a particular widget state.

Member Function Documentation

◆ apply()

◆ copyDesign()

◆ getBorderFactory()

BorderFactory Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.getBorderFactory ( )

Border factory or null.

◆ getCanvasCreator()

CanvasCreator Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.getCanvasCreator ( )

Canvas creator or null.

◆ getFont()

Font Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.getFont ( )

Font or null.

◆ getMinimumSize()

Point Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.getMinimumSize ( )

Minimum widget size or null.

◆ getMousePointerFactory()

MousePointerFactory Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.getMousePointerFactory ( )

Mouse pointer factory or null.

◆ getPadding()

BorderSize Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.getPadding ( )

Padding or null.

◆ getTextColor()

Color Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.getTextColor ( )

Text color or null.

◆ merge()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.merge ( StateDesign  state)

Merge states.

Updates state with parameters of this state if defined. Used to find the first defined parameter for a series of states acting as fallback for each other.

◆ new() [1/2]

◆ new() [2/2]

StateDesign Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.new ( StateDesign  stateDesign)

Create copy of state design.

◆ setBorderFactory()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.setBorderFactory ( BorderFactory  borderFactory)

Set border factory or null.

◆ setCanvasCreator()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.setCanvasCreator ( CanvasCreator  creator)

Set canvas creator or null.

◆ setFont()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.setFont ( Font  font)

Set font or null.

◆ setMinimumSize()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.setMinimumSize ( Point  size)

Set minimum widget size or null.

◆ setMousePointerFactory()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.setMousePointerFactory ( MousePointerFactory  factory)

Mouse pointer factory or null.

◆ setPadding()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.setPadding ( BorderSize  padding)

Set padding or null.

◆ setParameter()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.setParameter ( String  name,
Object  value 
)

◆ setTextColor()

void Dragengine.Gui.Designers.DefaultWidgetDesigner.StateDesign.setTextColor ( Color  color)

Set text color or null.


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