public class LayerableModel extends FeatureModel implements Layerable
Constructor and Description |
---|
LayerableModel()
Create a layerable model.
|
LayerableModel(int layer)
Create a layerable model.
|
LayerableModel(int layerRefresh,
int layerDisplay)
Create a layerable model.
|
LayerableModel(Services services)
Create a layerable model.
|
LayerableModel(Services services,
Setup setup)
Create a layerable model.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(LayerableListener listener)
Add a layer listener.
|
Integer |
getLayerDisplay()
Get the current layer display value.
|
Integer |
getLayerRefresh()
Get the current layer refresh value.
|
void |
setLayer(int layer)
Set the layer value.
|
void |
setLayer(Integer layerRefresh,
Integer layerDisplay)
Set the layer value.
|
void |
setLayer(int layerRefresh,
int layerDisplay)
Set the layer value.
|
checkListener, getFeature, getFeatures, getFeaturesType, hasFeature, prepare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkListener, prepare
getFeature, getFeatures, getFeaturesType, hasFeature
public LayerableModel()
public LayerableModel(Services services)
The Services
must provide:
services
- The services reference.public LayerableModel(Services services, Setup setup)
The Services
must provide:
services
- The services reference.setup
- The setup reference.public LayerableModel(int layer)
layer
- The default layer refresh and display value.public LayerableModel(int layerRefresh, int layerDisplay)
layerRefresh
- The default layer refresh value.layerDisplay
- The default layer display value.public final void addListener(LayerableListener listener)
Layerable
addListener
in interface Layerable
listener
- The layer listener reference.public void setLayer(int layer)
Layerable
public void setLayer(int layerRefresh, int layerDisplay)
Layerable
public void setLayer(Integer layerRefresh, Integer layerDisplay)
Layerable
public Integer getLayerRefresh()
Layerable
getLayerRefresh
in interface Layerable
public Integer getLayerDisplay()
Layerable
getLayerDisplay
in interface Layerable
Copyright © 2017 Byron 3D Games Studio. All rights reserved.