|
||||||||||
| 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.JPanel
ucar.unidata.view.geoloc.NavigatedDisplayCursorReadout
public class NavigatedDisplayCursorReadout
A readout of the lat/lon/alt position of the cursor in a NavigatedDisplay.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| 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 | |
|---|---|
protected |
NavigatedDisplayCursorReadout()
Default bean constructor |
|
NavigatedDisplayCursorReadout(NavigatedDisplay navDisplay)
Create a new readout for the specified display |
|
NavigatedDisplayCursorReadout(NavigatedDisplay navDisplay,
JLabel label)
Create a new readout and update the specified label. |
| Method Summary | |
|---|---|
void |
destroy()
We're not used anymore. |
boolean |
getActive()
Get whether this panel is active or not. |
protected JLabel |
getValueDisplay()
get the readout label |
void |
setActive(boolean value)
Set that readout active/inactive |
void |
setFormatPattern(String pattern)
Set the format pattern for this readout |
void |
setNavigatedDisplay(NavigatedDisplay navDisplay)
Set the navigated display that this panel listens to |
void |
setValueDisplay(JLabel label)
Use the label to show the readout |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected NavigatedDisplayCursorReadout()
public NavigatedDisplayCursorReadout(NavigatedDisplay navDisplay)
navDisplay - display to listen to
public NavigatedDisplayCursorReadout(NavigatedDisplay navDisplay,
JLabel label)
navDisplay - display to listen tolabel - label to update (may be null)| Method Detail |
|---|
public void destroy()
public void setNavigatedDisplay(NavigatedDisplay navDisplay)
navDisplay - navigated displaypublic void setValueDisplay(JLabel label)
label - Label to useprotected JLabel getValueDisplay()
public void setActive(boolean value)
value - true to set activepublic boolean getActive()
public void setFormatPattern(String pattern)
pattern - decimal format pattern
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||