public class UiTopo2Overlay
extends java.lang.Object
This base class does little more than provide a logger and an identifier.
Subclasses will want to override some or all of the base methods to do useful things during the life-cycle of the (topo-2) overlay.
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
UiTopo2Overlay(java.lang.String id)
Creates a new user interface topology view overlay descriptor with
the given identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Callback invoked when this overlay is activated.
|
void |
deactivate()
Callback invoked when this overlay is deactivated.
|
void |
destroy()
Callback invoked to destroy this instance by cleaning up any
internal state ready for garbage collection.
|
void |
highlightingCallback()
Callback invoked when the topology highlighting should be updated.
|
java.lang.String |
id()
Returns the identifier for this overlay.
|
void |
init()
Callback invoked to initialize this overlay, soon after creation.
|
boolean |
isActive()
Returns true if this overlay is currently active.
|
java.lang.String |
toString() |
public UiTopo2Overlay(java.lang.String id)
id
- overlay identifierpublic java.lang.String id()
public java.lang.String toString()
toString
in class java.lang.Object
public void init()
public void activate()
public void deactivate()
public boolean isActive()
public void destroy()
public void highlightingCallback()