public class ShowTable extends Extension implements LayerCollectionListener
| Constructor and Description |
|---|
ShowTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String command)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
execute(String command,
Object[] args) |
void |
initialize()
Extension's initialization code should be here.
|
boolean |
isEnabled()
This method is invoked by Andami to check whether the extension
(and its associated controls) is enabled or disabled.
|
boolean |
isVisible()
This method is invoked by Andami to check whether the extension
(and its associated controls) is visible or hidden.
|
void |
layerAdded(LayerCollectionEvent e)
Called when a layer has been added or replaced in the internal list of layers.
|
void |
layerAdding(LayerCollectionEvent e)
Called when a layer is just going to be added or replaced in the internal list of layers.
|
void |
layerMoved(LayerPositionEvent e)
Called when a layer has been moved in the internal list of layers.
|
void |
layerMoving(LayerPositionEvent e)
Called when a layer is just going to be moved in the internal list of layers.
|
void |
layerRemoved(LayerCollectionEvent e)
Called when a layer has been removed from the internal list of layers.
|
void |
layerRemoving(LayerCollectionEvent e)
Called when a layer is just going to be removed from the internal list of layers.
|
void |
visibilityChanged(LayerCollectionEvent e)
Called when the visibility of the collection of layers has changed.
|
public boolean isEnabled()
IExtensionisEnabled in interface IExtensionpublic boolean isVisible()
IExtensionisVisible in interface IExtensionpublic void execute(String command)
IExtensionexecute in interface IExtensioncommand - An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void execute(String command, Object[] args)
execute in interface IExtensionExecuteWithArgsexecute in class Extensionpublic void initialize()
IExtensioninitialize in interface IExtensionpublic void layerAdded(LayerCollectionEvent e)
LayerCollectionListenerCalled when a layer has been added or replaced in the internal list of layers.
layerAdded in interface LayerCollectionListenere - a layer collection event objectpublic void layerMoved(LayerPositionEvent e)
LayerCollectionListenerCalled when a layer has been moved in the internal list of layers.
layerMoved in interface LayerCollectionListenere - a layer collection event objectpublic void layerRemoved(LayerCollectionEvent e)
LayerCollectionListenerCalled when a layer has been removed from the internal list of layers.
layerRemoved in interface LayerCollectionListenere - a layer collection event objectpublic void layerAdding(LayerCollectionEvent e) throws CancelationException
LayerCollectionListenerCalled when a layer is just going to be added or replaced in the internal list of layers.
layerAdding in interface LayerCollectionListenere - a layer collection event objectCancelationException - if cancels the adding operation, this exception will have the message
that user will see.public void layerMoving(LayerPositionEvent e) throws CancelationException
LayerCollectionListenerCalled when a layer is just going to be moved in the internal list of layers.
layerMoving in interface LayerCollectionListenere - a layer collection event objectCancelationException - if cancels the moving operation, this exception will have the message
that user will see.public void layerRemoving(LayerCollectionEvent e) throws CancelationException
LayerCollectionListenerCalled when a layer is just going to be removed from the internal list of layers.
layerRemoving in interface LayerCollectionListenere - a layer collection event objectCancelationException - if cancels the removing operation, this exception will have the message
that user will see.public void visibilityChanged(LayerCollectionEvent e) throws CancelationException
LayerCollectionListenerCalled when the visibility of the collection of layers has changed.
visibilityChanged in interface LayerCollectionListenere - a layer collection event objectCancelationException - if cancels the operation of change visibility, this exception will have the
message that user will see.