|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.AnchorPattern
public class AnchorPattern
Represents a set of AnchorPoint
objects, which can be assigned to a
node via the DiagramNode.setAnchorPattern(com.mindfusion.diagramming.AnchorPattern)
method.
Constructor Summary | |
---|---|
AnchorPattern(AnchorPoint[] points,
java.lang.String id)
Creates an AnchorPattern for the specified points with the specified identifier. |
|
AnchorPattern(AnchorPointList points,
java.lang.String id)
Creates an AnchorPattern for the specified points with the specified identifier. |
|
AnchorPattern(java.lang.String id)
Creates a new empty AnchorPattern with the specified identifier. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a clone of the anchor pattern. |
static AnchorPattern |
fromId(java.lang.String id)
Returns the AnchorPattern object that has the specified identifier. |
java.lang.String |
getId()
Gets the identifier of this AnchorPattern. |
AnchorPointList |
getPoints()
Gets a list of the points in this AnchorPattern. |
void |
readExternal(java.io.ObjectInput in)
|
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnchorPattern(java.lang.String id)
id
- A string used to identify this AnchorPattern
.public AnchorPattern(AnchorPoint[] points, java.lang.String id)
points
- An array of AnchorPoint
objects representing the
anchor points.id
- A string used to identify this AnchorPattern
.public AnchorPattern(AnchorPointList points, java.lang.String id)
points
- An AnchorPointList
containing the anchor points.id
- A string used to identify this AnchorPattern
.Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
AnchorPattern
instance.public AnchorPointList getPoints()
AnchorPointList
instance.public static AnchorPattern fromId(java.lang.String id)
id
- An identifier of the looked-for AnchorPattern.
AnchorPattern
identified by the specified string.public java.lang.String getId()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |