gov.noaa.pmel.sgt.swing
Class JLineProfileLayout

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JLayeredPane
                          |
                          +--gov.noaa.pmel.sgt.JPane
                                |
                                +--gov.noaa.pmel.sgt.swing.JGraphicLayout
                                      |
                                      +--gov.noaa.pmel.sgt.swing.JLineProfileLayout
All Implemented Interfaces:
AbstractPane, javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.print.Printable, javax.swing.Scrollable, java.io.Serializable

Deprecated. As of v2.0, replaced by JPlotLayout

public class JLineProfileLayout
extends JGraphicLayout

JLineProfileLayout creates a pre-defined graphics layout for profile data using LineCartesianGraph. This layout is application specific.

Version:
$Revision: 1.7 $, $Date: 2001/11/08 00:21:09 $
Author:
Donald Denbo
See Also:
LineCartesianRenderer, Serialized Form

Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Fields inherited from class gov.noaa.pmel.sgt.swing.JGraphicLayout
X_AXIS, Y_AXIS, Z_AXIS
 
Fields inherited from class javax.swing.JLayeredPane
DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYER
 
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, 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 gov.noaa.pmel.sgt.AbstractPane
BOTTOM, CENTER, LEFT, MIDDLE, RIGHT, SPECIFIED_LOCATION, TOP
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JLineProfileLayout()
          Deprecated. Default constructor.
JLineProfileLayout(java.lang.String id, java.awt.Image img, boolean is_key_pane)
          Deprecated. JLineProfileLayout constructor.
 
Method Summary
 void addData(Collection lines)
          Deprecated.  
 void addData(Collection lines, java.lang.String descrip)
          Deprecated.  
 void addData(SGTData datum)
          Deprecated. Add data to the layout.
 void addData(SGTData datum, java.lang.String descrip)
          Deprecated. Add data to the layout.
 void clear()
          Deprecated.  
 void clear(java.lang.String data_id)
          Deprecated.  
 Layer getFirstLayer()
          Deprecated. Get the first Layer associated with the Pane
 Rectangle2D.Double getKeyBoundsP()
          Deprecated. Get the bounds for the line or color key.
 Dimension2D getLayerSizeP()
          Deprecated.  
 java.lang.String getLocationSummary(SGTData grid)
          Deprecated. Construct a string that summarizes the location of the data.
 void resetZoom()
          Deprecated. Clear the current zoom.
 void setKeyBoundsP(Rectangle2D.Double bounds)
          Deprecated. Set the bounds for the line or color key.
 void setLayerSizeP(Dimension2D d)
          Deprecated.  
 void setRange(Domain domain)
          Deprecated. Set the x and y range of the domain.
 void setRange(Domain domain, boolean testZUp)
          Deprecated.  
 void setRangeNoVeto(Domain domain)
          Deprecated.  
 
Methods inherited from class gov.noaa.pmel.sgt.swing.JGraphicLayout
addAttribute, addPropertyChangeListener, addVetoableChangeListener, findRange, findRange, findSoTRange, findSoTRange, findSoTRange, findTimeRange, findTimeRange, getAttribute, getBaseUnit, getData, getIconImage, getId, getKeyLayerSizeP, getKeyPane, getRange, getZoomBoundsU, isClipping, isEditClasses, isKeyPane, isOverlayed, removePropertyChangeListener, removeVetoableChangeListener, setBaseUnit, setClipping, setEditClasses, setId, setKeyLayerSizeP, setOverlayed, setTitles
 
Methods inherited from class gov.noaa.pmel.sgt.JPane
add, add, add, add, add, draw, draw, draw, drawPage, getBounds, getComponent, getLayer, getLayerFromDataId, getMaximumSize, getMinimumSize, getObjectAt, getPageHAlign, getPageOrigin, getPageSize, getPageVAlign, getPreferredScrollableViewportSize, getPreferredSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedObject, getStrokeDrawer, getZoomBounds, init, isBatch, isModified, isPrinter, moveLayerDown, moveLayerDown, moveLayerUp, moveLayerUp, paintComponent, print, processMouseEvent, processMouseMotionEvent, setBatch, setBatch, setModified, setPageAlign, setPageHAlign, setPageOrigin, setPageVAlign, setScrollableBlockIncrement, setScrollableUnitIncrement, setSelectedObject, setSize, toString
 
Methods inherited from class javax.swing.JLayeredPane
getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getPosition, highestLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paint, putLayer, remove, setLayer, setLayer, setPosition
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
Methods inherited from class java.awt.Container
addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, removeAll, removeContainerListener, setLayout, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, contains, createImage, createImage, dispatchEvent, enable, enableInputMethods, getBackground, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, show, show, size, transferFocus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JLineProfileLayout

public JLineProfileLayout()
Deprecated. 
Default constructor. No Logo image is used and the LineKey will be in the same Pane.

JLineProfileLayout

public JLineProfileLayout(java.lang.String id,
                          java.awt.Image img,
                          boolean is_key_pane)
Deprecated. 
JLineProfileLayout constructor.
Parameters:
id - identifier
img - Logo image
is_key_pane - if true LineKey is in separate pane
Method Detail

getLocationSummary

public java.lang.String getLocationSummary(SGTData grid)
Deprecated. 
Description copied from class: JGraphicLayout
Construct a string that summarizes the location of the data.
Overrides:
getLocationSummary in class JGraphicLayout

addData

public void addData(Collection lines)
Deprecated. 

addData

public void addData(Collection lines,
                    java.lang.String descrip)
Deprecated. 

addData

public void addData(SGTData datum)
Deprecated. 
Add data to the layout. LineKey descriptor will be taken from the dependent variable name.
Overrides:
addData in class JGraphicLayout
Parameters:
data - datum data to be added

addData

public void addData(SGTData datum,
                    java.lang.String descrip)
Deprecated. 
Add data to the layout. Data will be added to X axis and Z_AXIS will be assigned to Y axis. If this is not the first invocation of addData a new Layer will be created. If overlayed, the transforms from the first layer will be attached and no axes will be created. If not overlayed, new transforms and axes will be created and adjusted so that the data is horizontally stacked.
Overrides:
addData in class JGraphicLayout
Parameters:
datum - data to be added
descrip - LineKey description for datum

resetZoom

public void resetZoom()
Deprecated. 
Clear the current zoom.
Overrides:
resetZoom in class JGraphicLayout

setRange

public void setRange(Domain domain)
              throws java.beans.PropertyVetoException
Deprecated. 
Set the x and y range of the domain.
Overrides:
setRange in class JGraphicLayout
Parameters:
range - new domain

setRange

public void setRange(Domain domain,
                     boolean testZUp)
              throws java.beans.PropertyVetoException
Deprecated. 

setRangeNoVeto

public void setRangeNoVeto(Domain domain)
Deprecated. 

clear

public void clear()
Deprecated. 

clear

public void clear(java.lang.String data_id)
Deprecated. 

setKeyBoundsP

public void setKeyBoundsP(Rectangle2D.Double bounds)
Deprecated. 
Description copied from class: JGraphicLayout
Set the bounds for the line or color key.
Overrides:
setKeyBoundsP in class JGraphicLayout

getKeyBoundsP

public Rectangle2D.Double getKeyBoundsP()
Deprecated. 
Description copied from class: JGraphicLayout
Get the bounds for the line or color key.
Overrides:
getKeyBoundsP in class JGraphicLayout

getLayerSizeP

public Dimension2D getLayerSizeP()
Deprecated. 

getFirstLayer

public Layer getFirstLayer()
Deprecated. 
Description copied from interface: AbstractPane
Get the first Layer associated with the Pane
Overrides:
getFirstLayer in class JPane
Following copied from interface: gov.noaa.pmel.sgt.AbstractPane
Returns:
the first Layer object

setLayerSizeP

public void setLayerSizeP(Dimension2D d)
Deprecated. 


Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001