Package org.graphstream.util
Interface Display
public interface Display
-
Method Summary
Modifier and Type Method Description Viewerdisplay(Graph graph, boolean autoLayout)static DisplaygetDefault()Try to get the default display according to the "org.graphstream.ui" property.
-
Method Details
-
getDefault
Try to get the default display according to the "org.graphstream.ui" property.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
MissingDisplayExceptionwill be thrown.- Returns:
- the Display object linked to the UI property
- Throws:
MissingDisplayException- if no Display can be found
-
display
-