Uses of Class
org.graphstream.ui.graphicGraph.GraphicElement
| Package | Description |
|---|---|
| org.graphstream.ui.graphicGraph | |
| org.graphstream.ui.view | |
| org.graphstream.ui.view.camera |
-
Uses of GraphicElement in org.graphstream.ui.graphicGraph
Subclasses of GraphicElement in org.graphstream.ui.graphicGraph Modifier and Type Class Description classGraphicEdgeGraphical edge.classGraphicNodeGraphical node.classGraphicSpriteA small gentle sprite.Methods in org.graphstream.ui.graphicGraph that return GraphicElement Modifier and Type Method Description GraphicElementGraphicSprite. getAttachment()Return the graphic object this sprite is attached to or null if not attached.Methods in org.graphstream.ui.graphicGraph with parameters of type GraphicElement Modifier and Type Method Description voidGraphicElementChangeListener. graphicElementChanged(GraphicElement element) -
Uses of GraphicElement in org.graphstream.ui.view
Methods in org.graphstream.ui.view that return GraphicElement Modifier and Type Method Description GraphicElementGraphRenderer. findGraphicElementAt(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).GraphicElementView. findGraphicElementAt(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).Methods in org.graphstream.ui.view that return types with arguments of type GraphicElement Modifier and Type Method Description Collection<GraphicElement>GraphRenderer. allGraphicElementsIn(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).Collection<GraphicElement>View. allGraphicElementsIn(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).Methods in org.graphstream.ui.view with parameters of type GraphicElement Modifier and Type Method Description voidView. freezeElement(GraphicElement element, boolean frozen)Freeze an element so that the optional layout cannot move it.voidGraphRenderer. moveElementAtPx(GraphicElement element, double x, double y)Force an element to move at the given location in pixels.voidView. moveElementAtPx(GraphicElement element, double x, double y)Force an element to move at the given location in pixels. -
Uses of GraphicElement in org.graphstream.ui.view.camera
Methods in org.graphstream.ui.view.camera that return GraphicElement Modifier and Type Method Description GraphicElementCamera. findGraphicElementAt(GraphicGraph graph, EnumSet<InteractiveElement> types, double x, double y)GraphicElementDefaultCamera2D. findGraphicElementAt(GraphicGraph graph, EnumSet<InteractiveElement> types, double x, double y)Search for the first GraphicElement among those specified.Methods in org.graphstream.ui.view.camera that return types with arguments of type GraphicElement Modifier and Type Method Description Collection<GraphicElement>Camera. allGraphicElementsIn(GraphicGraph graph, EnumSet<InteractiveElement> types, double x1, double y1, double x2, double y2)Collection<GraphicElement>DefaultCamera2D. allGraphicElementsIn(GraphicGraph graph, EnumSet<InteractiveElement> types, double x1, double y1, double x2, double y2)Methods in org.graphstream.ui.view.camera with parameters of type GraphicElement Modifier and Type Method Description booleanDefaultCamera2D. edgeContains(GraphicElement elt, double x, double y)Point3DefaultCamera2D. getNodeOrSpritePositionGU(GraphicElement elt, Point3 pos)ValuesDefaultCamera2D. getNodeOrSpriteSize(GraphicElement elt)booleanDefaultCamera2D. isTextVisible(GraphicElement element)booleanCamera. isVisible(GraphicElement element)True if the element would be visible on screen.booleanDefaultCamera2D. isVisible(GraphicElement element)True if the element should be visible on screen.booleanDefaultCamera2D. nodeContains(GraphicElement elt, double x, double y)booleanDefaultCamera2D. spriteContains(GraphicElement elt, double x, double y)