public class RecordSectionDisplay extends SeismogramDisplay implements TimeListener, AmpListener, LayoutListener
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponentactiveFilters, COLORS, drawNamesForNamedDrawables, isPDF, PRINTINGBOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, CENTER, CENTER_LEFT, CENTER_RIGHT, TOP_CENTER, TOP_LEFT, TOP_RIGHTlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
RecordSectionDisplay() |
RecordSectionDisplay(boolean swapAxes) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DataSetSeismogram[] seismos)
add adds all of the seismograms in the array to the
receptacle |
void |
add(Drawable drawable) |
void |
checkSeismogramHeight(java.awt.Dimension size) |
void |
clear()
clear removes all seismograms from this receptacle |
boolean |
contains(DataSetSeismogram seismo)
contains checks the receptacle for the presence of seismo |
SeismogramDisplayProvider |
createCenter() |
void |
drawSeismograms(java.awt.Graphics2D g2,
java.awt.Dimension size) |
AmpConfig |
getAmpConfig() |
edu.iris.Fissures.model.UnitRangeImpl |
getDistance() |
DrawableIterator |
getDrawables(int x,
int y) |
DrawableIterator |
getDrawables(java.awt.event.MouseEvent e) |
LayoutConfig |
getLayoutConfig() |
int |
getMinSeisPixelHeight() |
java.util.HashMap |
getPixelMap() |
DataSetSeismogram[] |
getSeismograms()
returns all of the seismograms held by this receptacle
|
boolean |
getSwapAxes() |
TimeConfig |
getTimeConfig() |
DrawableIterator |
iterator(java.lang.Class drawableClass) |
void |
print() |
void |
remove(DataSetSeismogram[] seismos)
remove removes all of the seismograms in this array |
void |
remove(Drawable drawable) |
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 |
scalingChanged(double newScaling) |
void |
setAmpConfig(AmpConfig ac) |
void |
setDistBorder(DistanceBorder distanceBorder,
int position) |
void |
setGlobalizedAmpConfig(AmpConfig ac) |
void |
setIndividualizedAmpConfig(AmpConfig ac) |
void |
setLayout(LayoutConfig layout) |
void |
setLayoutScaler(LayoutScaler scaler) |
void |
setMinSeisPixelHeight(int minPixelHeight) |
void |
setParticleAllowed(boolean allowed) |
void |
setTimeBorder(TimeBorder timeBorder,
int position) |
void |
setTimeConfig(TimeConfig tc) |
void |
storePixels(LayoutData layoutData,
double topLeftX,
double topLeftY,
double bottomRightX,
double bottomRightY) |
DrawableSeismogram |
toDrawable(DataSetSeismogram seis) |
void |
updateAmp(AmpEvent event) |
void |
updateLayout(LayoutEvent event) |
void |
updateTime(TimeEvent event) |
add, getActiveFilters, getCenter, getColor, getCurrentTimeFlag, getDrawableSeismogram, getMouseForwarder, getMouseMotionForwarder, getNextColor, getPdfSeismogramsPerPage, hasConfiguredColors, isPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, outputToPDF, remove, remove, renderToGraphics, setColors, setColors, setCurrentTimeFlag, setDrawNamesForNamedDrawables, setMouseForwarder, setMouseMotionForwarder, setOutlineColor, setPDF, setPdfSeismogramsPerPageadd, add, add, add, clear, clearBorders, get, isFilled, outputToPNG, outputToPNG, outputToPNG, outputToPNG, removeAll, renderToGraphicsgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, 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, updateadd, 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, transferFocusDownCycle, validate, validateTreeaction, 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, 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, transferFocusBackward, transferFocusUpCyclepublic RecordSectionDisplay()
public RecordSectionDisplay(boolean swapAxes)
public SeismogramDisplayProvider createCenter()
createCenter in class SeismogramDisplaypublic void scalingChanged(double newScaling)
public edu.iris.Fissures.model.UnitRangeImpl getDistance()
public void add(DataSetSeismogram[] seismos)
DataSetSeismogramReceptacleadd adds all of the seismograms in the array to the
receptacleadd in interface DataSetSeismogramReceptacleseismos - a DataSetSeismogram[] containing seismograms to
be added to this receptaclepublic void setDistBorder(DistanceBorder distanceBorder, int position)
public void setTimeBorder(TimeBorder timeBorder, int position)
public void add(Drawable drawable)
add in class SeismogramDisplaypublic void remove(Drawable drawable)
remove in class SeismogramDisplaypublic DrawableIterator getDrawables(java.awt.event.MouseEvent e)
getDrawables in class SeismogramDisplaypublic void setTimeConfig(TimeConfig tc)
setTimeConfig in class SeismogramDisplaypublic TimeConfig getTimeConfig()
getTimeConfig in class SeismogramDisplaypublic 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 LayoutConfig getLayoutConfig()
public void setLayout(LayoutConfig layout)
public DataSetSeismogram[] getSeismograms()
DataSetSeismogramReceptaclegetSeismograms in interface DataSetSeismogramReceptaclegetSeismograms in class SeismogramDisplaypublic DrawableIterator iterator(java.lang.Class drawableClass)
iterator in class SeismogramDisplaypublic void reset()
DataSetSeismogramReceptaclereset in interface DataSetSeismogramReceptaclepublic void reset(DataSetSeismogram[] seismos)
DataSetSeismogramReceptaclereset takes all of the seismograms in the array and sets
their state as if they had just been initially added to the receptaclereset in interface DataSetSeismogramReceptacleseismos - a DataSetSeismogram[] value containing
seismograms to be resetpublic void clear()
DataSetSeismogramReceptacleclear removes all seismograms from this receptacleclear in interface DataSetSeismogramReceptaclepublic void remove(DataSetSeismogram[] seismos)
DataSetSeismogramReceptacleremove removes all of the seismograms in this arrayremove in interface DataSetSeismogramReceptacleseismos - DataSetSeismogram[] an array of seismograms to
be removedpublic boolean contains(DataSetSeismogram seismo)
DataSetSeismogramReceptaclecontains checks the receptacle for the presence of seismocontains in interface DataSetSeismogramReceptacleseismo - the seismogram whose presence is to be testedpublic void updateTime(TimeEvent event)
updateTime in interface TimeListenerpublic void updateAmp(AmpEvent event)
updateAmp in interface AmpListenerpublic void updateLayout(LayoutEvent event)
updateLayout in interface LayoutListenerpublic void storePixels(LayoutData layoutData, double topLeftX, double topLeftY, double bottomRightX, double bottomRightY)
public java.util.HashMap getPixelMap()
public boolean getSwapAxes()
public int getMinSeisPixelHeight()
public void setMinSeisPixelHeight(int minPixelHeight)
public void checkSeismogramHeight(java.awt.Dimension size)
public void drawSeismograms(java.awt.Graphics2D g2,
java.awt.Dimension size)
public DrawableIterator getDrawables(int x, int y)
public DrawableSeismogram toDrawable(DataSetSeismogram seis)
public void print()
print in class SeismogramDisplaypublic void setParticleAllowed(boolean allowed)
public void setLayoutScaler(LayoutScaler scaler)