org.cruxframework.crux.widgets.client.util.draganddrop
Class MoveCapability

java.lang.Object
  extended by org.cruxframework.crux.widgets.client.util.draganddrop.MoveCapability

public class MoveCapability
extends Object

Encloses the logic and contracts needed to move a widget when user drags it

Author:
Gesse Dafe

Nested Class Summary
static class MoveCapability.DragMoveAction
          The logic needed to move a widget when user drags it
static interface MoveCapability.Movable<K extends com.google.gwt.user.client.ui.IsWidget & com.google.gwt.event.dom.client.HasAllMouseHandlers>
          The contract to implement a widget which can be moved along the screen
 
Constructor Summary
MoveCapability()
           
 
Method Summary
static void addMoveCapability(MoveCapability.Movable<?> movable)
          Makes a widget able to me moved by dragging it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveCapability

public MoveCapability()
Method Detail

addMoveCapability

public static void addMoveCapability(MoveCapability.Movable<?> movable)
Makes a widget able to me moved by dragging it.

Parameters:
movable -


Copyright © 2014. All rights reserved.