public interface IlvParameterizedCrossingAwareObject extends IlvCrossingAwareObject
IlvGraphic
that is able to display crossing
graphics (tunnels, jogs, bridges) at the place where lines cross
can implement this extension of the IlvCrossingAwareObject
interface if it understands the standard crossing parameters:
Modifier and Type | Field and Description |
---|---|
static int |
BRIDGE_CROSSINGS
Crossing mode: crossings are displayed with a bridge shape.
|
static int |
CUSTOM_CROSSINGS
Crossing mode: crossings are displayed with a shape that was
explicitly set via
setCrossingGraphic(ilog.views.IlvGraphic) . |
static int |
NO_CROSSINGS
Crossing mode: crossings are not displayed in any particular way.
|
static int |
TUNNEL_CROSSINGS
Crossing mode: crossings are displayed with a tunnel shape.
|
Modifier and Type | Method and Description |
---|---|
int |
getCrossingMode()
Returns the crossing mode of the crossing aware object.
|
double |
getGap()
Returns the gap width of the crossings.
|
int |
getLayerOfCrossingGraphic()
Returns the default layer of the graphic object that draws the crossings.
|
boolean |
isGapZoomable()
Returns
true if the gap of the crossings is zoomable. |
void |
setCrossingEnabled(boolean enable)
Sets whether tunnel/jog crossing display is enabled for this
crossing aware object.
|
void |
setCrossingGraphic(IlvGraphic g)
Sets the graphic object that draws the crossings.
|
void |
setCrossingMode(int mode)
Sets the crossing mode of the crossing aware object.
|
void |
setGap(double gap)
Sets the gap width of the crossings.
|
void |
setGapZoomable(boolean zoomable)
Sets whether the gap of the crossings is zoomable.
|
void |
setLayerOfCrossingGraphic(int layerNumber)
Sets the default layer of the graphic object that draws the crossings.
|
boundingBoxCrossingGraphic, containsAtCrossingGraphic, drawCrossingGraphic, getCrossingAwareGraphic, getCrossingAwareSegments, getCrossingGraphic, getLineWidth, isCrossingEnabled, removeAllCrossings, setCrossingAdjusting
static final int NO_CROSSINGS
setCrossingMode(int)
,
Constant Field Valuesstatic final int TUNNEL_CROSSINGS
setCrossingMode(int)
,
Constant Field Valuesstatic final int BRIDGE_CROSSINGS
setCrossingMode(int)
,
Constant Field Valuesstatic final int CUSTOM_CROSSINGS
setCrossingGraphic(ilog.views.IlvGraphic)
.setCrossingMode(int)
,
Constant Field Valuesvoid setCrossingMode(int mode)
NO_CROSSINGS
-
crossings are not displayed in any particular way.
TUNNEL_CROSSINGS
-
crossings are displayed with a tunnel shape.
BRIDGE_CROSSINGS
-
crossings are displayed with a bridge shape.
CUSTOM_CROSSINGS
-
crossings are displayed with a custom shape that was set
by setCrossingGraphic(ilog.views.IlvGraphic)
.
getCrossingMode()
int getCrossingMode()
setCrossingMode(int)
void setCrossingEnabled(boolean enable)
void setCrossingGraphic(IlvGraphic g)
IlvGraphic
that can draw
all the crossing points of this hyperedge. It must implement the
IlvCrossingGraphic
interface.void setLayerOfCrossingGraphic(int layerNumber)
-1
, an appropriate layer is
automatically calculated.getLayerOfCrossingGraphic()
int getLayerOfCrossingGraphic()
-1
if the layer is automatically calculated.setLayerOfCrossingGraphic(int)
void setGap(double gap)
getGap()
double getGap()
setGap(double)
void setGapZoomable(boolean zoomable)
isGapZoomable()
boolean isGapZoomable()
true
if the gap of the crossings is zoomable.setGapZoomable(boolean)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.