|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.rt.DisplayManager
public class DisplayManager
The DisplayManager is in charge of keeping track of the UpdatingDisplayValues currently in existence
Constructor Summary | |
---|---|
DisplayManager()
|
Method Summary | |
---|---|
static UpdatingDisplayValue |
createDisplay(Task myTask,
FrameIdentifier fIdent,
SteppingEngine engine,
String text)
Creates a new UpdatingDisplayValue if no such display exists yet. |
static boolean |
deleteDisplay(int num)
Deletes the display with the given identifier. |
static void |
deleteDisplay(UpdatingDisplayValue value)
Removes an UpdatingDisplayValue from the manager, allowing it to be garbage collected |
static boolean |
disableDisplay(int num)
Disables the display with the given identifier. |
static boolean |
enableDisplay(int num)
Enables the display with the given identifier. |
static UpdatingDisplayValue |
getDisplay(int id)
Retreive the display with the provided identifier if it exists. |
static Iterator |
getDisplayIterator()
Allows retrieval of all the displays being tracked by this manager |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayManager()
Method Detail |
---|
public static UpdatingDisplayValue createDisplay(Task myTask, FrameIdentifier fIdent, SteppingEngine engine, String text)
myTask
- The task the displayed expression is fromfIdent
- The frame the displayed expression is fromengine
- The stepping engine controlling the tasktext
- The expression text to create a display for
public static void deleteDisplay(UpdatingDisplayValue value)
value
- The display to removepublic static boolean disableDisplay(int num)
num
- The unique ID of the display to disable
public static boolean enableDisplay(int num)
num
- The unique ID of the identifier to enable
public static boolean deleteDisplay(int num)
num
- The unique ID of the display to delete
public static Iterator getDisplayIterator()
public static UpdatingDisplayValue getDisplay(int id)
id
- The identifier of the display to fetch
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |