public class IlvCompositeGrapherPin extends IlvGrapherPin
IlvCompositeGrapherPin is designed to be used with IlvCompositeGraphic.
It connects a link to a child of an IlvCompositeGraphic.IlvCompositeGraphic,
Serialized Form| Constructor and Description |
|---|
IlvCompositeGrapherPin(IlvInputStream stream)
Reads the grapher pin from an IVL stream.
|
IlvCompositeGrapherPin(IlvPinLinkConnector connector,
String name,
IlvPoint offset)
Creates an
IlvCompositeGrapherPin instance. |
| Modifier and Type | Method and Description |
|---|---|
IlvPoint |
getPosition(IlvTransformer t)
Returns the position of the pin.
|
boolean |
isPersistent()
Always returns
true |
void |
write(IlvOutputStream stream)
Writes the grapher pin to an IVL stream.
|
allow, allowsMove, drawGhost, getColor, getNode, getPinLinkConnector, getSize, getType, isConnected, setPosition, zoomablepublic IlvCompositeGrapherPin(IlvPinLinkConnector connector, String name, IlvPoint offset)
IlvCompositeGrapherPin instance.connector - The link connector where this pin is added.name - This is the name of a child of the IlvCompositeGraphic corresponding to this pin,
that is, the node returned by the method IlvLinkConnector.getNode() called on this object.offset - A relative position in the node's bounding rectangle. The values of offset.x
and offset.y must be between -1 and 1.IlvLinkConnector.getNode()public IlvCompositeGrapherPin(IlvInputStream stream) throws IlvReadFileException, IOException
stream - The input stream.IlvReadFileExceptionIOExceptionpublic void write(IlvOutputStream stream) throws IOException
write in interface IlvPersistentObjectwrite in class IlvGrapherPinstream - The output stream.IOException - thrown when an exception occurs during
the write operation for this object.public IlvPoint getPosition(IlvTransformer t)
getPosition in class IlvGrapherPint - The transformer used to draw the node.IlvGrapherPin.setPosition(ilog.views.IlvPoint, ilog.views.IlvTransformer)public boolean isPersistent()
trueisPersistent in class IlvGrapherPinIlvGrapherPin.write(ilog.views.io.IlvOutputStream)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.