public interface Display
Modifier and Type | Method and Description |
---|---|
Viewer |
display(Graph graph,
boolean autoLayout) |
static Display |
getDefault()
Try to get the default display according to the "org.graphstream.ui" property.
|
static Display getDefault() throws MissingDisplayException
It will look for three class candidates: 1. name defined in the property; 2. #1 one with a ".util.Display" suffix; 3. #2 one with a "org.graphstream.ui." prefix.
If the property is not set, or if no valid candidate can be found, a MissingDisplayException
will be
thrown.
MissingDisplayException
- if no Display can be found