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

Default implementation of WidgetDesigner for DisplayImage. More...

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

Classes

class  ImageStateDesign
 Design for a particular widget state. More...
 

Public Member Functions

WidgetDesigner copyDesigner ()
 Create copy of designer. More...
 
ImageStateDesign getImageDesignDisabled ()
 Design for disabled state. More...
 
ImageStateDesign getImageDesignFocused ()
 Design for focused state. More...
 
ImageStateDesign getImageDesignFocusedHover ()
 Design for focused hover state. More...
 
ImageStateDesign getImageDesignHover ()
 Design for hover state. More...
 
ImageStateDesign getImageDesignNormal ()
 Design for normal state. More...
 
DefaultImageDesigner new ()
 Create new image designer. More...
 
DefaultImageDesigner new (DefaultImageDesigner designer)
 Create copy of widget designer designer. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
- Public Member Functions inherited from Dragengine.Gui.Designers.DefaultWidgetDesigner
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...
 
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 DisplayImage.

Member Function Documentation

◆ copyDesigner()

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

Create copy of designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ getImageDesignDisabled()

ImageStateDesign Dragengine.Gui.Designers.DefaultImageDesigner.getImageDesignDisabled ( )

Design for disabled state.

◆ getImageDesignFocused()

ImageStateDesign Dragengine.Gui.Designers.DefaultImageDesigner.getImageDesignFocused ( )

Design for focused state.

◆ getImageDesignFocusedHover()

ImageStateDesign Dragengine.Gui.Designers.DefaultImageDesigner.getImageDesignFocusedHover ( )

Design for focused hover state.

◆ getImageDesignHover()

ImageStateDesign Dragengine.Gui.Designers.DefaultImageDesigner.getImageDesignHover ( )

Design for hover state.

◆ getImageDesignNormal()

ImageStateDesign Dragengine.Gui.Designers.DefaultImageDesigner.getImageDesignNormal ( )

Design for normal state.

◆ new() [1/2]

DefaultImageDesigner Dragengine.Gui.Designers.DefaultImageDesigner.new ( )

Create new image designer.

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.

◆ new() [2/2]

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

Create copy of widget designer designer.

◆ setParameter()

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

Set parameter.

See DefaultWidgetDesigner.setParameter for supported parameters.

Additional supported parameters:

name value Setter
{state}.imageColorTransform ColorMatrix getDesign{state}.setImageColorTransform
{state}.image Image getDesign{state}.setImage

Reimplemented from Dragengine.Gui.Designers.DefaultWidgetDesigner.


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