|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
ucar.unidata.view.geoloc.JTableProjection
public class JTableProjection
Consider this a private inner class of ProjectionManager.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JTable |
|---|
JTable.AccessibleJTable, JTable.PrintMode |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.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 java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JTableProjection(ProjectionManager manager,
List list)
Create a new JTableProjection with the list of projections and a default. |
|
| Method Summary | |
|---|---|
void |
addNewProjectionListener(NewProjectionListener l)
Add a new listener |
void |
addProjection(ucar.unidata.geoloc.ProjectionImpl proj)
Add a projection to the table. |
boolean |
contains(ucar.unidata.geoloc.ProjectionImpl proj)
See if a projection is in the table. |
boolean |
contains(String id)
See if the table contains the id for the projection |
void |
deleteSelected()
Delete the selected projection in the table. |
List |
getProjections()
Get the projections in the table. |
ucar.unidata.geoloc.ProjectionImpl |
getSelected()
Get the selected projection in the table. |
JComponent |
getTopPanel()
Get the top panel which holds the export button |
boolean |
isEmpty()
Check if the table is empty. |
void |
removeNewProjectionListener(NewProjectionListener l)
Remove a listener. |
void |
replaceProjection(ucar.unidata.geoloc.ProjectionImpl proj)
Replace a projection in the table. |
void |
setCurrentProjection(ucar.unidata.geoloc.ProjectionImpl proj)
Set current projection if found, else deselect |
void |
setMapArea(ucar.unidata.geoloc.ProjectionRect bb)
Set the map area. |
void |
setProjections(List list)
Set the list of projections in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JTableProjection(ProjectionManager manager,
List list)
manager - The projection managerlist - list of projections| Method Detail |
|---|
public void setProjections(List list)
list - list of projectionspublic JComponent getTopPanel()
public List getProjections()
List of projections.public void addProjection(ucar.unidata.geoloc.ProjectionImpl proj)
proj - projection to addpublic void replaceProjection(ucar.unidata.geoloc.ProjectionImpl proj)
proj - projection to replace.public boolean contains(ucar.unidata.geoloc.ProjectionImpl proj)
proj - projection to check
public boolean contains(String id)
id - id (name) to check
public ucar.unidata.geoloc.ProjectionImpl getSelected()
public void deleteSelected()
public boolean isEmpty()
public void setMapArea(ucar.unidata.geoloc.ProjectionRect bb)
bb - projection rectanglepublic void setCurrentProjection(ucar.unidata.geoloc.ProjectionImpl proj)
proj - projectiong to selectpublic void addNewProjectionListener(NewProjectionListener l)
l - listener to addpublic void removeNewProjectionListener(NewProjectionListener l)
l - listener to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||