|
|||||||||
| 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.BasicSeismogramDisplay
public class BasicSeismogramDisplay
| Nested Class Summary |
|---|
| 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 | |
|---|---|
static float |
PDF_SCALE
|
static int |
PREFERRED_HEIGHT
|
static int |
PREFERRED_WIDTH
|
| 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 | |
|---|---|
BasicSeismogramDisplay()
|
|
BasicSeismogramDisplay(AmpConfig ac)
|
|
BasicSeismogramDisplay(TimeConfig tc)
|
|
BasicSeismogramDisplay(TimeConfig tc,
AmpConfig ac)
|
|
BasicSeismogramDisplay(TimeConfig tc,
AmpConfig ac,
java.awt.Color outlineColor)
|
|
| Method Summary | |
|---|---|
void |
add(DataSetSeismogram[] seismos)
add adds all of the seismograms in the array to the
receptacle |
void |
add(DataSetSeismogram[] seismos,
java.awt.Color seisColor)
|
void |
add(Drawable drawable)
|
void |
addDrawablesFromAuxData(DataSetSeismogram seis)
|
void |
addSelection(Selection newSelection)
|
void |
addSoundPlay()
|
void |
clear()
clear removes all seismograms from this receptacle |
void |
clearSelections()
|
boolean |
contains(DataSetSeismogram seismo)
contains checks the receptacle for the presence of seismo |
int |
countDrawables()
|
SeismogramDisplayProvider |
createCenter()
|
void |
drawSeismograms(java.awt.Graphics2D g2,
java.awt.Dimension size)
|
AmpConfig |
getAmpConfig()
|
java.awt.Color |
getColor()
|
DrawableIterator |
getDrawables(java.awt.event.MouseEvent e)
|
VerticalSeismogramDisplay |
getParentDisplay()
|
int |
getPixel(MicroSecondDate date)
|
java.util.List |
getSeismogramList()
|
DataSetSeismogram[] |
getSeismograms()
returns all of the seismograms held by this receptacle |
MicroSecondTimeRange |
getTime()
|
MicroSecondDate |
getTime(int pixel)
|
static MicroSecondDate |
getTime(int x,
java.awt.Insets insets,
java.awt.Dimension dim,
MicroSecondTimeRange timeRange)
|
TimeAmpLabel |
getTimeAmpLabel()
|
TimeConfig |
getTimeConfig()
|
DrawableIterator |
iterator(java.lang.Class drawableClass)
|
void |
print()
|
void |
remove()
removes this Basic SeismogramDisplay from the parent. |
void |
remove(DataSetSeismogram[] seismos)
remove removes all of the seismograms in this array |
void |
remove(Drawable drawable)
|
void |
remove(Selection old)
|
void |
removeSoundPlay()
|
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[] seisToReset)
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)
|
void |
setGlobalizedAmpConfig(AmpConfig ac)
|
void |
setIndividualizedAmpConfig(AmpConfig ac)
|
void |
setOutlineColor(java.awt.Color c)
|
void |
setParentDisplay(VerticalSeismogramDisplay disp)
|
void |
setTimeConfig(TimeConfig tc)
|
void |
updateAmp(AmpEvent event)
|
void |
updateTime(TimeEvent event)
|
| Methods inherited from class edu.sc.seis.fissuresUtil.display.SeismogramDisplay |
|---|
add, getActiveFilters, getCenter, getCurrentTimeFlag, getDrawableSeismogram, getMouseForwarder, getMouseMotionForwarder, getNextColor, getPdfSeismogramsPerPage, hasConfiguredColors, isPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, remove, renderToGraphics, setColors, setColors, setCurrentTimeFlag, setDrawNamesForNamedDrawables, setMouseForwarder, setMouseMotionForwarder, setPDF, setPdfSeismogramsPerPage |
| Methods inherited from class edu.sc.seis.fissuresUtil.display.BorderedDisplay |
|---|
add, add, add, add, clear, clearBorders, get, isFilled, outputToPNG, outputToPNG, outputToPNG, outputToPNG, removeAll, 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 |
|---|
public static final float PDF_SCALE
public static final int PREFERRED_HEIGHT
public static final int PREFERRED_WIDTH
| Constructor Detail |
|---|
public BasicSeismogramDisplay()
public BasicSeismogramDisplay(TimeConfig tc)
public BasicSeismogramDisplay(AmpConfig ac)
public BasicSeismogramDisplay(TimeConfig tc,
AmpConfig ac)
public BasicSeismogramDisplay(TimeConfig tc,
AmpConfig ac,
java.awt.Color outlineColor)
| Method Detail |
|---|
public SeismogramDisplayProvider createCenter()
createCenter in class SeismogramDisplaypublic void add(DataSetSeismogram[] seismos)
DataSetSeismogramReceptacleadd adds all of the seismograms in the array to the
receptacle
add in interface DataSetSeismogramReceptacleseismos - a DataSetSeismogram[] containing seismograms to
be added to this receptacle
public void add(DataSetSeismogram[] seismos,
java.awt.Color seisColor)
public void remove(Drawable drawable)
remove in class SeismogramDisplaypublic void add(Drawable drawable)
add in class SeismogramDisplaypublic DrawableIterator getDrawables(java.awt.event.MouseEvent e)
getDrawables in class SeismogramDisplaypublic DataSetSeismogram[] getSeismograms()
DataSetSeismogramReceptacle
getSeismograms in interface DataSetSeismogramReceptaclegetSeismograms in class SeismogramDisplaypublic java.util.List getSeismogramList()
public void reset()
DataSetSeismogramReceptacle
reset in interface DataSetSeismogramReceptaclepublic void reset(DataSetSeismogram[] seisToReset)
DataSetSeismogramReceptaclereset takes all of the seismograms in the array and sets
their state as if they had just been initially added to the receptacle
reset in interface DataSetSeismogramReceptacleseisToReset - a DataSetSeismogram[] value containing
seismograms to be reset
public static MicroSecondDate getTime(int x,
java.awt.Insets insets,
java.awt.Dimension dim,
MicroSecondTimeRange timeRange)
public VerticalSeismogramDisplay getParentDisplay()
public void setParentDisplay(VerticalSeismogramDisplay disp)
public void updateAmp(AmpEvent event)
updateAmp in interface AmpListenerpublic void setAmpConfig(AmpConfig ac)
setAmpConfig in class SeismogramDisplaypublic void setGlobalizedAmpConfig(AmpConfig ac)
setGlobalizedAmpConfig in class SeismogramDisplaypublic void setIndividualizedAmpConfig(AmpConfig ac)
setIndividualizedAmpConfig in class SeismogramDisplaypublic AmpConfig getAmpConfig()
getAmpConfig in class SeismogramDisplaypublic void updateTime(TimeEvent event)
updateTime in interface TimeListenerpublic void setTimeConfig(TimeConfig tc)
setTimeConfig in class SeismogramDisplaypublic TimeConfig getTimeConfig()
getTimeConfig in class SeismogramDisplaypublic MicroSecondTimeRange getTime()
public MicroSecondDate getTime(int pixel)
public int getPixel(MicroSecondDate date)
public DrawableIterator iterator(java.lang.Class drawableClass)
iterator in class SeismogramDisplaypublic TimeAmpLabel getTimeAmpLabel()
public void clearSelections()
public void addSelection(Selection newSelection)
public void remove(Selection old)
remove in class SeismogramDisplaypublic void print()
print in class SeismogramDisplaypublic boolean contains(DataSetSeismogram seismo)
DataSetSeismogramReceptaclecontains checks the receptacle for the presence of seismo
contains in interface DataSetSeismogramReceptacleseismo - the seismogram whose presence is to be tested
public void clear()
DataSetSeismogramReceptacleclear removes all seismograms from this receptacle
clear in interface DataSetSeismogramReceptaclepublic void remove(DataSetSeismogram[] seismos)
DataSetSeismogramReceptacleremove removes all of the seismograms in this array
remove in interface DataSetSeismogramReceptacleseismos - DataSetSeismogram[] an array of seismograms to
be removedpublic void remove()
public void drawSeismograms(java.awt.Graphics2D g2,
java.awt.Dimension size)
public void addSoundPlay()
public void removeSoundPlay()
public void addDrawablesFromAuxData(DataSetSeismogram seis)
public int countDrawables()
public java.awt.Color getColor()
getColor in class SeismogramDisplaypublic void setOutlineColor(java.awt.Color c)
setOutlineColor in class SeismogramDisplay
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||