-
- All Superinterfaces:
GISPrimitive
,JsonableObject
,Serializable
- All Known Subinterfaces:
GISTreeBrowsable<E>
- All Known Implementing Classes:
ArrayMapElementLayer
,BusItineraryLayer
,BusLineLayer
,BusNetworkLayer
,GridMapElementLayer
,MapElementLayer
,MapLayer
,MultiMapLayer
,RoadNetworkLayer
,TreeMapElementLayer
public interface GISBrowsable extends GISPrimitive
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 String
getParentName()
Replies the name of the parent.boolean
isVisible()
Replies if this element is assumed to be visible inside a displayer.void
setColor(int color)
Set the color of this element.void
setName(String name)
Set the name of the element.void
setVisible(boolean isVisible)
Set if this element is assumed to be visible inside a displayer.void
setVisible(boolean isVisible, boolean setChildrenVisibility)
Set if this element is assumed to be visible inside a displayer.-
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
-
setName
void setName(String name)
Set the name of the element.- Parameters:
name
- the new name.
-
setColor
void setColor(int color)
Set the color of this element.- Parameters:
color
- the new color.
-
isVisible
@Pure boolean isVisible()
Replies if this element is assumed to be visible inside a displayer. This flag should not be used to adapt the visibility of the element inside the browser.- Returns:
true
if this element is visible, otherwisefalse
-
setVisible
void setVisible(boolean isVisible)
Set if this element is assumed to be visible inside a displayer. This flag should not be used to adapt the visibility of the element inside the browser.- Parameters:
isVisible
- must betrue
if this element is visible, otherwisefalse
-
setVisible
void setVisible(boolean isVisible, boolean setChildrenVisibility)
Set if this element is assumed to be visible inside a displayer. This flag should not be used to adapt the visibility of the element inside the browser.- Parameters:
isVisible
- must betrue
if this element is visible, otherwisefalse
setChildrenVisibility
- indicates if the children visibility should be also changed in turn.
-
getParentName
@Pure String getParentName()
Replies the name of the parent.- Returns:
- the name of the parent.
-
-