|
|||||||||
| 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
mars.venus.Coprocessor1Window
public class Coprocessor1Window
Sets up a window to display Coprocessor 1 registers in the Registers pane of the UI.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| 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 | |
|---|---|
Coprocessor1Window()
Constructor which sets up a fresh window with a table that contains the register values. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Called when user clicks on a condition flag checkbox. |
void |
clearHighlighting()
Clear highlight background color from any row currently highlighted. |
void |
clearWindow()
Reset and redisplay registers. |
void |
refresh()
Refresh the table, triggering re-rendering. |
Object[][] |
setupWindow()
Sets up the data for the window. |
void |
update(Observable observable,
Object obj)
Required by Observer interface. |
void |
updateDoubleRegisterValue(int number,
int base)
This method handles the updating of the GUI. |
void |
updateFloatRegisterValue(int number,
int val,
int base)
This method handles the updating of the GUI. |
void |
updateRegisters()
Redisplay registers using current display number base (10 or 16) |
void |
updateRegisters(int base)
Redisplay registers using specified display number base (10 or 16) |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Coprocessor1Window()
| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - component that triggered this callpublic Object[][] setupWindow()
public void clearWindow()
public void clearHighlighting()
public void refresh()
public void updateRegisters()
public void updateRegisters(int base)
base - number base for display (10 or 16)
public void updateFloatRegisterValue(int number,
int val,
int base)
number - The number of the float register whose display to update.val - New value.base - the number base for display (e.g. 10, 16)
public void updateDoubleRegisterValue(int number,
int base)
number - The number of the double register to update.base - the number base for display (e.g. 10, 16)
public void update(Observable observable,
Object obj)
update in interface Observerobservable - The Observable object who is notifying usobj - Auxiliary object with additional information.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||