Drag[en]gine Script Module DragonScript  1.21
Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory Class Reference

Factory for TitledTwoColorBorder. More...

Inheritance diagram for Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory:
Dragengine.Gui.Borders.Factories.TwoColorBorderFactory Dragengine.Gui.Borders.Factories.BorderFactory Dragengine.Gui.Borders.Factories.TitledEtchedBorderFactory

Public Member Functions

BorderFactory copyFactory ()
 Create factory copy. More...
 
Border createBorder ()
 Create border. More...
 
Font getFont ()
 Font or null to use widget font. More...
 
String getText ()
 Text or null to use widget title. More...
 
Color getTextColor ()
 Text color or null to use widget text color. More...
 
TitledTwoColorBorderFactory new ()
 Create titled two color border factory. More...
 
TitledTwoColorBorderFactory new (String text)
 
TitledTwoColorBorderFactory new (TitledTwoColorBorderFactory factory)
 Create copy of border factory. More...
 
void setFont (Font font)
 Set font or null to use widget font. More...
 
void setParameter (String name, Object value)
 Set parameter. More...
 
void setText (String text)
 Set text or null to use widget title. More...
 
void setTextColor (Color color)
 Set text color or null to use widget text color. More...
 
- Public Member Functions inherited from Dragengine.Gui.Borders.Factories.TwoColorBorderFactory
Color getColorHighlight ()
 Highlight color or null to not draw. More...
 
Color getColorHilight ()
 
Color getColorShadow ()
 Shadow color or null to not draw. More...
 
bool getRaised ()
 Border is raised or lowered. More...
 
TwoColorBorderFactory new (TwoColorBorderFactory factory)
 Create copy of border factory. More...
 
void setColorHighlight (Color color)
 Set highlight color or null to not draw. More...
 
void setColorHilight (Color color)
 
void setColorShadow (Color color)
 Set shadow color or null to not draw. More...
 
void setRaised (bool raised)
 Set if border is raised or lowered. More...
 

Public Attributes

Font pFont
 
String pText
 
Color pTextColor
 

Detailed Description

Factory for TitledTwoColorBorder.

Member Function Documentation

◆ copyFactory()

BorderFactory Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.copyFactory ( )

◆ createBorder()

Border Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.createBorder ( )

◆ getFont()

Font Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.getFont ( )

Font or null to use widget font.

◆ getText()

String Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.getText ( )

Text or null to use widget title.

◆ getTextColor()

Color Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.getTextColor ( )

Text color or null to use widget text color.

◆ new() [1/3]

TitledTwoColorBorderFactory Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.new ( )

Create titled two color border factory.

Reimplemented from Dragengine.Gui.Borders.Factories.TwoColorBorderFactory.

Reimplemented in Dragengine.Gui.Borders.Factories.TitledEtchedBorderFactory.

◆ new() [2/3]

TitledTwoColorBorderFactory Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.new ( String  text)

◆ new() [3/3]

TitledTwoColorBorderFactory Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.new ( TitledTwoColorBorderFactory  factory)

Create copy of border factory.

◆ setFont()

void Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.setFont ( Font  font)

Set font or null to use widget font.

◆ setParameter()

void Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.setParameter ( String  name,
Object  value 
)

Set parameter.

Reimplemented from Dragengine.Gui.Borders.Factories.TwoColorBorderFactory.

◆ setText()

void Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.setText ( String  text)

Set text or null to use widget title.

◆ setTextColor()

void Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.setTextColor ( Color  color)

Set text color or null to use widget text color.

Member Data Documentation

◆ pFont

Font Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.pFont

◆ pText

String Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.pText

◆ pTextColor

Color Dragengine.Gui.Borders.Factories.TitledTwoColorBorderFactory.pTextColor

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