Module org.arakhne.afc.gis.giscore
Package org.arakhne.afc.gis.primitive
Interface GISContainer<T extends GISElement>
-
- Type Parameters:
T
- is the type of the containing layers.
- All Superinterfaces:
BoundedElement2afp<Rectangle2d>
,InformedIterable<T>
,Iterable<T>
- All Known Subinterfaces:
BusContainer<CONTENT>
,GISElementContainer<T>
,GISLayerContainer<L>
- All Known Implementing Classes:
AbstractBusContainer
,ArrayMapElementLayer
,BusItinerary
,BusLine
,BusLineLayer
,BusNetwork
,BusNetworkLayer
,GridMapElementLayer
,MapElementLayer
,MultiMapLayer
,RoadNetworkLayer
,TreeMapElementLayer
public interface GISContainer<T extends GISElement> extends InformedIterable<T>, BoundedElement2afp<Rectangle2d>
Container of GIS elements.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bindChangeListener(ChangeListener listener)
Bind the given listener to this container.int
getColor()
Replies the color of this container that could be used as default color by the inside elements.String
getName()
Replies the name of the container.void
resetBoundingBox()
Clear the current bounding box to force the computation of it at the next call toBoundedElement2afp.getBoundingBox()
.int
size()
Replies the count of map elements inside this container.-
Methods inherited from interface org.arakhne.afc.math.geometry.d2.afp.BoundedElement2afp
getBoundingBox
-
Methods inherited from interface org.arakhne.afc.util.InformedIterable
getElementType
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
getName
@Pure String getName()
Replies the name of the container.- Returns:
- the name of the container.
-
resetBoundingBox
void resetBoundingBox()
Clear the current bounding box to force the computation of it at the next call toBoundedElement2afp.getBoundingBox()
.
-
size
@Pure int size()
Replies the count of map elements inside this container.- Returns:
- the count of map elements inside this container.
-
getColor
@Pure int getColor()
Replies the color of this container that could be used as default color by the inside elements.- Returns:
- the container color.
-
bindChangeListener
void bindChangeListener(ChangeListener listener)
Bind the given listener to this container.- Parameters:
listener
- the listener.- Since:
- 16.0
-
-