|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.viz3d.TSGraphCanvasListener
public class TSGraphCanvasListener
Field Summary | |
---|---|
private NetworkVizCreator |
creator
|
private javax.media.opengl.GLAutoDrawable |
drawable
|
private ConceptGraph<TermNode> |
firstGraph
|
private boolean |
initialized
|
private java.util.Map<anl.aida.util.DateRange,StackItem2> |
itemMap
|
private anl.aida.util.DateRange |
range
|
private StackRenderer2 |
stack
|
Constructor Summary | |
---|---|
TSGraphCanvasListener(ConceptGraph<TermNode> graph,
anl.aida.util.DateRange range)
|
Method Summary | |
---|---|
void |
addGraph(ConceptGraph<TermNode> graph,
anl.aida.util.DateRange range)
|
void |
init(javax.media.opengl.GLAutoDrawable drawable,
VNode root)
Called when the the canvas initializes itself in its GLEventListener.init. |
void |
initToolBar(javax.swing.JToolBar bar)
|
void |
itemSelected(java.lang.Object obj)
Called when an item has been selected in the canvas. |
void |
reshape(javax.media.opengl.GLAutoDrawable drawable,
float width,
float height,
VNode root)
Called when canvas reshapes in its GLEventListener.reshape |
void |
selectionsCleared()
Called when all the selected items in a canvas are unselected. |
void |
vSpatialMoved(VSpatial spatial,
javax.vecmath.Point3f localTrans)
Called when a VSpatial has been moved using the mouse. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private StackRenderer2 stack
private ConceptGraph<TermNode> firstGraph
private anl.aida.util.DateRange range
private NetworkVizCreator creator
private javax.media.opengl.GLAutoDrawable drawable
private java.util.Map<anl.aida.util.DateRange,StackItem2> itemMap
private boolean initialized
Constructor Detail |
---|
public TSGraphCanvasListener(ConceptGraph<TermNode> graph, anl.aida.util.DateRange range)
graphs
- Method Detail |
---|
public void initToolBar(javax.swing.JToolBar bar)
public void addGraph(ConceptGraph<TermNode> graph, anl.aida.util.DateRange range)
public void vSpatialMoved(VSpatial spatial, javax.vecmath.Point3f localTrans)
CanvasListener
vSpatialMoved
in interface CanvasListener
spatial
- the spatial that has been movedlocalTrans
- the new local translation of the spatialpublic void init(javax.media.opengl.GLAutoDrawable drawable, VNode root)
CanvasListener
init
in interface CanvasListener
drawable
- the canvas drawableroot
- the root node of the canvas to which other scene elements can be
added.public void reshape(javax.media.opengl.GLAutoDrawable drawable, float width, float height, VNode root)
CanvasListener
reshape
in interface CanvasListener
drawable
- drawable the canvas drawablewidth
- the width at z = 0 in world coordinatesheight
- the height at z = in world coordinatesroot
- the root node of the canvas to which other scene elements can be
added.public void itemSelected(java.lang.Object obj)
CanvasListener
itemSelected
in interface CanvasListener
obj
- the selected item.public void selectionsCleared()
CanvasListener
selectionsCleared
in interface CanvasListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |