Class AttSchriftStil
- java.lang.Object
-
- java.lang.Number
-
- de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Integer>
-
- de.bsvrz.sys.funclib.bitctrl.modell.bitctrleclipse.attribute.AttSchriftStil
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Integer>>
@Wertebereich(minimum=0L, maximum=3L, einheit="") @Defaultwert(wert="0") public class AttSchriftStil extends de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Integer>
Beschreibt einen Schriftstil.Die Zahlenwerte der Schriftstile sind so gewählt, dass sie den SWT-Konstanten in Eclipse 3.5 entsprechen.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EINHEIT
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
static java.lang.Integer
MAX_VALUE
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
static java.lang.Integer
MIN_VALUE
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
static AttSchriftStil
ZUSTAND_0_NORMAL
static AttSchriftStil
ZUSTAND_1_FETT
static AttSchriftStil
ZUSTAND_2_KURSIV
static AttSchriftStil
ZUSTAND_3_FETT_UND_KURSIV
-
Constructor Summary
Constructors Constructor Description AttSchriftStil(java.lang.Integer value)
Erzeugte eine neues Attribut SchriftStil.
-
Method Summary
Modifier and Type Method Description static java.util.List<AttSchriftStil>
getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.static AttSchriftStil
getZustand(java.lang.Integer value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.static AttSchriftStil
getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.
-
-
-
Field Detail
-
MIN_VALUE
@Deprecated public static final java.lang.Integer MIN_VALUE
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
Der minimale Wert des Attributs.
-
MAX_VALUE
@Deprecated public static final java.lang.Integer MAX_VALUE
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
Der maximale Wert des Attributs.
-
EINHEIT
@Deprecated public static final java.lang.String EINHEIT
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
Die Einheit.- See Also:
- Constant Field Values
-
ZUSTAND_0_NORMAL
public static final AttSchriftStil ZUSTAND_0_NORMAL
-
ZUSTAND_1_FETT
public static final AttSchriftStil ZUSTAND_1_FETT
-
ZUSTAND_2_KURSIV
public static final AttSchriftStil ZUSTAND_2_KURSIV
-
ZUSTAND_3_FETT_UND_KURSIV
public static final AttSchriftStil ZUSTAND_3_FETT_UND_KURSIV
-
-
Method Detail
-
getZustand
public static AttSchriftStil getZustand(java.lang.Integer value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.- Parameters:
value
- ein Zahlenwert- Returns:
- der Zustand zu dem Zahlenwert oder
null
, wenn die Zahl keine Entsprechnung als Zustand besitzt.
-
getZustand
public static AttSchriftStil getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.- Parameters:
value
- der Zustandsname- Returns:
- der Zustand zu dem Zustandsnamen oder
null
, wenn kein Zustand einen solchen Namen hat.
-
getZustaende
public static java.util.List<AttSchriftStil> getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.- Returns:
- alle Zustände die das Attribut annehmen kann.
-
-