All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class parsetree.TextFont

java.lang.Object
   |
   +----parsetree.Element
           |
           +----parsetree.Markup
                   |
                   +----parsetree.TextFont

public class TextFont
extends Markup

Variable Index

 o DEFAULT_COLOR
Konstante für den Farb-Default-Wert ist "schwarz"
 o DEFAULT_SIZE
Konstante für den Größen-Default-Wert ist "3"
 o MAX_SIZE
Konstante für die maximale Größe ist "7"
 o MIN_SIZE
Konstante für die minimale Größe ist "1"

Constructor Index

 o TextFont(Text, Color, int)

Method Index

 o changeAttribute(Attribute)
Setzt das Farb- und das Größen-Attribut
 o gettype()
Der Typ des Elements wird zurueckgegeben.

Variables

 o DEFAULT_COLOR
 public static final Color DEFAULT_COLOR
Konstante für den Farb-Default-Wert ist "schwarz"

 o DEFAULT_SIZE
 public static final int DEFAULT_SIZE
Konstante für den Größen-Default-Wert ist "3"

 o MIN_SIZE
 public static final int MIN_SIZE
Konstante für die minimale Größe ist "1"

 o MAX_SIZE
 public static final int MAX_SIZE
Konstante für die maximale Größe ist "7"

Constructors

 o TextFont
 public TextFont(Text text,
                 Color color,
                 int size) throws IllegalArgumentException

Methods

 o changeAttribute
 public Attribute changeAttribute(Attribute attr)
Setzt das Farb- und das Größen-Attribut

Parameters:
attr - die zuletzt gültigen Attribute
Overrides:
changeAttribute in class Markup
 o gettype
 public int gettype()
Der Typ des Elements wird zurueckgegeben.

Overrides:
gettype in class Markup

All Packages  Class Hierarchy  This Package  Previous  Next  Index