|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cornell.cs.sam.ui.components.MemoryCell
public class MemoryCell
Field Summary | |
---|---|
static java.awt.Color |
COLOR_CH
The background color used for characters |
static java.awt.Color |
COLOR_DEFAULT
The color used for any items that do not have a correct type |
static java.awt.Color |
COLOR_FLOAT
The background color used for floats |
static java.awt.Color |
COLOR_INT
The background color used for integers |
static java.awt.Color |
COLOR_MA
The background color used for memory addresses |
static java.awt.Color |
COLOR_PA
The background color used for program addresses |
Constructor Summary | |
---|---|
MemoryCell(Memory.Data data,
int address)
|
Method Summary | |
---|---|
java.awt.Color |
getColor()
|
java.lang.String |
getText()
|
java.lang.String |
getToolTip()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.awt.Color COLOR_INT
public static final java.awt.Color COLOR_FLOAT
public static final java.awt.Color COLOR_MA
public static final java.awt.Color COLOR_PA
public static final java.awt.Color COLOR_CH
public static final java.awt.Color COLOR_DEFAULT
Constructor Detail |
---|
public MemoryCell(Memory.Data data, int address)
Method Detail |
---|
public java.lang.String getText()
public java.lang.String getToolTip()
public java.awt.Color getColor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |