|
|||||||||||
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
byucc.jhdl.apps.Viewers.Waves.BrowserWavesPanel
byucc.jhdl.apps.Viewers.Waves.BrowserWaves
BrowserWaves.java Created: ??
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class byucc.jhdl.apps.Viewers.Waves.BrowserWavesPanel |
_wavesListeners, dPanel, dScroll, HEIGHT, myTableData, PAD, selectedRow, sNameBar |
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, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
BrowserWaves(WatchInterface wInterface,
boolean sName)
|
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addKeyListener(java.awt.event.KeyListener kl)
|
void |
addMenuItems(javax.swing.JMenu menu,
java.lang.String menuTitle)
|
int |
checkTableWidth(int w)
|
void |
dataBarAdjusted(int newValue)
This method will be called when the data scroll bar is adjusted. |
void |
disposeWindow()
|
javax.swing.JMenu |
getMenu()
|
javax.swing.JMenuBar |
getMenuBar()
|
void |
reset()
|
void |
setCursor(java.awt.Cursor newCursor)
|
void |
setFormat(java.lang.String newFormat)
|
void |
setFrame(GenericFrame gFrame)
|
void |
setPageSize(int newSize)
|
void |
setScrollIndex(int newIndex)
|
void |
setScrollMax(int newMax)
|
void |
setTableWidth(int tw)
|
void |
updateDataRow(int row)
|
void |
updateDataScroll(int value)
|
void |
updateMarker(int loc)
|
void |
updateNameRow(int row)
|
void |
updateNameScroll(int value)
|
void |
updateSelectedFormat(WavesWire cWire)
|
protected void |
updateSelection(int newSelection)
|
void |
updateValues(int cycle)
|
void |
updateWaves(TableData newData,
int viewStartCycle,
int TableWidth)
|
void |
updateWaves(TableData newData,
int viewStartCycle,
int TableWidth,
boolean nameChange)
This method is used to update the names and values on wires. |
Methods inherited from class byucc.jhdl.apps.Viewers.Waves.BrowserWavesPanel |
addWavesListener, getBrowserNameCanvas, getCurrValue, removeWavesListener, scrollBarAdjust, syncScroll, updateValueCanvas |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, 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 |
Methods inherited from interface byucc.jhdl.apps.Viewers.Tool |
getName |
Constructor Detail |
public BrowserWaves(WatchInterface wInterface, boolean sName)
Method Detail |
public void setFrame(GenericFrame gFrame)
setFrame
in interface Tool
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface Tool
public javax.swing.JMenuBar getMenuBar()
getMenuBar
in interface Tool
public javax.swing.JMenu getMenu()
getMenu
in interface Tool
public void addMenuItems(javax.swing.JMenu menu, java.lang.String menuTitle)
addMenuItems
in interface Tool
public void updateSelectedFormat(WavesWire cWire)
updateSelectedFormat
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
public void updateValues(int cycle)
public void setFormat(java.lang.String newFormat)
setFormat
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
public void updateDataScroll(int value)
updateDataScroll
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
public void updateNameScroll(int value)
updateNameScroll
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
public void updateDataRow(int row)
updateDataRow
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
public void updateNameRow(int row)
updateNameRow
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
public void setScrollIndex(int newIndex)
setScrollIndex
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
setScrollIndex
in class BrowserWavesPanel
public void setScrollMax(int newMax)
setScrollMax
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
setScrollMax
in class BrowserWavesPanel
public void setPageSize(int newSize)
setPageSize
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
setPageSize
in class BrowserWavesPanel
public void disposeWindow()
disposeWindow
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
disposeWindow
in class BrowserWavesPanel
public void updateWaves(TableData newData, int viewStartCycle, int TableWidth)
updateWaves
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
public void updateWaves(TableData newData, int viewStartCycle, int TableWidth, boolean nameChange)
BrowserWavesPanel
updateWaves
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
updateWaves
in class BrowserWavesPanel
newData
- The actual waveform dataview (all of it)viewStartCycle
- ????TableWidth
- The number of cycles shown in the table
(specifies how wide the new data should be).nameChange
- Indicates that a new wire has changed and that
the names canvas should be changed (also used when changing from
short to long names).public void reset()
reset
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
reset
in class BrowserWavesPanel
public int checkTableWidth(int w)
checkTableWidth
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
checkTableWidth
in class BrowserWavesPanel
public void updateMarker(int loc)
updateMarker
in interface byucc.jhdl.apps.Viewers.Waves.BrowserDataView
updateMarker
in class BrowserWavesPanel
protected void updateSelection(int newSelection)
updateSelection
in class BrowserWavesPanel
public void setTableWidth(int tw)
public void dataBarAdjusted(int newValue)
BrowserWavesListener
dataBarAdjusted
in interface BrowserWavesListener
public void addKeyListener(java.awt.event.KeyListener kl)
public void setCursor(java.awt.Cursor newCursor)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |