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 classProvides support for altitude readouts.protected classProvides support for boundary layer height readouts.protected classProvides support for boundary layer Bulk Richardson Number.protected classProvides support for CAPE readouts.protected classProvides support for CIN readouts.protected classProvides support for LCL altitude readouts.protected classProvides support for LCL readouts.protected classProvides support for LCL temperature readouts.protected classProvides support for LFC readouts.protected classProvides support for Level of Neutral Buoyancy (LNB) readouts.protected static classProvides support for mixing ratio readouts.protected static classProvides support for readouts in a table.protected classProvides support for the data model behind the table.protected static classProvides support for potential temperature readouts.protected static classProvides support for pressure readouts.protected static classProvides support for readouts derived from pressure and temperature.protected static classProvides support for readouts derived from pressure, temperature, and mixing-ratio.protected classProvides support for rows with Real values.protected classProvides support for a row in the table model.protected static classProvides support for saturation equivalent potential temperature readouts.protected classProvides support for separating rows in the table.protected static classProvides support for temperature readouts.protected static classProvides support for wind direction readouts.protected static classProvides support for wind speed readouts.Nested classes/interfaces inherited from class javax.swing.JTable
JTable.AccessibleJTable, JTable.DropLocation, JTable.PrintModeNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested 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, tableHeaderFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static intgetPreferredColumnWidth(JTable table, int columnIndex) Returns the preferred width of a column in a given table.voidsetBackgroundTemperature(Real temperature) Sets the background temperature property.voidSets the profile BLH property.voidSets the profile BLH property.voidSets the profile CAPE property.voidSets the profile CIN property.protected static voidsetColumnWidth(JTable table, int columnIndex) Sets the width of a column.voidsetLclPressure(Real pres) Sets the LCL pressure.voidsetLclTemperature(Real temp) Sets the LCL temperature.voidSets the profile LFC property.voidsetLfcTemperature(Real temp) Sets the temperature at the LFC.voidSets the profile Level of NeutralBuoyancy (LNB) property.voidsetLnbTemperature(Real temp) Sets the temperature at the LNB.voidSets the preferred size of this component.voidsetPressure(Real pressure) Sets the pressure property.voidsetProfileDewPoint(Real dewPoint) Sets the profile dew-point property.voidsetProfileMixingRatio(Real ratio) Sets the profile mixing-ratio.voidsetProfileTemperature(Real temperature) Sets the profile temperature property.voidsetProfileWindDirection(Real windDir) Sets the profile wind direction property.voidsetProfileWindSpeed(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, valueChangedMethods 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, updateMethods 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, validateTreeMethods 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.
-