com.vm.visual
Class VMProjector

java.lang.Object
  |
  +--com.vm.visual.VMProjector
Direct Known Subclasses:
VMBiscuitProjector, VMCameraProjector

public class VMProjector
extends java.lang.Object


Field Summary
protected  VMPanel panel
           
 VMSpace space
           
 
Constructor Summary
VMProjector(VMSpace i_space, VMPanel i_panel)
           
 
Method Summary
 boolean action(java.awt.Event evt, java.lang.Object arg)
           
 boolean clickAction(java.lang.String action, int x, int y)
           
 java.lang.String[] clickActions()
           
 java.lang.String[] dragActions()
           
 java.awt.Point getPoint(int x, int y, int z)
           
protected  VMNode locateNode(int x, int y)
           
 void reflectDrag(java.awt.Event evt, VMNode node, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

panel

protected VMPanel panel

space

public VMSpace space
Constructor Detail

VMProjector

public VMProjector(VMSpace i_space,
                   VMPanel i_panel)
Method Detail

getPoint

public java.awt.Point getPoint(int x,
                               int y,
                               int z)
Returns:
null if not available

reflectDrag

public void reflectDrag(java.awt.Event evt,
                        VMNode node,
                        int x,
                        int y)

locateNode

protected VMNode locateNode(int x,
                            int y)

action

public boolean action(java.awt.Event evt,
                      java.lang.Object arg)

clickAction

public boolean clickAction(java.lang.String action,
                           int x,
                           int y)

clickActions

public java.lang.String[] clickActions()

dragActions

public java.lang.String[] dragActions()