public class NFEProgressIndicatorLayer extends ProgressIndicatorLayer
PROPERTY_NAME, PROPERTY_PROVIDERID, PROPERTY_SRID, PROPERTY_VISIBLE| Constructor and Description |
|---|
NFEProgressIndicatorLayer(MapCanvas canvas) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleEvent(java.util.EventObject evt)
The main method that performs event handling for this tool.
|
void |
mapRegionChanged(MapRegionEvent e)
When the associated canvas's map region is changed, this method is called to notify the layer of the change.
|
long |
render(java.awt.Graphics2D g)
Renders the layer contents to the given Graphics.
|
void |
reset()
Resets the internal task count to zero.
|
void |
taskCompleted()
Call this method when the task is completed or aborted.
|
void |
taskStarted()
Call this method to display a progress indicator on the map.
|
void |
update(long elapsedTime)
updates the contents data model or structure.
|
added, addPropertyChangeListener, addPropertyChangeListener, clear, fromXMLElement, getCanvas, getDataMBR, getFullExtent, getIcon, getName, getProperties, getProperty, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, getProviderID, getSRID, hitTest, hitTest, isVisible, removed, removePropertyChangeListener, removePropertyChangeListener, repaint, setCanvas, setName, setProperty, setProviderID, setSRID, setVisible, toXMLElementpublic NFEProgressIndicatorLayer(MapCanvas canvas)
public void taskStarted()
taskStarted in class ProgressIndicatorLayerpublic void taskCompleted()
taskCompleted in class ProgressIndicatorLayerpublic void update(long elapsedTime)
Layerupdate in interface Layerupdate in class ProgressIndicatorLayerelapsedTime - The elapsed time since last update.public void mapRegionChanged(MapRegionEvent e)
LayermapRegionChanged in interface LayermapRegionChanged in class ProgressIndicatorLayerpublic long render(java.awt.Graphics2D g)
Layerrender in interface Layerrender in class ProgressIndicatorLayerg - the graphics objectpublic void reset()
reset in class ProgressIndicatorLayerpublic boolean handleEvent(java.util.EventObject evt)
LayerhandleEvent in interface LayerhandleEvent in class ProgressIndicatorLayer