|
|||||||||||
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.WavesDataManager
WavesDataManager.java
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 | |
WavesDataManager()
Deprecated. |
|
WavesDataManager(JHDLHostWidgetInterface hwi)
Constructs a new WavesDataManager--New constructor, so that this panel can pass the JHDLHostWidgetInterface to its parent to get the call chain ready to be initialized. |
Method Summary | |
void |
changeCycle(java.lang.String cycle)
This method provides the functionality for the "Go to Cycle" command. |
void |
dataBarAdjusted(int newValue)
This method will be called when the data scroll bar is adjusted. |
void |
decSize()
|
void |
dumpDataToFile(java.lang.String fName)
|
java.lang.String[] |
getBVRange(int index,
int start,
int elements)
Get the range of data from the dataHistory vector for each wire that will actually be viewed. |
int |
getSelectedRow()
Data format modification methods (radix changes) |
java.lang.String |
getShortName(int index)
|
void |
incSize()
|
boolean |
isShortName()
|
void |
modifyFormat(int sIndex)
|
void |
modifyFormat(java.lang.String newFormat,
int formatNum)
|
void |
removeData(int index)
This is called to remove data from various vectors after a wire has been removed. |
void |
reset()
|
void |
setShared(boolean share)
Sets whether or not all of the waves share the selected radix value. |
void |
setShortName(boolean value)
|
void |
setTableWidth(int tw)
|
void |
setTextMode(boolean text)
|
void |
updateData(BV[] inData,
java.lang.String cycleName,
int sCount)
This method is called after every clock cycle or step to update each wire value at that instant in time. |
void |
updateVectors(java.util.Vector cNames,
java.util.Vector data)
This is called to update the cycle names, wire data, and total step count from a text file. |
void |
updateWaves(boolean align,
boolean nameChange)
This method is called to prepare all of the wave data to be properly viewed. |
void |
updateWireData(int count,
java.lang.String name,
int width)
This method is called after a new wire has been added to the Waves Viewer. |
Methods inherited from class byucc.jhdl.apps.Viewers.Waves.BrowserWavesPanel |
addWavesListener, checkTableWidth, disposeWindow, getBrowserNameCanvas, getCurrValue, removeWavesListener, scrollBarAdjust, setPageSize, setScrollIndex, setScrollMax, syncScroll, updateMarker, updateSelection, updateValueCanvas, updateWaves |
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, addKeyListener, 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, 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 |
Constructor Detail |
public WavesDataManager()
public WavesDataManager(JHDLHostWidgetInterface hwi)
hwi
- The JHDLHostWidgetInterface this panel will send to
its parent.Method Detail |
public void reset()
reset
in class BrowserWavesPanel
public void setTextMode(boolean text)
public void updateVectors(java.util.Vector cNames, java.util.Vector data)
public void updateData(BV[] inData, java.lang.String cycleName, int sCount)
public void updateWireData(int count, java.lang.String name, int width)
public void removeData(int index)
public void updateWaves(boolean align, boolean nameChange)
public java.lang.String[] getBVRange(int index, int start, int elements)
public void changeCycle(java.lang.String cycle)
public boolean isShortName()
public void setShortName(boolean value)
public java.lang.String getShortName(int index)
public int getSelectedRow()
public void setShared(boolean share)
public void modifyFormat(java.lang.String newFormat, int formatNum)
public void modifyFormat(int sIndex)
public void decSize()
public void incSize()
public void setTableWidth(int tw)
public void dumpDataToFile(java.lang.String fName)
public void dataBarAdjusted(int newValue)
BrowserWavesListener
dataBarAdjusted
in interface BrowserWavesListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |