Package | Description |
---|---|
org.graphstream.ui.view | |
org.graphstream.ui.view.camera | |
org.graphstream.ui.view.util |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<GraphicElement> |
View.allGraphicElementsIn(java.util.EnumSet<InteractiveElement> types,
double x1,
double y1,
double x2,
double y2)
Search for all the graphic elements contained inside the rectangle
(x1,y1)-(x2,y2).
|
java.util.Collection<GraphicElement> |
GraphRenderer.allGraphicElementsIn(java.util.EnumSet<InteractiveElement> types,
double x1,
double y1,
double x2,
double y2)
Search for all the graphic elements of the specified types contained inside
the rectangle (x1,y1)-(x2,y2).
|
GraphicElement |
View.findGraphicElementAt(java.util.EnumSet<InteractiveElement> types,
double x,
double y)
Search for the first GraphicElement among the specified types (precedence:
node, edge, sprite) that contains the point at coordinates (x, y).
|
GraphicElement |
GraphRenderer.findGraphicElementAt(java.util.EnumSet<InteractiveElement> types,
double x,
double y)
Search for the first GraphicElement among the specified types (precedence:
node, edge, sprite) that contains the point at coordinates (x, y).
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<GraphicElement> |
Camera.allGraphicElementsIn(GraphicGraph graph,
java.util.EnumSet<InteractiveElement> types,
double x1,
double y1,
double x2,
double y2) |
java.util.Collection<GraphicElement> |
DefaultCamera2D.allGraphicElementsIn(GraphicGraph graph,
java.util.EnumSet<InteractiveElement> types,
double x1,
double y1,
double x2,
double y2) |
GraphicElement |
Camera.findGraphicElementAt(GraphicGraph graph,
java.util.EnumSet<InteractiveElement> types,
double x,
double y) |
GraphicElement |
DefaultCamera2D.findGraphicElementAt(GraphicGraph graph,
java.util.EnumSet<InteractiveElement> types,
double x,
double y)
Search for the first GraphicElement among those specified.
|
Modifier and Type | Method and Description |
---|---|
static InteractiveElement |
InteractiveElement.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InteractiveElement[] |
InteractiveElement.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<InteractiveElement> |
MouseManager.getManagedTypes()
Returns the set of InteractiveElements managed by the MouseManager
|