public final class IlvConstraintGraphicLayer extends IlvManagerLayer
IlvConstraintGraphicLayer
is a specific IlvManagerLayer
for the management of constraint graphics.IlvManagerLayer
,
Serialized FormConstructor and Description |
---|
IlvConstraintGraphicLayer()
Creates a new
IlvConstraintGraphicLayer . |
IlvConstraintGraphicLayer(int maxInNode,
int maxInList)
Creates a new
IlvConstraintGraphicLayer . |
Modifier and Type | Method and Description |
---|---|
void |
addConstraintGraphic(IlvConstraintGraphic constraintGraphic)
Adds an
IlvConstraintGraphic to this layer. |
Iterator<IlvConstraintGraphic> |
constraintGraphicsIterator()
Returns an iterator over all the
constraint
graphics in the layer. |
IlvConstraintGraphic |
getConstraintGraphic(IlvConstraint constraint)
Returns the
constraint graphic representing
the specified constraint in the layer. |
Collection<IlvConstraintGraphic> |
getConstraintGraphics()
Returns a collection of all the
constraint
graphics in the layer. |
void |
removeAllConstraintGraphics()
Removes all the constraint graphics from the specified layer.
|
void |
removeConstraintGraphic(IlvConstraintGraphic constraintGraphic)
Removes an
IlvConstraintGraphic from this layer. |
addVisibilityFilter, computeBBox, draw, drawImpl, getAlpha, getIndex, getManager, getName, getNamedProperty, getProperty, getVisibilityFilters, isSelectable, isTemporarilyHidden, isVisible, isVisible, print, removeNamedProperty, removeVisibilityFilter, setAlpha, setManager, setName, setNamedProperty, setProperty, write, writeIt
addObject, afterUpdate, beforeUpdate, collectObjects, collectSelectableObjects, deleteAll, getCardinal, getElements, getIndex, getManagers, getManagersCount, getObject, getObject, getSelectableObject, getSubsequentRemoveThreshold, isQuadtreeEnabled, isZOrdering, map, mapInside, mapInside, mapIntersects, mapIntersects, removeObject, setIndex, SetInitialNumberOfNonZoomablesCapacity, SetInitialNumberOfObjectsCapacity, setQuadtreeEnabled, setSubsequentRemoveThreshold, setZOrdering
public IlvConstraintGraphicLayer()
IlvConstraintGraphicLayer
. Once the layer is
created,
use the IlvManager.addLayer(ilog.views.IlvManagerLayer, int)
method to add it to
the manager.public IlvConstraintGraphicLayer(int maxInNode, int maxInList)
IlvConstraintGraphicLayer
. Once the layer is
created, you can use the IlvManager.addLayer(ilog.views.IlvManagerLayer, int)
method to add it to
the manager.maxInNode
- The maximum number of objects in a
quadtree node before the quadtree node divides itself
into four quadrants.maxInList
- The maximum number of objects in the layer
before the layer starts using a quadtree for the storage of
objects.public void addConstraintGraphic(IlvConstraintGraphic constraintGraphic)
IlvConstraintGraphic
to this layer.constraintGraphic
- The constraint graphic to add.public void removeConstraintGraphic(IlvConstraintGraphic constraintGraphic)
IlvConstraintGraphic
from this layer.constraintGraphic
- The constraint graphic to remove.public void removeAllConstraintGraphics()
public Iterator<IlvConstraintGraphic> constraintGraphicsIterator()
constraint
graphics
in the layer. The iterator will traverse over a copy of the
collection of graphics.IlvConstraintGraphic
constraint graphics.public Collection<IlvConstraintGraphic> getConstraintGraphics()
constraint
graphics
in the layer. The collection will be a copy of the graphics in
the layer.IlvConstraintGraphic
objects.public IlvConstraintGraphic getConstraintGraphic(IlvConstraint constraint)
constraint graphic
representing
the specified constraint in the layer.constraint
- The constraint.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.