public class IlvSplineLinkFilter extends Object implements Serializable
IlvSplineLinkFilter
is used by the layout algorithms that
support optimized spline routing. Its purpose is to detect which
objects are splines so that the optimized spline routing is only
applied to splines, and not to normal polyline links.
The default implementation detects all links where the method IlvLinkImage.isSpline()
returns true
. That is,
it detects IlvSplineLinkImage
, IlvCompositeLink
and IlvGeneralLink
with appropriate parameter
settings as splines.
IlvGraphLayout.setSplineLinkFilter(IlvSplineLinkFilter)
,
Serialized FormConstructor and Description |
---|
IlvSplineLinkFilter()
Creates a new instance of
IlvSplineLinkFilter . |
Modifier and Type | Method and Description |
---|---|
boolean |
isSpline(Object link)
Returns
true if the input object represents a spline
link. |
public IlvSplineLinkFilter()
IlvSplineLinkFilter
.public boolean isSpline(Object link)
true
if the input object represents a spline
link.link
- The link instancetrue
if the specified link represents a spline
link.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.