sgtplot.swing
Class JLineProfileLayout
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JLayeredPane
-
- sgtplot.JPane
-
- sgtplot.swing.JGraphicLayout
-
- sgtplot.swing.JLineProfileLayout
-
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.print.Printable, java.io.Serializable, javax.accessibility.Accessible, javax.swing.Scrollable, AbstractPane
Deprecated.As of v2.0, replaced byJPlotLayout
public class JLineProfileLayout extends JGraphicLayout
JLineProfileLayout creates a pre-defined graphics layout for profile data using LineCartesianGraph. This layout is application specific.- See Also:
LineCartesianRenderer, Serialized Form
-
-
Nested Class Summary
-
Field Summary
-
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 sgtplot.AbstractPane
BOTTOM, CENTER, DEFAULT_SCALE, LEFT, MIDDLE, RIGHT, SHRINK_TO_FIT, SPECIFIED_LOCATION, TO_FIT, TOP
-
-
Constructor Summary
Constructors Constructor and Description JLineProfileLayout()Deprecated.Default constructor.JLineProfileLayout(java.lang.String id, java.awt.Image img, boolean is_key_pane)Deprecated.JLineProfileLayout constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description voidaddData(Collection lines)Deprecated.voidaddData(Collection lines, java.lang.String descrip)Deprecated.voidaddData(SGTData datum)Deprecated.Add data to the layout.voidaddData(SGTData datum, java.lang.String descrip)Deprecated.Add data to the layout.voidclear()Deprecated.voidclear(java.lang.String data_id)Deprecated.LayergetFirstLayer()Deprecated.Get the firstLayerassociated with thePaneRectangle2D.DoublegetKeyBoundsP()Deprecated.Get the bounds for the line or color key.Dimension2DgetLayerSizeP()Deprecated.java.lang.StringgetLocationSummary(SGTData grid)Deprecated.Construct a string that summarizes the location of the data.voidresetZoom()Deprecated.Clear the current zoom.voidsetKeyBoundsP(Rectangle2D.Double bounds)Deprecated.Set the bounds for the line or color key.voidsetLayerSizeP(Dimension2D d)Deprecated.voidsetRange(Domain domain)Deprecated.Set the x and y range of the domain.voidsetRange(Domain domain, boolean testZUp)Deprecated.voidsetRangeNoVeto(Domain domain)Deprecated.-
Methods inherited from class sgtplot.swing.JGraphicLayout
addAttribute, addPropertyChangeListener, addVetoableChangeListener, findAttribute, findRange, findRange, findSoTRange, findSoTRange, findSoTRange, findTimeRange, findTimeRange, fromUserX, fromUserY, getAttribute, getBaseUnit, getData, getIconImage, getId, getKeyLayerSizeP, getKeyPane, getRange, getZoomBoundsU, isClipping, isEditClasses, isKeyPane, isOverlayed, removePropertyChangeListener, removeVetoableChangeListener, setBaseUnit, setClipping, setEditClasses, setId, setKeyLayerSizeP, setOverlayed, setTitles, showMenuEdit, toUserX, toUserY
-
Methods inherited from class sgtplot.JPane
add, add, add, add, add, draw, draw, draw, draw, draw, draw, drawPage, getComponent, getLayer, getLayerFromDataId, getMaximumSize, getMinimumSize, getObjectAt, getObjectsAt, getObjectsAt, getPageHAlign, getPageOrigin, getPageScaleMode, getPageSize, getPageVAlign, getPreferredScrollableViewportSize, getPreferredSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedObject, getStrokeDrawer, getVersion, getZoomBounds, getZoomStart, init, isBatch, isModified, isMouseEventsEnabled, isPrinter, moveLayerDown, moveLayerDown, moveLayerUp, moveLayerUp, paintComponent, print, processMouseEvent, processMouseMotionEvent, setBatch, setBatch, setModified, setMouseEventsEnabled, setPageAlign, setPageHAlign, setPageOrigin, setPageScaleMode, 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, removeAll, setLayer, setLayer, setPosition
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, 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, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
-
Methods inherited from class java.awt.Container
addContainerListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, 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, remove, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, 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, getPeer, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface sgtplot.AbstractPane
getBounds
-
-
-
-
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- identifierimg- Logo imageis_key_pane- if true LineKey is in separate pane
-
-
Method Detail
-
getLocationSummary
public java.lang.String getLocationSummary(SGTData grid)
Deprecated.Description copied from class:JGraphicLayoutConstruct a string that summarizes the location of the data.- Specified by:
getLocationSummaryin classJGraphicLayout
-
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:
addDatain classJGraphicLayout- 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.- Specified by:
addDatain classJGraphicLayout- Parameters:
datum- data to be addeddescrip- LineKey description for datum
-
resetZoom
public void resetZoom()
Deprecated.Clear the current zoom.- Specified by:
resetZoomin classJGraphicLayout
-
setRange
public void setRange(Domain domain) throws java.beans.PropertyVetoException
Deprecated.Set the x and y range of the domain.- Specified by:
setRangein classJGraphicLayout- Parameters:
range- new domain- Throws:
java.beans.PropertyVetoException
-
setRange
public void setRange(Domain domain, boolean testZUp) throws java.beans.PropertyVetoException
Deprecated.- Throws:
java.beans.PropertyVetoException
-
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:JGraphicLayoutSet the bounds for the line or color key.- Specified by:
setKeyBoundsPin classJGraphicLayout
-
getKeyBoundsP
public Rectangle2D.Double getKeyBoundsP()
Deprecated.Description copied from class:JGraphicLayoutGet the bounds for the line or color key.- Specified by:
getKeyBoundsPin classJGraphicLayout
-
getLayerSizeP
public Dimension2D getLayerSizeP()
Deprecated.
-
getFirstLayer
public Layer getFirstLayer()
Deprecated.Description copied from interface:AbstractPaneGet the firstLayerassociated with thePane- Specified by:
getFirstLayerin interfaceAbstractPane- Overrides:
getFirstLayerin classJPane- Returns:
- the first
Layerobject
-
setLayerSizeP
public void setLayerSizeP(Dimension2D d)
Deprecated.
-
-
DMelt 3.0 © DataMelt by jWork.ORG