|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.IlvLinkImage
ilog.views.graphic.IlvPolylineLinkImage
ilog.views.graphic.composite.IlvCompositeLink
ilog.views.sdm.graphic.IlvSDMCompositeLink
public class IlvSDMCompositeLink
This class adds layering features to the IlvCompositeLink class.
| Constructor Summary | |
|---|---|
IlvSDMCompositeLink()
Creates an IlvSDMCompositeLink instance. |
|
IlvSDMCompositeLink(IlvGraphic from,
IlvGraphic to,
boolean oriented)
Creates a new IlvSDMCompositeLink instance. |
|
IlvSDMCompositeLink(IlvGraphic from,
IlvGraphic to,
boolean oriented,
IlvLinkImage link)
Creates a new IlvSDMCompositeLink instance. |
|
IlvSDMCompositeLink(IlvInputStream stream)
Reads the object from an IlvInputStream. |
|
IlvSDMCompositeLink(IlvSDMCompositeLink source)
Creates an IlvSDMCompositeLink by copying an existing one. |
|
| Method Summary | |
|---|---|
IlvGraphic |
copy()
Copies the object. |
protected IlvCompositeGraphic |
createCompositeNode()
Returns the Composite Node instance used to lay out the children. |
int[] |
getLayers()
Returns the layers of the children of this IlvCompositeLink instance. |
int |
getLayers(int index)
Returns the layer of the child at the specified position. |
void |
setGraphicBag(IlvGraphicBag bag)
Changes the bag that contains the object. |
void |
setLayers(int[] layers)
Sets the layer of the child at the specified position of this object. |
void |
setLayers(int index,
int layer)
Sets the layer of the child at the specified position of this object. |
void |
updateLabelingModel(IlvSDMEngine engine,
IlvAnnealingLabelLayout layout,
ilog.views.sdm.internal.labellayout.IlvSDMLabelingModel model,
Object node,
IlvGraphic graphic)
You should not call this method directly. |
| Methods inherited from class ilog.views.IlvLinkImage |
|---|
arrowBBox, drawArrow, finalize, getArrowSize, getFrom, getFromBoundingBox, getFromTransformer, getLinkConnectorConnectionPoint, getLocalTransformerOf, getOpposite, getTo, getToBoundingBox, getToTransformer, getVisibleFrom, getVisibleTo, isPersistent, makeSelection, setFrom, setTo, zoomable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.views.IlvGraphicBag |
|---|
getGraphicBag |
| Constructor Detail |
|---|
public IlvSDMCompositeLink()
IlvSDMCompositeLink instance.
public IlvSDMCompositeLink(IlvGraphic from,
IlvGraphic to,
boolean oriented)
IlvSDMCompositeLink instance.
from - The origin object.to - The destination object.oriented - If true, an arrow is
drawn at the
destination point.
public IlvSDMCompositeLink(IlvGraphic from,
IlvGraphic to,
boolean oriented,
IlvLinkImage link)
IlvSDMCompositeLink instance.
from - The origin object.to - The destination object.oriented - If true, an arrow is
drawn at the
destination point.link - The link to be used for rendering.
public IlvSDMCompositeLink(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
stream - The input stream.
IlvReadFileException - if the format is not correct.public IlvSDMCompositeLink(IlvSDMCompositeLink source)
IlvSDMCompositeLink by copying an existing one.
source - The link to be copied.| Method Detail |
|---|
public IlvGraphic copy()
copy in class IlvCompositeLinkIlvGraphic instance.IlvGraphicpublic void setLayers(int[] layers)
public void setLayers(int index,
int layer)
public int getLayers(int index)
-1 if the child at the specified position is in the same layer as this
IlvCompositeGraphic.public int[] getLayers()
IlvCompositeLink instance.
-1 if the child is in the same layer as this IlvCompositeGraphic.public void setGraphicBag(IlvGraphicBag bag)
setGraphicBag in class IlvCompositeLinkbag - The graphic bag.IlvGraphicprotected IlvCompositeGraphic createCompositeNode()
createCompositeNode in class IlvCompositeLink
public void updateLabelingModel(IlvSDMEngine engine,
IlvAnnealingLabelLayout layout,
ilog.views.sdm.internal.labellayout.IlvSDMLabelingModel model,
Object node,
IlvGraphic graphic)
updateLabelingModel in interface ilog.views.sdm.internal.labellayout.IlvSDMLabeledNode
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||