|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinteractors.Interactor
interactors.constraints.TopologyInteractor
public class TopologyInteractor
Class for displaying topology constraints.
Field Summary | |
---|---|
(package private) java.util.ArrayList<Constraint> |
constraints
the toplogy constraints |
Fields inherited from class interactors.Interactor |
---|
handler |
Constructor Summary | |
---|---|
TopologyInteractor(InteractionHandler handler)
Constructs the topology interactor. |
Method Summary | |
---|---|
void |
draw(GL gl,
GLU glu,
GLUT glut)
Draws the topology constraints. |
java.awt.Cursor |
getCursor()
Gets the crossahir cursor. |
void |
keyPressed(java.awt.event.KeyEvent arg0)
Not implemented. |
void |
keyReleased(java.awt.event.KeyEvent arg0)
Not implemented. |
void |
mouseDragged(java.awt.event.MouseEvent arg0)
Not implemented. |
void |
mouseMoved(java.awt.event.MouseEvent arg0)
Not implemented. |
void |
mousePressed(java.awt.event.MouseEvent arg0)
Double right-click ends the interaction. |
void |
mouseReleased(java.awt.event.MouseEvent arg0)
Not implemented. |
void |
startInteraction()
Verifies that the topology constraints are satisfied. |
Methods inherited from class interactors.Interactor |
---|
endInteraction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.util.ArrayList<Constraint> constraints
Constructor Detail |
---|
public TopologyInteractor(InteractionHandler handler)
handler
- - the interaction handlerMethod Detail |
---|
public java.awt.Cursor getCursor()
getCursor
in class Interactor
public void startInteraction()
startInteraction
in class Interactor
public void draw(GL gl, GLU glu, GLUT glut)
draw
in class Interactor
public void mousePressed(java.awt.event.MouseEvent arg0)
mousePressed
in class Interactor
public void keyPressed(java.awt.event.KeyEvent arg0)
keyPressed
in class Interactor
public void keyReleased(java.awt.event.KeyEvent arg0)
keyReleased
in class Interactor
public void mouseReleased(java.awt.event.MouseEvent arg0)
mouseReleased
in class Interactor
public void mouseDragged(java.awt.event.MouseEvent arg0)
mouseDragged
in class Interactor
public void mouseMoved(java.awt.event.MouseEvent arg0)
mouseMoved
in class Interactor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |