|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectComponent
Container
JComponent
CoverageList
public class CoverageList
A list displaying the set of coverages available in a given layer. This widget displays also the properties of the selected file on the right side.
CoverageTableModel,
Adding layers and images to the Coverage-SQL database,
Serialized Form
| display/geotk-widgets-swing (download) | View source code for this class |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CoverageList()
Creates a new list with a default, initially empty, CoverageTableModel. |
|
CoverageList(CoverageTableModel coverages)
Creates a list for the specified collection of coverages. |
|
| Method Summary | |
|---|---|
protected void |
exceptionOccured(Exception ex)
Invoked when an exception occurred while querying the layer. |
CoverageEnvelope |
getEnvelope()
Returns the envelope of the listed coverage entries, or null if there
is no restriction. |
Layer |
getLayer()
Returns the layer for which this widget is listing the coverages. |
void |
refresh()
Reloads the list of coverages in the current layer which intersect the current envelope. |
void |
setEnvelope(CoverageEnvelope envelope)
Sets the envelope of coverage entries to list. |
void |
setLayer(Layer layer)
Sets the content of this widget to the list of coverages in the given layer. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CoverageList()
CoverageTableModel.
public CoverageList(CoverageTableModel coverages)
coverages - The table model which contain the coverage entries to list.| Method Detail |
|---|
public Layer getLayer()
null.
null if unknown.public void setLayer(Layer layer)
layer - The layer for which to get the coverage entries, or null if none.public CoverageEnvelope getEnvelope()
null if there
is no restriction. If non-null, then this widget list only the coverage entries
which intersect the returned envelope.
null if unbounded.public void setEnvelope(CoverageEnvelope envelope)
If a layer has been set, then this method will refresh the list of coverage entries in a background thread.
envelope - The envelope of the coverage entries to list, or null if unbounded.public void refresh()
protected void exceptionOccured(Exception ex)
ExceptionMonitor.
Subclasses can override this method in order to report the error in a different way.
ex - The exception which occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||