Drag[en]gine Script Module DragonScript Script API  1.0
CanvasCreatorDecorationFactory Class Reference

Factory for CanvasCreatorDecoration. More...

Inheritance diagram for CanvasCreatorDecorationFactory:
DefaultDecorationFactory DecorationFactory

Public Member Functions

DecorationFactory copyFactory ()
 Create factory copy. More...
 
Decoration createDecoration ()
 Create decoration. More...
 
CanvasCreator getCreatorActive ()
 Canvas creator factory for active window. More...
 
CanvasCreator getCreatorInactive ()
 Canvas creator factory for inactive window. More...
 
BorderSize getDecorationSize ()
 Decoration border size. More...
 
Image getImageButtonCloseHover ()
 Image for close button in hover state. More...
 
Image getImageButtonCloseNormal ()
 Image for close button in normal state. More...
 
Image getImageButtonClosePressed ()
 Image for close button in pressed state. More...
 
Image getImageButtonMaximizeHover ()
 Image for maximize button in hover state. More...
 
Image getImageButtonMaximizeNormal ()
 Image for maximize button in normal state. More...
 
Image getImageButtonMaximizePressed ()
 Image for maximize button in pressed state. More...
 
Image getImageButtonMinimizeHover ()
 Image for minimize button in hover state. More...
 
Image getImageButtonMinimizeNormal ()
 Image for minimize button in normal state. More...
 
Image getImageButtonMinimizePressed ()
 Image for minimize button in pressed state. More...
 
CanvasCreatorDecorationFactory new ()
 Create decoration factory. More...
 
CanvasCreatorDecorationFactory new (CanvasCreatorDecorationFactory factory)
 Create copy of decoration factory. More...
 
void setCreatorActive (CanvasCreator factory)
 Set canvas creator factory for active window. More...
 
void setCreatorInactive (CanvasCreator factory)
 Set canvas creator factory for inactive window. More...
 
void setDecorationSize (BorderSize size)
 Set decoration border size. More...
 
void setImageButtonCloseHover (Image image)
 Set image for close button in hover state. More...
 
void setImageButtonCloseNormal (Image image)
 Set image for close button in normal state. More...
 
void setImageButtonClosePressed (Image image)
 Set image for close button in pressed state. More...
 
void setImageButtonMaximizeHover (Image image)
 Set image for maximize button in hover state. More...
 
void setImageButtonMaximizeNormal (Image image)
 Set image for maximize button in normal state. More...
 
void setImageButtonMaximizePressed (Image image)
 Set image for maximize button in pressed state. More...
 
void setImageButtonMinimizeHover (Image image)
 Set image for minimize button in hover state. More...
 
void setImageButtonMinimizeNormal (Image image)
 Set image for minimize button in normal state. More...
 
void setImageButtonMinimizePressed (Image image)
 Set image for minimize button in pressed state. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
- Public Member Functions inherited from DefaultDecorationFactory
DecorationFactory copyFactory ()
 Create factory copy. More...
 
Decoration createDecoration ()
 Create decoration. More...
 
Color getActiveTitleColor ()
 Color of the active window title. More...
 
Font getActiveTitleFont ()
 Font for active window title. More...
 
Color getInactiveTitleColor ()
 Color of the inactive window title. More...
 
Font getInactiveTitleFont ()
 Font for inactive window title. More...
 
DefaultDecorationFactory new ()
 
DefaultDecorationFactory new (DefaultDecorationFactory factory)
 Create copy of decoration factory. More...
 
void setActiveTitleColor (Color color)
 Set color of the active window title. More...
 
void setActiveTitleFont (Font font)
 Set font for active window title. More...
 
void setInactiveTitleColor (Color color)
 Set color of the inactive window title. More...
 
void setInactiveTitleFont (Font font)
 Set font for inactive window title. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 

Protected Member Functions

void initCanvasCreatorDecoration (CanvasCreatorDecoration decoration)
 Init canvas creator decoration part for use by subclasses. More...
 
- Protected Member Functions inherited from DefaultDecorationFactory
void initDefaultDecoration (DefaultDecoration decoration)
 Init default decoration part for use by subclasses. More...
 

Detailed Description

Member Function Documentation

◆ copyFactory()

DecorationFactory copyFactory ( )

Create factory copy.

Implements DecorationFactory.

◆ createDecoration()

Decoration createDecoration ( )

Create decoration.

Implements DecorationFactory.

◆ getCreatorActive()

CanvasCreator getCreatorActive ( )

Canvas creator factory for active window.

◆ getCreatorInactive()

CanvasCreator getCreatorInactive ( )

Canvas creator factory for inactive window.

◆ getDecorationSize()

BorderSize getDecorationSize ( )

Decoration border size.

◆ getImageButtonCloseHover()

Image getImageButtonCloseHover ( )

Image for close button in hover state.

◆ getImageButtonCloseNormal()

Image getImageButtonCloseNormal ( )

Image for close button in normal state.

◆ getImageButtonClosePressed()

Image getImageButtonClosePressed ( )

Image for close button in pressed state.

◆ getImageButtonMaximizeHover()

Image getImageButtonMaximizeHover ( )

Image for maximize button in hover state.

◆ getImageButtonMaximizeNormal()

Image getImageButtonMaximizeNormal ( )

Image for maximize button in normal state.

◆ getImageButtonMaximizePressed()

Image getImageButtonMaximizePressed ( )

Image for maximize button in pressed state.

◆ getImageButtonMinimizeHover()

Image getImageButtonMinimizeHover ( )

Image for minimize button in hover state.

◆ getImageButtonMinimizeNormal()

Image getImageButtonMinimizeNormal ( )

Image for minimize button in normal state.

◆ getImageButtonMinimizePressed()

Image getImageButtonMinimizePressed ( )

Image for minimize button in pressed state.

◆ initCanvasCreatorDecoration()

void initCanvasCreatorDecoration ( CanvasCreatorDecoration  decoration)
protected

Init canvas creator decoration part for use by subclasses.

◆ new() [1/2]

Create decoration factory.

◆ new() [2/2]

Create copy of decoration factory.

◆ setCreatorActive()

void setCreatorActive ( CanvasCreator  factory)

Set canvas creator factory for active window.

◆ setCreatorInactive()

void setCreatorInactive ( CanvasCreator  factory)

Set canvas creator factory for inactive window.

◆ setDecorationSize()

void setDecorationSize ( BorderSize  size)

Set decoration border size.

◆ setImageButtonCloseHover()

void setImageButtonCloseHover ( Image  image)

Set image for close button in hover state.

◆ setImageButtonCloseNormal()

void setImageButtonCloseNormal ( Image  image)

Set image for close button in normal state.

◆ setImageButtonClosePressed()

void setImageButtonClosePressed ( Image  image)

Set image for close button in pressed state.

◆ setImageButtonMaximizeHover()

void setImageButtonMaximizeHover ( Image  image)

Set image for maximize button in hover state.

◆ setImageButtonMaximizeNormal()

void setImageButtonMaximizeNormal ( Image  image)

Set image for maximize button in normal state.

◆ setImageButtonMaximizePressed()

void setImageButtonMaximizePressed ( Image  image)

Set image for maximize button in pressed state.

◆ setImageButtonMinimizeHover()

void setImageButtonMinimizeHover ( Image  image)

Set image for minimize button in hover state.

◆ setImageButtonMinimizeNormal()

void setImageButtonMinimizeNormal ( Image  image)

Set image for minimize button in normal state.

◆ setImageButtonMinimizePressed()

void setImageButtonMinimizePressed ( Image  image)

Set image for minimize button in pressed state.

◆ setParameter()

void setParameter ( String  name,
Object  value 
)

Set parameter.

Supported parameters: | name | value | Setter | | decorationSize | BorderSize | setDecorationSize | | active.canvas | CanvasCreator | setCreatorActive | | active.title.textColor | Color | setActiveTitleColor | | active.title.font | Font | setActiveTitleFont | | inactive.canvas | CanvasCreator | setCreatorInactive | | inactive.title.textColor | Color | setInactiveTitleColor | | inactive.title.font | Font | setInactiveTitleFont | | imageButtonCloseNormal | Image | setImageButtonCloseNormal | | imageButtonCloseHover | Image | setImageButtonCloseHover | | imageButtonClosePressed | Image | setImageButtonClosePressed | | imageButtonMaximizeNormal | Image | setImageButtonMaximizeNormal | | imageButtonMaximizeHover | Image | setImageButtonMaximizeHover | | imageButtonMaximizePressed | Image | setImageButtonMaximizePressed | | imageButtonMinimizeNormal | Image | setImageButtonMinimizeNormal | | imageButtonMinimizeHover | Image | setImageButtonMinimizeHover | | imageButtonMinimizePressed | Image | setImageButtonMinimizePressed |

Implements DecorationFactory.


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