java.lang.Object
de.grogra.graph.impl.Edge
de.grogra.graph.impl.Node
de.grogra.imp2d.objects.Null
de.grogra.imp2d.objects.Shape2DBase
de.grogra.imp2d.objects.FillableShape2D
- All Implemented Interfaces:
AWTDrawable
,BoundedShape
,Connectable
,Transformation
,Pickable
,Manageable
,PersistenceCapable
,Shareable
,UserFields
,XObject
,Map
,Serializable
- Direct Known Subclasses:
Label
,NURBSShape2D
,QuadraticLine
,Shape2D
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.graph.impl.Node
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Node.NType
static final Node.NType.Field
static final Node.NType.Field
protected static final int
static final Node.NType.Field
static final Node.NType.Field
static final Node.NType.Field
protected static final int
static final Node.NType.Field
static final int
static final Node.NType.Field
Fields inherited from class de.grogra.imp2d.objects.Shape2DBase
color$FIELD, stroke$FIELD
Fields inherited from class de.grogra.imp2d.objects.Null
transform$FIELD, TRANSFORMING_MASK, transforming$FIELD
Fields inherited from class de.grogra.graph.impl.Node
ADDITIONAL_FIELDS, bits, DELETED, EXTENT_BIT, EXTENT_MASK, extentIndex$FIELD, extentTail$FIELD, HAS_OBSERVERS, IS_INTERPRETIVE, isInterpretive$FIELD, LAST_EXTENT_INDEX, layer$FIELD, MARK, mark$FIELD, MAX_RESOLUTION, MIME_TYPE, MIN_RESOLUTION, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELD, RESOLUTION_BIT, RESOLUTION_MASK, resolution$FIELD
Fields inherited from interface de.grogra.util.Map
DEFAULT_VALUE, EMPTY_MAP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawShape
(Object object, boolean asNode, AWTCanvas2D canvas, Shape s) getFont()
int
float
boolean
isFilled()
boolean
void
setCaption
(String value) void
setFillColor
(Color3f value) void
setFilled
(boolean v) void
setFont
(FontAdapter value) void
setHorizontalAlignment
(int value) void
setOutlined
(boolean v) void
setVerticalAlignment
(float value) Methods inherited from class de.grogra.imp2d.objects.Shape2DBase
draw, drawTool, getBounds, getColor, getConnectionPoint, getConnectionPoint, getEditable, getObject, getShape, getStroke, pick, pickBoundary, pickTool, setColor, setIfCloser, setStroke, testBoundary, toolEventOccured
Methods inherited from class de.grogra.imp2d.objects.Null
getNTypeImpl, getTransform, isTransforming, newInstance, postTransform, preTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransforming
Methods inherited from class de.grogra.graph.impl.Node
addEdgeBitsTo, addReference, appendBranchNode, appendBranchNode, appendReferencesTo, clone, clone, cloneGraph, dump, dumpTree, dup, dupFrom, dupnew, dupUnmanagedFields, edgeChanged, fieldModified, findAdjacent, findRefinementType, get, getAccessor, getAccessor, getAttributes, getAxisParent, getBoolean, getBranch, getBranchLength, getBranchNode, getBranchTail, getByte, getChar, getCommonAncestor, getCurrentGraphState, getDirectChildCount, getDouble, getEdgeAttributeAccessor, getEdgeAttributes, getEdgeBitsTo, getEdgeTo, getExtentIndex, getFirst, getFirstEdge, getFloat, getGraph, getId, getIgnored, getIndex, getInstantiator, getInt, getLayer, getLong, getManageableType, getName, getNeighbor, getNext, getNType, getOrCreateEdgeTo, getOrNull, getPersistenceManager, getPredecessor, getProvider, getResolution, getShort, getSource, getStamp, getSuccessor, getSymbol, getSymbolColor, getTarget, getTransaction, getUserField, getUserFieldCount, getXClass, getXData, hasName, initProvider, initXClass, insertBranchNode, insertBranchNode, instantiateGraph, isAncestorOf, isDirection, isEncoarseOf, isManagingInstance, isMarked, isRoot, isSource, isTarget, manageableReadResolve, manageableWriteReplace, paramString, removeAll, removeEdgeBitsTo, removeFromChain, removeFromChain, removeReference, setBranch, setBranch, setExtentIndex, setGraphForDeserialization, setIgnored, setLayer, setMark, setName, setResolution, setSuccessor, setSuccessor, specialEdgeAdded, specialEdgeRefModified, specialEdgeRemoved, toString, writeReplace
Methods inherited from class de.grogra.graph.impl.Edge
addEdgeBits, getBitMark, getEdgeBits, getEdgeKeys, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBits
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.persistence.PersistenceCapable
getBitMark, getObjectMark, setBitMark, setObjectMark
-
Field Details
-
OUTLINED_MASK
protected static final int OUTLINED_MASK- See Also:
-
FILLED_MASK
protected static final int FILLED_MASK- See Also:
-
USED_BITS
public static final int USED_BITS- See Also:
-
$TYPE
-
fillColor$FIELD
-
caption$FIELD
-
font$FIELD
-
verticalAlignment$FIELD
-
horizontalAlignment$FIELD
-
outlined$FIELD
-
filled$FIELD
-
-
Constructor Details
-
FillableShape2D
public FillableShape2D()
-
-
Method Details
-
getHorizontalAlignment
public int getHorizontalAlignment() -
setHorizontalAlignment
public void setHorizontalAlignment(int value) -
getVerticalAlignment
public float getVerticalAlignment() -
setVerticalAlignment
public void setVerticalAlignment(float value) -
getFillColor
-
setFillColor
-
getCaption
-
setCaption
-
getFont
-
setFont
-
isOutlined
public boolean isOutlined() -
setOutlined
public void setOutlined(boolean v) -
isFilled
public boolean isFilled() -
setFilled
public void setFilled(boolean v) -
drawShape
- Overrides:
drawShape
in classShape2DBase
-