|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for objects that can be displayed on a DisplaySurface. DisplaySurface calls the drawDisplay method to draw the Displayable object. Consequently, a user should never need to call the drawDisplay method. The Display* classes implement this interface.
| Field Summary | |
static int |
TOGGLE_LINKS
|
static int |
TOGGLE_NODES
|
static int |
TOGGLE_UPDATE_LAYOUT
|
static int |
TOGGLE_VIEW
|
static int |
TOGGLE_WRAP
|
| Method Summary | |
void |
drawDisplay(SimGraphics g)
Draws whatever implements this interface on the SimGraphics object |
java.util.ArrayList |
getDisplayableInfo()
Returns an ArrayList of DisplayInfo objects used by a DisplaySurface to create the View menu for that displayable |
java.awt.Dimension |
getSize()
Gets the size of the display. |
void |
viewEventPerformed(ViewEvent evt)
Invoked when a display event occurs, through the view menu of a display surface for example. |
| Field Detail |
public static final int TOGGLE_VIEW
public static final int TOGGLE_NODES
public static final int TOGGLE_LINKS
public static final int TOGGLE_WRAP
public static final int TOGGLE_UPDATE_LAYOUT
| Method Detail |
public void drawDisplay(SimGraphics g)
public java.util.ArrayList getDisplayableInfo()
DisplayInfopublic void viewEventPerformed(ViewEvent evt)
public java.awt.Dimension getSize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||