|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ed.inf.graph.state.GraphStateHandler<N,E>
public class GraphStateHandler<N extends IRestorableGraphElement & IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IRestorableGraphElement & IBasicEdge<N,E>>
Constructor Summary | |
---|---|
GraphStateHandler(IBasicGraph<N,E> graph)
|
Method Summary | |
---|---|
IGraphState<N,E> |
createGraphState()
|
IBasicGraph<N,E> |
getGraph()
|
void |
restoreState(IGraphState<N,E> previousState)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphStateHandler(IBasicGraph<N,E> graph)
Method Detail |
---|
public IBasicGraph<N,E> getGraph()
getGraph
in interface IGraphStateHandler<N extends IRestorableGraphElement & IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IRestorableGraphElement & IBasicEdge<N,E>>
public IGraphState<N,E> createGraphState()
createGraphState
in interface IGraphStateHandler<N extends IRestorableGraphElement & IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IRestorableGraphElement & IBasicEdge<N,E>>
public void restoreState(IGraphState<N,E> previousState) throws java.lang.IllegalArgumentException
restoreState
in interface IGraphStateHandler<N extends IRestorableGraphElement & IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IRestorableGraphElement & IBasicEdge<N,E>>
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |