Package ucar.unidata.view.sounding
Class AerologicalReadoutTable
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
ucar.unidata.view.sounding.AerologicalReadoutTable
- All Implemented Interfaces:
ImageObserver
,MenuContainer
,Serializable
,EventListener
,Accessible
,CellEditorListener
,ListSelectionListener
,RowSorterListener
,TableColumnModelListener
,TableModelListener
,Scrollable
Provides support for a readout-table of Skew-T values.
- Version:
- $Revision: 1.19 $ $Date: 2005/05/13 18:33:23 $
- Author:
- Steven R. Emmerson
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Provides support for altitude readouts.protected class
Provides support for boundary layer height readouts.protected class
Provides support for boundary layer Bulk Richardson Number.protected class
Provides support for CAPE readouts.protected class
Provides support for CIN readouts.protected class
Provides support for LCL altitude readouts.protected class
Provides support for LCL readouts.protected class
Provides support for LCL temperature readouts.protected class
Provides support for LFC readouts.protected class
Provides support for Level of Neutral Buoyancy (LNB) readouts.protected static class
Provides support for mixing ratio readouts.protected static class
Provides support for readouts in a table.protected class
Provides support for the data model behind the table.protected static class
Provides support for potential temperature readouts.protected static class
Provides support for pressure readouts.protected static class
Provides support for readouts derived from pressure and temperature.protected static class
Provides support for readouts derived from pressure, temperature, and mixing-ratio.protected class
Provides support for rows with Real values.protected class
Provides support for a row in the table model.protected static class
Provides support for saturation equivalent potential temperature readouts.protected class
Provides support for separating rows in the table.protected static class
Provides support for temperature readouts.protected static class
Provides support for wind direction readouts.protected static class
Provides support for wind speed readouts.Nested classes/interfaces inherited from class javax.swing.JTable
JTable.AccessibleJTable, JTable.DropLocation, 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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
Fields inherited from class javax.swing.JTable
AUTO_RESIZE_ALL_COLUMNS, AUTO_RESIZE_LAST_COLUMN, AUTO_RESIZE_NEXT_COLUMN, AUTO_RESIZE_OFF, AUTO_RESIZE_SUBSEQUENT_COLUMNS, autoCreateColumnsFromModel, autoResizeMode, cellEditor, cellSelectionEnabled, columnModel, dataModel, defaultEditorsByColumnClass, defaultRenderersByColumnClass, editingColumn, editingRow, editorComp, gridColor, preferredViewportSize, rowHeight, rowMargin, rowSelectionAllowed, selectionBackground, selectionForeground, selectionModel, showHorizontalLines, showVerticalLines, tableHeader
Fields inherited from class javax.swing.JComponent
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
accessibleContext, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static int
getPreferredColumnWidth
(JTable table, int columnIndex) Returns the preferred width of a column in a given table.void
setBackgroundTemperature
(Real temperature) Sets the background temperature property.void
Sets the profile BLH property.void
Sets the profile BLH property.void
Sets the profile CAPE property.void
Sets the profile CIN property.protected static void
setColumnWidth
(JTable table, int columnIndex) Sets the width of a column.void
setLclPressure
(Real pres) Sets the LCL pressure.void
setLclTemperature
(Real temp) Sets the LCL temperature.void
Sets the profile LFC property.void
setLfcTemperature
(Real temp) Sets the temperature at the LFC.void
Sets the profile Level of NeutralBuoyancy (LNB) property.void
setLnbTemperature
(Real temp) Sets the temperature at the LNB.void
Sets the preferred size of this component.void
setPressure
(Real pressure) Sets the pressure property.void
setProfileDewPoint
(Real dewPoint) Sets the profile dew-point property.void
setProfileMixingRatio
(Real ratio) Sets the profile mixing-ratio.void
setProfileTemperature
(Real temperature) Sets the profile temperature property.void
setProfileWindDirection
(Real windDir) Sets the profile wind direction property.void
setProfileWindSpeed
(Real windSpeed) Sets the profile wind speed property.Methods inherited from class javax.swing.JTable
addColumn, addColumnSelectionInterval, addNotify, addRowSelectionInterval, changeSelection, clearSelection, columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, configureEnclosingScrollPane, convertColumnIndexToModel, convertColumnIndexToView, convertRowIndexToModel, convertRowIndexToView, createDefaultColumnModel, createDefaultColumnsFromModel, createDefaultDataModel, createDefaultEditors, createDefaultRenderers, createDefaultSelectionModel, createDefaultTableHeader, createScrollPaneForTable, doLayout, editCellAt, editCellAt, editingCanceled, editingStopped, getAccessibleContext, getAutoCreateColumnsFromModel, getAutoCreateRowSorter, getAutoResizeMode, getCellEditor, getCellEditor, getCellRect, getCellRenderer, getCellSelectionEnabled, getColumn, getColumnClass, getColumnCount, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getDragEnabled, getDropLocation, getDropMode, getEditingColumn, getEditingRow, getEditorComponent, getFillsViewportHeight, getGridColor, getIntercellSpacing, getModel, getPreferredScrollableViewportSize, getPrintable, getRowCount, getRowHeight, getRowHeight, getRowMargin, getRowSelectionAllowed, getRowSorter, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getSelectionBackground, getSelectionForeground, getSelectionModel, getShowHorizontalLines, getShowVerticalLines, getSurrendersFocusOnKeystroke, getTableHeader, getToolTipText, getUI, getUIClassID, getUpdateSelectionOnSort, getValueAt, initializeLocalVars, isCellEditable, isCellSelected, isColumnSelected, isEditing, isRowSelected, moveColumn, paramString, prepareEditor, prepareRenderer, print, print, print, print, print, processKeyBinding, removeColumn, removeColumnSelectionInterval, removeEditor, removeNotify, removeRowSelectionInterval, resizeAndRepaint, rowAtPoint, selectAll, setAutoCreateColumnsFromModel, setAutoCreateRowSorter, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setDragEnabled, setDropMode, setEditingColumn, setEditingRow, setFillsViewportHeight, setGridColor, setIntercellSpacing, setModel, setPreferredScrollableViewportSize, setRowHeight, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setRowSorter, setSelectionBackground, setSelectionForeground, setSelectionMode, setSelectionModel, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setSurrendersFocusOnKeystroke, setTableHeader, setUI, setUpdateSelectionOnSort, setValueAt, sizeColumnsToFit, sizeColumnsToFit, sorterChanged, tableChanged, unconfigureEnclosingScrollPane, updateUI, valueChanged
Methods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Constructor Details
-
AerologicalReadoutTable
Constructs from nothing.- Throws:
VisADException
- if a core VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
-
Method Details
-
setPreferredSize
Sets the preferred size of this component.- Throws:
VisADException
- if a core VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
setPressure
Sets the pressure property.- Parameters:
pressure
- The new pressure.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setBackgroundTemperature
Sets the background temperature property.- Parameters:
temperature
- The new temperature.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setProfileTemperature
Sets the profile temperature property.- Parameters:
temperature
- The new profile temperature.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setProfileDewPoint
Sets the profile dew-point property.- Parameters:
dewPoint
- The new profile dew-point.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setProfileWindSpeed
Sets the profile wind speed property.- Parameters:
windSpeed
- The new profile wind speed.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setProfileWindDirection
Sets the profile wind direction property.- Parameters:
windDir
- The new profile wind direction.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setProfileMixingRatio
Sets the profile mixing-ratio.- Parameters:
ratio
- The profile mixing ratio.
-
setLclPressure
Sets the LCL pressure.- Parameters:
pres
- The LCL pressure.
-
setLclTemperature
Sets the LCL temperature.- Parameters:
temp
- The LCL temperature.
-
setLfc
Sets the profile LFC property.- Parameters:
lfc
- The new profile LFC.
-
setLfcTemperature
Sets the temperature at the LFC.- Parameters:
temp
- The temperature at the LFC
-
setLnb
Sets the profile Level of NeutralBuoyancy (LNB) property.- Parameters:
lnb
- The new profile LNB.
-
setLnbTemperature
Sets the temperature at the LNB.- Parameters:
temp
- The temperature at the LNB
-
setCape
Sets the profile CAPE property.- Parameters:
cape
- The new profile CAPE.
-
setCin
Sets the profile CIN property.- Parameters:
cin
- The new profile CIN.
-
setBlh
Sets the profile BLH property.- Parameters:
h
- The new profile blh.
-
setBulkRi
Sets the profile BLH property.- Parameters:
h
- The new profile blh.
-
setColumnWidth
Sets the width of a column.- Parameters:
table
- The table.columnIndex
- The column index.
-
getPreferredColumnWidth
Returns the preferred width of a column in a given table.- Parameters:
table
- The table.columnIndex
- The column index.- Returns:
- The preferred width of the given column.
-