|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.gui.DisplayInfo
Encapsulates information used by a display surface to create the view menu. The View menu makes it possible to turn off display(s) or parts of displays (e.g. the nodes in a network display).
| Field Summary | |
static int |
DRAW
|
static int |
NO_DRAW
|
| Constructor Summary | |
DisplayInfo(String menuText,
int id,
Displayable d)
Creates a new DisplayInfo with the specified menu text, id, and displayble. |
|
| Method Summary | |
Displayable |
getDisplayable()
Gets the displayble. |
int |
getId()
Gets the id. |
String |
getMenuText()
Gets the menu text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DRAW
public static final int NO_DRAW
| Constructor Detail |
public DisplayInfo(String menuText,
int id,
Displayable d)
menuText - the text to display on the view menuid - the id associated with this menuText, used to create
a ViewEvent when this menu item is selected.d - the displayable associated with this DisplayInfo| Method Detail |
public String getMenuText()
public int getId()
public Displayable getDisplayable()
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||