public class DOTProperty
extends java.lang.Object
Die Klasse ist ein typsicheres Enum-Muster für die Visualisierungseigenschaften der darzustellenden Objekte oder ihrer Grundfiguren wie Farbe, Transparenz, Abstand, Textstil usw.
Modifier and Type | Field and Description |
---|---|
static DOTProperty |
ABSTAND |
static DOTProperty |
DURCHMESSER |
static DOTProperty |
FARBE |
static DOTProperty |
FUELLUNG |
static DOTProperty |
GROESSE |
static DOTProperty |
STRICHBREITE |
static DOTProperty |
TEXT |
static DOTProperty |
TEXTSTIL |
static DOTProperty |
TRANSPARENZ |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Die Implementation hier verhindert versehentliches Überschreiben (nach J.
|
static DOTProperty |
getProperty(java.lang.String name)
Gibt die gewünschte Eigenschaft zurück, wenn sie existiert, und
null sonst. |
int |
hashCode()
Die Implementation hier verhindert versehentliches Überschreiben (nach J.
|
java.lang.String |
toString()
Gibt nur den Namen der Eigenschaft zurück.
|
public static final DOTProperty FARBE
public static final DOTProperty ABSTAND
public static final DOTProperty STRICHBREITE
public static final DOTProperty DURCHMESSER
public static final DOTProperty FUELLUNG
public static final DOTProperty GROESSE
public static final DOTProperty TRANSPARENZ
public static final DOTProperty TEXT
public static final DOTProperty TEXTSTIL
public java.lang.String toString()
Gibt nur den Namen der Eigenschaft zurück.
toString
in class java.lang.Object
public final boolean equals(java.lang.Object o)
Die Implementation hier verhindert versehentliches Überschreiben (nach J. Bloch).
equals
in class java.lang.Object
public final int hashCode()
Die Implementation hier verhindert versehentliches Überschreiben (nach J. Bloch).
hashCode
in class java.lang.Object
public static DOTProperty getProperty(java.lang.String name)
Gibt die gewünschte Eigenschaft zurück, wenn sie existiert, und null
sonst.