interactors
Class ConceptNeighborInteractor

java.lang.Object
  extended by interactors.Interactor
      extended by interactors.ConceptNeighborInteractor

public class ConceptNeighborInteractor
extends Interactor

Interactor for displaying conceptual neighborhoods.


Field Summary
(package private)  java.util.ArrayList<java.awt.geom.Point2D> points
          the points to connect
(package private)  ConceptNeighborhoodViewer viewer
          the conceptual neighborhood viewer
 
Fields inherited from class interactors.Interactor
handler
 
Constructor Summary
ConceptNeighborInteractor(InteractionHandler handler)
          Constructs the concept neighborhoodd interactor.
 
Method Summary
 void draw(GL gl, GLU glu, GLUT glut)
          Draws the currently selected concept neighborhood.
 void endInteraction()
          Closes the concept neighborhood viewer.
 java.awt.Cursor getCursor()
          Returns the interactor cursor.
 void mousePressed(java.awt.event.MouseEvent arg0)
          Double right click ends the interaction.
 void setPoints(java.util.ArrayList<java.awt.geom.Point2D> points)
          Sets the points in the concept neighborhood.
 void startInteraction()
          Shows a status dialog that simulations the conneciton to the span reform project.
 
Methods inherited from class interactors.Interactor
keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

points

java.util.ArrayList<java.awt.geom.Point2D> points
the points to connect


viewer

ConceptNeighborhoodViewer viewer
the conceptual neighborhood viewer

Constructor Detail

ConceptNeighborInteractor

public ConceptNeighborInteractor(InteractionHandler handler)
Constructs the concept neighborhoodd interactor.

Parameters:
handler - - the interaction handler
Method Detail

draw

public void draw(GL gl,
                 GLU glu,
                 GLUT glut)
Draws the currently selected concept neighborhood.

Overrides:
draw in class Interactor

setPoints

public void setPoints(java.util.ArrayList<java.awt.geom.Point2D> points)
Sets the points in the concept neighborhood.


startInteraction

public void startInteraction()
Shows a status dialog that simulations the conneciton to the span reform project. Afterwards, the concept neighborhood viewer is displayed.

Overrides:
startInteraction in class Interactor

endInteraction

public void endInteraction()
Closes the concept neighborhood viewer.

Overrides:
endInteraction in class Interactor

getCursor

public java.awt.Cursor getCursor()
Returns the interactor cursor.

Overrides:
getCursor in class Interactor

mousePressed

public void mousePressed(java.awt.event.MouseEvent arg0)
Double right click ends the interaction.

Overrides:
mousePressed in class Interactor