Drag[en]gine Script Module DragonScript Script API  1.0
DefaultDecorationFactory Class Reference
Inheritance diagram for DefaultDecorationFactory:
DecorationFactory CanvasCreatorDecorationFactory CornerDecorationFactory SimpleDecorationFactory

Public Member Functions

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 initDefaultDecoration (DefaultDecoration decoration)
 Init default decoration part for use by subclasses. More...
 

Detailed Description

Factory for no default decorations. Equals no decoration at all.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

◆ copyFactory()

DecorationFactory copyFactory ( )

Create factory copy.

Implements DecorationFactory.

◆ createDecoration()

Decoration createDecoration ( )

Create decoration.

Implements DecorationFactory.

◆ getActiveTitleColor()

Color getActiveTitleColor ( )

Color of the active window title.

◆ getActiveTitleFont()

Font getActiveTitleFont ( )

Font for active window title.

◆ getInactiveTitleColor()

Color getInactiveTitleColor ( )

Color of the inactive window title.

◆ getInactiveTitleFont()

Font getInactiveTitleFont ( )

Font for inactive window title.

◆ initDefaultDecoration()

void initDefaultDecoration ( DefaultDecoration  decoration)
protected

Init default decoration part for use by subclasses.

◆ new() [1/2]

Creates a new decoration factory.

◆ new() [2/2]

Create copy of decoration factory.

◆ setActiveTitleColor()

void setActiveTitleColor ( Color  color)

Set color of the active window title.

◆ setActiveTitleFont()

void setActiveTitleFont ( Font  font)

Set font for active window title.

◆ setInactiveTitleColor()

void setInactiveTitleColor ( Color  color)

Set color of the inactive window title.

◆ setInactiveTitleFont()

void setInactiveTitleFont ( Font  font)

Set font for inactive window title.

◆ setParameter()

void setParameter ( String  name,
Object  value 
)

Set parameter.

Supported parameters: | name | value | Setter | | active.title.textColor | Color | setActiveTitleColor | | active.title.font | Font | setActiveTitleFont | | inactive.title.textColor | Color | setInactiveTitleColor | | inactive.title.font | Font | setInactiveTitleFont |

Implements DecorationFactory.


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