|
||||||||||
| 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.sounding.WindBarbStaff
public class WindBarbStaff
Provides support for displaying a vertical profile of the horizontal wind as a set of wind arrows off a vertical staff.
| 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.BaselineResizeBehavior, 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 | |
|---|---|
WindBarbStaff()
Construct a new wind staff display using the default maximum and minimum heights. |
|
WindBarbStaff(float minZ,
float maxZ)
Construct a new wind staff display using the default maximum and minimum heights. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Tests this class. |
void |
propertyChange(PropertyChangeEvent pce)
Handles a change to a property that's being listened to. |
void |
resetWindProfile()
Set the wind profile to be displayed. |
void |
setBarbOrientation(int orientation)
Sets the orientation of the wind barbs |
void |
setWindProfile(Field windProfile)
Set the wind profile to be displayed. |
void |
setWindProfileReference(DataReferenceImpl windProfileRef)
Set the reference for the wind profile. |
void |
setWindStaffVisible(boolean value)
Set the visibility of the line along which the barbs are plotted |
| 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 |
|---|
public WindBarbStaff()
throws VisADException,
RemoteException
VisADException - necessary VisAD object could not be created.
RemoteException - Java RMI exception
public WindBarbStaff(float minZ,
float maxZ)
throws VisADException,
RemoteException
minZ - Minimum geopotential height in metersmaxZ - Maximum geopotential height in meters
VisADException - necessary VisAD object could not be created.
RemoteException - Java RMI exception| Method Detail |
|---|
public void setWindProfile(Field windProfile)
throws VisADException,
RemoteException
windProfile - Field of wind profile. Must be an
instance of a CartesianHorizontalWindProfile
VisADException - necessary VisAD object could not be created,
profile is not changed.
RemoteException - Java RMI exception
public void setBarbOrientation(int orientation)
throws VisADException,
RemoteException
orientation - either FlowControl.NH_ORIENTATION or
FlowControl.SH_ORIENTATION
VisADException - necessary VisAD object could not be created,
profile is not changed.
RemoteException - Java RMI exception
public void resetWindProfile()
throws VisADException,
RemoteException
VisADException - necessary VisAD object could not be created,
profile is not changed.
RemoteException - Java RMI exception
public void setWindProfileReference(DataReferenceImpl windProfileRef)
throws VisADException,
RemoteException
windProfileRef - data reference to the wind profile
VisADException - reference has already been set
RemoteException - if a Java RMI failure occurs.
public void setWindStaffVisible(boolean value)
throws VisADException,
RemoteException
value - if true, line is displayed, otherwise it is hidden
VisADException - necessary VisAD object could not be created,
visibility is not changed.
RemoteException - Java RMI exceptionpublic void propertyChange(PropertyChangeEvent pce)
propertyChange in interface PropertyChangeListenerpce - The property-change event.
public static void main(String[] args)
throws Exception
args - Invocation arguments. Ignored.
Exception - A problem occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||