Package com.bc.ceres.glayer.support
Class BackgroundLayer
- java.lang.Object
-
- com.bc.ceres.core.ExtensibleObject
-
- com.bc.ceres.glayer.Layer
-
- com.bc.ceres.glayer.support.BackgroundLayer
-
- All Implemented Interfaces:
Extensible
public class BackgroundLayer extends Layer
A background layer is used to draw a background using a uniqueColor
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BackgroundLayer.Type
-
Constructor Summary
Constructors Constructor Description BackgroundLayer(BackgroundLayer.Type type, PropertySet configuration)
BackgroundLayer(Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
renderLayer(Rendering rendering)
Renders the layer.-
Methods inherited from class com.bc.ceres.glayer.Layer
addListener, dispose, disposeChildren, disposeLayer, fireLayerDataChanged, fireLayerPropertyChanged, fireLayerPropertyChanged, fireLayersAdded, fireLayersRemoved, getChildIndex, getChildren, getChildrenModelBounds, getComposite, getConfiguration, getConfigurationProperty, getId, getLayerModelBounds, getLayerType, getListeners, getModelBounds, getName, getParent, getSwipePercent, getTransparency, isCollectionLayer, isVisible, regenerate, removeListener, render, render, renderChildren, setComposite, setId, setName, setSwipePercent, setTransparency, setVisible, toString
-
Methods inherited from class com.bc.ceres.core.ExtensibleObject
getExtension
-
-
-
-
Constructor Detail
-
BackgroundLayer
public BackgroundLayer(Color color)
-
BackgroundLayer
public BackgroundLayer(BackgroundLayer.Type type, PropertySet configuration)
-
-
Method Detail
-
renderLayer
protected void renderLayer(Rendering rendering)
Description copied from class:Layer
Renders the layer. Called byLayer.render(com.bc.ceres.grender.Rendering)
. The default implementation does nothing.- Overrides:
renderLayer
in classLayer
- Parameters:
rendering
- The rendering to which the layer will be rendered.
-
-