@LayerTypeMetadata(name="ShapeLayerType", aliasNames="com.bc.ceres.glayer.support.ShapeLayer$Type") public static class ShapeLayer.Type extends LayerType
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_SHAPE_LIST |
static String |
PROPTERY_SHAPE_TO_MODEL_TRANSFORM |
Constructor and Description |
---|
Type() |
Modifier and Type | Method and Description |
---|---|
Layer |
createLayer(LayerContext ctx,
PropertySet configuration)
Creates a layer instance for the given application provided context and the given layer configuration.
|
PropertySet |
createLayerConfig(LayerContext ctx)
Creates a default configuration instance for the type of layers this type can create.
|
boolean |
isValidFor(LayerContext ctx)
Tests if this type can create layers for the given application provided context.
|
createWithSceneView, getAliases, getName
getExtension
public static final String PROPERTY_SHAPE_LIST
public static final String PROPTERY_SHAPE_TO_MODEL_TRANSFORM
public boolean isValidFor(LayerContext ctx)
LayerType
ExtensibleObject.getExtension(Class)
).isValidFor
in class LayerType
ctx
- An application-dependent layer context.true
if the type is valid with respect to the given context.public Layer createLayer(LayerContext ctx, PropertySet configuration)
LayerType
createLayer
in class LayerType
ctx
- An application provided context, may be null
. The parameter may be ignored by many layer types.configuration
- The layer configuration.public PropertySet createLayerConfig(LayerContext ctx)
LayerType
LayerType.createLayer(com.bc.ceres.glayer.LayerContext, com.bc.ceres.binding.PropertySet)
method in order
to create a new layer instance.createLayerConfig
in class LayerType
ctx
- An application provided context, may be null
. The parameter may be ignored by many layer types.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.