Module org.arakhne.afc.gis.giscore
Package org.arakhne.afc.gis.primitive
Interface GISTreeBrowsable<E extends GISBrowsable>
-
- Type Parameters:
E
- is the type of displayable elements
- All Superinterfaces:
GISBrowsable
,GISPrimitive
,JsonableObject
,Serializable
- All Known Implementing Classes:
BusLineLayer
,BusNetworkLayer
,MultiMapLayer
public interface GISTreeBrowsable<E extends GISBrowsable> extends GISBrowsable
Describe a GIS element that could be displayed inside aGISDisplayer
.- 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
-
-
Field Summary
-
Fields inherited from interface org.arakhne.afc.gis.primitive.GISPrimitive
COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
getChildAt(int childIndex)
Replies the child at the specified index.int
getChildCount()
Replies count of children.GISTreeBrowsable<?>
getParent()
Replies the parent that contains this element, ornull
.-
Methods inherited from interface org.arakhne.afc.gis.primitive.GISBrowsable
getParentName, isVisible, setColor, setName, setVisible, setVisible
-
Methods inherited from interface org.arakhne.afc.gis.primitive.GISPrimitive
getGeoId, getGeoLocation, getUUID
-
Methods inherited from interface org.arakhne.afc.vmutil.json.JsonableObject
toJson
-
-
-
-
Method Detail
-
getParent
@Pure GISTreeBrowsable<?> getParent()
Replies the parent that contains this element, ornull
.- Returns:
- the parent element.
-
getChildCount
@Pure int getChildCount()
Replies count of children.- Returns:
- count of children.
-
getChildAt
@Pure E getChildAt(int childIndex)
Replies the child at the specified index.- Parameters:
childIndex
- is the position of the child to reply- Returns:
- the child at the specified index.
-
-