|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.mathpadapp.conceptmapping.GraphManager
public class GraphManager
The Class GraphManager.
| Constructor Summary | |
|---|---|
GraphManager(ContentSystem contentSystem)
Instantiates a new graph manager. |
|
| Method Summary | |
|---|---|
void |
addGraphLink(GraphLink link)
Adds the graph link. |
void |
addGraphNode(GraphNode node)
Adds the graph node. |
void |
clearGraph()
Clear graph. |
void |
detachGraphLink(GraphLink link)
Detach graph link. |
void |
detachGraphNode(GraphNode node)
Detach graph node. |
java.util.ArrayList<GraphLink> |
getGraphLinks()
Gets the graph links. |
java.util.ArrayList<GraphNode> |
getGraphNodes()
Gets the graph nodes. |
void |
linkPointDragged(GraphNode sourceNode,
long id,
float x,
float y)
Link point dragged. |
void |
linkPointPressed(GraphNode sourceNode,
long id,
float x,
float y)
Link point pressed. |
void |
linkPointReleased(GraphNode sourceNode,
long id,
float x,
float y)
Link point released. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphManager(ContentSystem contentSystem)
contentSystem - the content system| Method Detail |
|---|
public void addGraphLink(GraphLink link)
link - the linkpublic void addGraphNode(GraphNode node)
node - the nodepublic void clearGraph()
public void detachGraphLink(GraphLink link)
link - the linkpublic void detachGraphNode(GraphNode node)
node - the nodepublic java.util.ArrayList<GraphLink> getGraphLinks()
public java.util.ArrayList<GraphNode> getGraphNodes()
public void linkPointDragged(GraphNode sourceNode,
long id,
float x,
float y)
sourceNode - the source nodeid - the idx - the xy - the y
public void linkPointPressed(GraphNode sourceNode,
long id,
float x,
float y)
sourceNode - the source nodeid - the idx - the xy - the y
public void linkPointReleased(GraphNode sourceNode,
long id,
float x,
float y)
sourceNode - the source nodeid - the idx - the xy - the y
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||