Package de.kappich.pat.gnd.pointPlugin
Class DOTPoint.PrimitiveFormType
- java.lang.Object
-
- de.kappich.pat.gnd.pointPlugin.DOTPoint.PrimitiveFormType
-
- Enclosing class:
- DOTPoint
public static final class DOTPoint.PrimitiveFormType extends java.lang.ObjectEine Enumeration aller Grundfigurtypen. Jeder Grundfigurtyp hat nur einen eindeutigen Namen.
-
-
Field Summary
Fields Modifier and Type Field Description static DOTPoint.PrimitiveFormTypeHALBKREISstatic DOTPoint.PrimitiveFormTypeKREISstatic DOTPoint.PrimitiveFormTypePUNKTstatic DOTPoint.PrimitiveFormTypeRECHTECKstatic DOTPoint.PrimitiveFormTypeTEXTDARSTELLUNG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetName()Gibt den Namen zurück.static DOTPoint.PrimitiveFormTypegetPrimitiveFormType(java.lang.String name)Wandelt den String in ein PrimitiveFormType-Objekt.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
PUNKT
public static final DOTPoint.PrimitiveFormType PUNKT
-
RECHTECK
public static final DOTPoint.PrimitiveFormType RECHTECK
-
KREIS
public static final DOTPoint.PrimitiveFormType KREIS
-
HALBKREIS
public static final DOTPoint.PrimitiveFormType HALBKREIS
-
TEXTDARSTELLUNG
public static final DOTPoint.PrimitiveFormType TEXTDARSTELLUNG
-
-
Method Detail
-
getPrimitiveFormType
@Nullable public static DOTPoint.PrimitiveFormType getPrimitiveFormType(java.lang.String name)
Wandelt den String in ein PrimitiveFormType-Objekt.- Parameters:
name- der Name des Types- Returns:
- der Typ
-
getName
public java.lang.String getName()
Gibt den Namen zurück.- Returns:
- den Namen
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-