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
-
DEFAULT_COLOR
- Konstante für den Farb-Default-Wert ist "schwarz"
-
DEFAULT_SIZE
- Konstante für den Größen-Default-Wert ist "3"
-
MAX_SIZE
- Konstante für die maximale Größe ist "7"
-
MIN_SIZE
- Konstante für die minimale Größe ist "1"
-
TextFont(Text, Color, int)
-
-
changeAttribute(Attribute)
- Setzt das Farb- und das Größen-Attribut
-
gettype()
- Der Typ des Elements wird zurueckgegeben.
DEFAULT_COLOR
public static final Color DEFAULT_COLOR
- Konstante für den Farb-Default-Wert ist "schwarz"
DEFAULT_SIZE
public static final int DEFAULT_SIZE
- Konstante für den Größen-Default-Wert ist "3"
MIN_SIZE
public static final int MIN_SIZE
- Konstante für die minimale Größe ist "1"
MAX_SIZE
public static final int MAX_SIZE
- Konstante für die maximale Größe ist "7"
TextFont
public TextFont(Text text,
Color color,
int size) throws IllegalArgumentException
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
gettype
public int gettype()
- Der Typ des Elements wird zurueckgegeben.
- Overrides:
- gettype in class Markup
All Packages Class Hierarchy This Package Previous Next Index