|
|||||||||
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.JInternalFrame
mars.venus.DataSegmentWindow
public class DataSegmentWindow
Represents the Data Segment window, which is a type of JInternalFrame.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JInternalFrame |
---|
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIcon |
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.JInternalFrame |
---|
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
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 javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
DataSegmentWindow(NumberDisplayBaseChooser[] choosers)
Constructor for the Data Segment window. |
Method Summary | |
---|---|
void |
clearHighlighting()
Clear highlight background color from any cell currently highlighted. |
void |
clearWindow()
Removes the table from its frame, typically done when a file is closed. |
void |
resetMemoryRange()
Reset range of memory addresses to base address of currently selected segment and update display. |
void |
resetValues()
Reset all data display values to 0 |
void |
setupTable()
Generates and displays fresh table, typically done upon successful assembly. |
void |
update(Observable observable,
Object obj)
Required by Observer interface. |
void |
updateBaseAddressComboBox()
|
void |
updateCell(int address,
int value)
Update data display to show this value (I'm not sure it is being called). |
void |
updateDataAddresses()
Redisplay the addresses. |
void |
updateModelForMemoryRange(int firstAddr)
Update table model with contents of new memory "chunk". |
void |
updateValues()
Update data display to show all values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataSegmentWindow(NumberDisplayBaseChooser[] choosers)
choosers
- an array of objects used by user to select number display base (10 or 16)Method Detail |
---|
public void updateBaseAddressComboBox()
public void setupTable()
public void clearWindow()
public void clearHighlighting()
public void updateModelForMemoryRange(int firstAddr)
firstAddr
- the first address in the memory range to be placed in the model.public void updateCell(int address, int value)
public void updateDataAddresses()
public void updateValues()
public void resetMemoryRange()
public void resetValues()
public void update(Observable observable, Object obj)
update
in interface Observer
observable
- 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 |