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, setVisiblepublic static final java.lang.String VISIBILITY_SUFFIX
protected StandardWorldModel world
protected StandardViewLayer()
public void initialise(Config config)
ViewLayerinitialise in interface ViewLayerinitialise in class AbstractViewLayerconfig - The system configuration.public java.awt.geom.Rectangle2D view(java.lang.Object... objects)
ViewLayerViewLayer.render(Graphics2D, ScreenTransform, int, int) is called.objects - The objects to view.protected void viewObject(java.lang.Object o)
AbstractViewLayerviewObject in class AbstractViewLayero - The object to process.