|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.gui.DisplayInfo
public class 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(java.lang.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. |
java.lang.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(java.lang.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 java.lang.String getMenuText()
public int getId()
public Displayable getDisplayable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||