|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.IlvMapGeometry
ilog.views.maps.geometry.IlvMapArea
ilog.views.maps.geometry.IlvMapMultiArea
public class IlvMapMultiArea
This class defines an area that is composed of a list of
IlvMapArea.
The instances of this class can be
rendered by an IlvDefaultFeatureRenderer or by an
IlvDefaultAreaRenderer.
| Constructor Summary | |
|---|---|
IlvMapMultiArea()
Initializes an instance of the class. |
|
| Method Summary | |
|---|---|
void |
addArea(IlvMapArea area)
Adds an area to this IlvMapMultiArea. |
boolean |
contains(IlvCoordinate c)
Returns true if c is contained in the object. |
IlvMapArea |
getArea(int index)
Returns the area at the specified position. |
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this IlvMapGeometry |
int |
getCardinal()
Returns the number of areas. |
IlvMapCurve |
getOutline()
Returns the outline of the area. |
void |
removeAll()
Removes all the areas. |
IlvMapArea |
removeArea(IlvMapArea area)
Removes the specified area and returns it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapMultiArea()
| Method Detail |
|---|
public int getCardinal()
public IlvMapArea getArea(int index)
index - The index that should be ranged between 0
and getCardinal() - 1.
IlvMapArea object that should not be modified.public void addArea(IlvMapArea area)
IlvMapMultiArea.
Since the area is not copied, the area should not be
modified after being added to the collection.
area - The area to be added.public IlvMapArea removeArea(IlvMapArea area)
area - The area to be removed.
public void removeAll()
public boolean contains(IlvCoordinate c)
true if c is contained in the object.
contains in class IlvMapAreac - The point to be checked.
true if c is contained
in the object.public IlvMapCurve getOutline()
IlvMapMultiArea changes.
getOutline in class IlvMapAreaIlvCurve object that should not be
modified.public Rectangle2D getBounds(Rectangle2D result)
IlvMapGeometry
getBounds in class IlvMapGeometry
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||