public abstract class StandardViewLayer extends AbstractViewLayer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VISIBILITY_SUFFIX
Default visibility setting for a layer.
|
protected StandardWorldModel |
world
The StandardWorldModel to view.
|
component
Modifier | Constructor and Description |
---|---|
protected |
StandardViewLayer()
Construct a new StandardViewLayer.
|
Modifier and Type | Method and Description |
---|---|
void |
initialise(Config config)
Initialise this view layer.
|
java.awt.geom.Rectangle2D |
view(java.lang.Object... objects)
Set the list of objects this layer should view.
|
protected void |
viewObject(java.lang.Object o)
Callback function for processing a concrete viewable object.
|
getPopupMenuItems, isVisible, processView, setLayerViewComponent, setVisible
public static final java.lang.String VISIBILITY_SUFFIX
protected StandardWorldModel world
protected StandardViewLayer()
public void initialise(Config config)
ViewLayer
initialise
in interface ViewLayer
initialise
in class AbstractViewLayer
config
- The system configuration.public java.awt.geom.Rectangle2D view(java.lang.Object... objects)
ViewLayer
ViewLayer.render(Graphics2D, ScreenTransform, int, int)
is called.objects
- The objects to view.protected void viewObject(java.lang.Object o)
AbstractViewLayer
viewObject
in class AbstractViewLayer
o
- The object to process.