public static class IlvGrapherPinRenderer.SDMGrapherPin extends IlvGrapherPin
SDMGrapherPin
implements the
grapher pins used by the IlvGrapherPinRenderer
.
This class is public only to allow saving in an IVL file the contents of a grapher associated with an SDM engine and containing grapher pin information.
Constructor and Description |
---|
SDMGrapherPin(IlvInputStream stream)
Reads the grapher pin from an IVL stream.
|
SDMGrapherPin(IlvPinLinkConnector connector,
IlvSDMEngine engine,
double x,
double y)
Creates a new
SDMGrapherPin . |
Modifier and Type | Method and Description |
---|---|
IlvPoint |
getPosition(IlvTransformer t)
Returns the position of the pin in the node.
|
void |
write(IlvOutputStream stream)
Writes the grapher pin to an IVL stream.
|
allow, allowsMove, drawGhost, getColor, getNode, getPinLinkConnector, getSize, getType, isConnected, isPersistent, setPosition, zoomable
public SDMGrapherPin(IlvPinLinkConnector connector, IlvSDMEngine engine, double x, double y)
SDMGrapherPin
.public SDMGrapherPin(IlvInputStream stream) throws IlvReadFileException, IOException
stream
- The input stream.IlvReadFileException
IOException
public void write(IlvOutputStream stream) throws IOException
write
in interface IlvPersistentObject
write
in class IlvGrapherPin
stream
- The output stream.IOException
- thrown when an exception occurs during
the write operation for this object.public IlvPoint getPosition(IlvTransformer t)
getPosition
in class IlvGrapherPin
t
- The transformer used to draw the node.IlvGrapherPin.setPosition(ilog.views.IlvPoint, ilog.views.IlvTransformer)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.