org.diamondspin
Class DSPilerMover

java.lang.Object
  extended by org.diamondspin.DSPilerMover
All Implemented Interfaces:
EventListener, DSElementListener

public class DSPilerMover
extends Object
implements DSElementListener

When folder move, adpat the slave to it Made by piler


Constructor Summary
DSPilerMover(DSFrame m, DSFrame s, DSPiler dsp)
           
 
Method Summary
 void elementCenterChanged(DSElementEvent evt)
          Invoked when the DSelement change its own attach point to the global tabletop.
 void elementContentRepainted(DSElementEvent evt)
          Invoked when the DSelement has been repainted
 void elementDemoted(DSElementEvent evt)
          Invoked when the DSelement is dropped from the top "dragelement" to the elements in the view (if the view accept it !)
 void elementDropped(DSElementEvent evt)
          Invoked when the DSelement is dropped (then it was drag&dropped by the user)
 void elementFolded(DSElementEvent evt)
          Invoked when the DSelement is folded (back side returned over the front side)
 boolean elementGrabbing(DSElementEvent evt)
          Invoked when the DSelement is beieng grabbed.
 void elementMoved(DSElementEvent evt)
          Invoked when the DSelement is moved (d or alpha)
 void elementResized(DSElementEvent evt)
          Invoked when the DSelement is resized (width or height)
 void elementRotated(DSElementEvent evt)
          Invoked when the DSelement is finished to be rotated (with the according corner)
 void elementZoomed(DSElementEvent evt)
          Invoked when the DSelement is zoomed (zoom factor changed)
protected  void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSPilerMover

public DSPilerMover(DSFrame m,
                    DSFrame s,
                    DSPiler dsp)
Method Detail

update

protected final void update()

elementMoved

public void elementMoved(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement is moved (d or alpha)

Specified by:
elementMoved in interface DSElementListener

elementZoomed

public void elementZoomed(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement is zoomed (zoom factor changed)

Specified by:
elementZoomed in interface DSElementListener

elementRotated

public void elementRotated(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement is finished to be rotated (with the according corner)

Specified by:
elementRotated in interface DSElementListener

elementGrabbing

public boolean elementGrabbing(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement is beieng grabbed. Must return false if don't want to be grabbed

Specified by:
elementGrabbing in interface DSElementListener

elementFolded

public void elementFolded(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement is folded (back side returned over the front side)

Specified by:
elementFolded in interface DSElementListener

elementResized

public void elementResized(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement is resized (width or height)

Specified by:
elementResized in interface DSElementListener

elementDropped

public void elementDropped(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement is dropped (then it was drag&dropped by the user)

Specified by:
elementDropped in interface DSElementListener

elementCenterChanged

public void elementCenterChanged(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement change its own attach point to the global tabletop. Changing center point may change location, orientation, and even zoom !

Specified by:
elementCenterChanged in interface DSElementListener

elementDemoted

public void elementDemoted(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement is dropped from the top "dragelement" to the elements in the view (if the view accept it !)

Specified by:
elementDemoted in interface DSElementListener

elementContentRepainted

public void elementContentRepainted(DSElementEvent evt)
Description copied from interface: DSElementListener
Invoked when the DSelement has been repainted

Specified by:
elementContentRepainted in interface DSElementListener


Copyright © 2006 Frederic Vernier(LIMSI) Chia Shen(MERL) Guillaume Besacier(LIMSI). All Rights Reserved.