Package gov.nasa.worldwind.render
Class AbstractRenderable
- java.lang.Object
-
- gov.nasa.worldwind.render.AbstractRenderable
-
- All Implemented Interfaces:
Renderable
- Direct Known Subclasses:
AbstractShape
,Label
,OmnidirectionalSightline
,Placemark
,SurfaceImage
,TiledSurfaceImage
public abstract class AbstractRenderable extends java.lang.Object implements Renderable
-
-
Constructor Summary
Constructors Constructor Description AbstractRenderable()
AbstractRenderable(java.lang.String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayName()
java.lang.Object
getPickDelegate()
java.lang.Object
getUserProperty(java.lang.Object key)
boolean
hasUserProperty(java.lang.Object key)
boolean
isEnabled()
java.lang.Object
putUserProperty(java.lang.Object key, java.lang.Object value)
java.lang.Object
removeUserProperty(java.lang.Object key)
void
render(RenderContext rc)
void
setDisplayName(java.lang.String displayName)
void
setEnabled(boolean enabled)
void
setPickDelegate(java.lang.Object pickDelegate)
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interfaceRenderable
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
- Specified by:
setDisplayName
in interfaceRenderable
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceRenderable
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interfaceRenderable
-
getPickDelegate
public java.lang.Object getPickDelegate()
- Specified by:
getPickDelegate
in interfaceRenderable
-
setPickDelegate
public void setPickDelegate(java.lang.Object pickDelegate)
- Specified by:
setPickDelegate
in interfaceRenderable
-
getUserProperty
public java.lang.Object getUserProperty(java.lang.Object key)
- Specified by:
getUserProperty
in interfaceRenderable
-
putUserProperty
public java.lang.Object putUserProperty(java.lang.Object key, java.lang.Object value)
- Specified by:
putUserProperty
in interfaceRenderable
-
removeUserProperty
public java.lang.Object removeUserProperty(java.lang.Object key)
- Specified by:
removeUserProperty
in interfaceRenderable
-
hasUserProperty
public boolean hasUserProperty(java.lang.Object key)
- Specified by:
hasUserProperty
in interfaceRenderable
-
render
public void render(RenderContext rc)
- Specified by:
render
in interfaceRenderable
-
-