|
|||||||||
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
edu.sc.seis.fissuresUtil.display.BorderedDisplay
edu.sc.seis.fissuresUtil.display.SeismogramDisplay
edu.sc.seis.fissuresUtil.display.VerticalSeismogramDisplay
public abstract class VerticalSeismogramDisplay
VerticalSeismogramDisplay(VSD) is a JComponent that can contain multiple BasicSeismogramDisplays(BSD) Created: Tue Jun 4 10:52:23 2002
Nested Class Summary | |
---|---|
protected class |
VerticalSeismogramDisplay.CenterPanel
|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected AmpConfig |
ac
|
protected boolean |
globalizedAmp
|
protected TimeConfig |
tc
|
Fields inherited from class edu.sc.seis.fissuresUtil.display.SeismogramDisplay |
---|
activeFilters, COLORS, drawNamesForNamedDrawables, isPDF, PRINTING |
Fields inherited from class edu.sc.seis.fissuresUtil.display.BorderedDisplay |
---|
BOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, CENTER, CENTER_LEFT, CENTER_RIGHT, TOP_CENTER, TOP_LEFT, TOP_RIGHT |
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 | |
---|---|
VerticalSeismogramDisplay()
|
Method Summary | |
---|---|
abstract void |
add(DataSetSeismogram[] dss)
add adds all of the seismograms in the array to the
receptacle |
void |
add(Drawable drawable)
|
void |
clear()
clear removes all seismograms from this receptacle |
void |
clearSelections()
|
boolean |
contains(DataSetSeismogram seismo)
contains checks the receptacle for the presence of seismo |
SeismogramDisplayProvider |
createCenter()
|
SeismogramDisplay |
get(DataSetSeismogram seismo)
|
AmpConfig |
getAmpConfig()
|
java.util.LinkedList |
getDisplays()
|
DrawableIterator |
getDrawables(java.awt.event.MouseEvent e)
|
DataSetSeismogram[] |
getSeismograms()
returns all of the seismograms held by this receptacle |
TimeConfig |
getTimeConfig()
|
DrawableIterator |
iterator(java.lang.Class drawableClass)
|
void |
print()
|
void |
remove(DataSetSeismogram[] dss)
remove removes all of the seismograms in this array |
void |
remove(Drawable drawable)
|
void |
remove(Selection selection)
|
void |
removeAll()
removeAll clears this display and all of its children, and
if it has a parent, removes it from the parent as well |
boolean |
removeDisplay(BasicSeismogramDisplay display)
removeDisplay removes a BSD from the VSD |
void |
reset()
reset takes all of the seismograms contained in this receptacle and sets their state as if they had just been added to the receptacle and sets the instance varaibles of the receptacle back to their initial states |
void |
reset(DataSetSeismogram[] seismos)
reset takes all of the seismograms in the array and sets
their state as if they had just been initially added to the receptacle |
void |
setAmpConfig(AmpConfig ac)
|
protected void |
setBorders()
|
void |
setGlobalizedAmpConfig(AmpConfig ac)
|
void |
setIndividualizedAmpConfig(AmpConfig ac)
|
void |
setTimeConfig(TimeConfig config)
|
Methods inherited from class edu.sc.seis.fissuresUtil.display.SeismogramDisplay |
---|
add, getActiveFilters, getCenter, getColor, getCurrentTimeFlag, getDrawableSeismogram, getMouseForwarder, getMouseMotionForwarder, getNextColor, getPdfSeismogramsPerPage, hasConfiguredColors, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, remove, renderToGraphics, setColors, setColors, setCurrentTimeFlag, setDrawNamesForNamedDrawables, setMouseForwarder, setMouseMotionForwarder, setOutlineColor, setPdfSeismogramsPerPage |
Methods inherited from class edu.sc.seis.fissuresUtil.display.BorderedDisplay |
---|
add, add, add, add, clear, clearBorders, get, isFilled, outputToPNG, outputToPNG, outputToPNG, outputToPNG, renderToGraphics |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, 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, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, 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, addContainerListener, addImpl, addPropertyChangeListener, 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, processContainerEvent, processEvent, remove, remove, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, 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, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean globalizedAmp
protected TimeConfig tc
protected AmpConfig ac
Constructor Detail |
---|
public VerticalSeismogramDisplay()
Method Detail |
---|
public SeismogramDisplayProvider createCenter()
createCenter
in class SeismogramDisplay
public abstract void add(DataSetSeismogram[] dss)
DataSetSeismogramReceptacle
add
adds all of the seismograms in the array to the
receptacle
dss
- a DataSetSeismogram[]
containing seismograms to
be added to this receptaclepublic void remove(DataSetSeismogram[] dss)
DataSetSeismogramReceptacle
remove
removes all of the seismograms in this array
dss
- DataSetSeismogram[]
an array of seismograms to
be removedpublic boolean contains(DataSetSeismogram seismo)
DataSetSeismogramReceptacle
contains
checks the receptacle for the presence of seismo
seismo
- the seismogram whose presence is to be tested
public SeismogramDisplay get(DataSetSeismogram seismo)
public void add(Drawable drawable)
add
in class SeismogramDisplay
public void remove(Drawable drawable)
remove
in class SeismogramDisplay
public DrawableIterator getDrawables(java.awt.event.MouseEvent e)
getDrawables
in class SeismogramDisplay
public java.util.LinkedList getDisplays()
public DataSetSeismogram[] getSeismograms()
DataSetSeismogramReceptacle
getSeismograms
in interface DataSetSeismogramReceptacle
getSeismograms
in class SeismogramDisplay
public void remove(Selection selection)
remove
in class SeismogramDisplay
public DrawableIterator iterator(java.lang.Class drawableClass)
iterator
in class SeismogramDisplay
protected void setBorders()
public void clearSelections()
public void clear()
DataSetSeismogramReceptacle
clear
removes all seismograms from this receptacle
public void print()
print
in class SeismogramDisplay
public void removeAll()
removeAll
clears this display and all of its children, and
if it has a parent, removes it from the parent as well
removeAll
in class BorderedDisplay
public boolean removeDisplay(BasicSeismogramDisplay display)
removeDisplay
removes a BSD from the VSD
display
- the BSD to be removed
public void setAmpConfig(AmpConfig ac)
setAmpConfig
in class SeismogramDisplay
public void setGlobalizedAmpConfig(AmpConfig ac)
setGlobalizedAmpConfig
in class SeismogramDisplay
public void setIndividualizedAmpConfig(AmpConfig ac)
setIndividualizedAmpConfig
in class SeismogramDisplay
public AmpConfig getAmpConfig()
getAmpConfig
in class SeismogramDisplay
public void setTimeConfig(TimeConfig config)
setTimeConfig
in class SeismogramDisplay
public TimeConfig getTimeConfig()
getTimeConfig
in class SeismogramDisplay
public void reset()
DataSetSeismogramReceptacle
public void reset(DataSetSeismogram[] seismos)
DataSetSeismogramReceptacle
reset
takes all of the seismograms in the array and sets
their state as if they had just been initially added to the receptacle
seismos
- a DataSetSeismogram[]
value containing
seismograms to be reset
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |