net.java.swingfx.jdraggable
Class DraggableMask
java.lang.Object
net.java.swingfx.jdraggable.DraggableMask
- All Implemented Interfaces:
- Draggable
public class DraggableMask
- extends Object
- implements Draggable
A DraggableMask
is an object which allows any Component
to be "masked" as a Draggable
. This ability is
provided so that implementations of the DraggableManager
can be coded to use the Draggable
interface.
- Since:
- v0.1
- Author:
- craig
- See Also:
$Header: /cvs/swingfx/docs/net/java/swingfx/jdraggable/DraggableMask.html,v 1.1 2005/06/23 00:24:20 codecraig Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DraggableMask
public DraggableMask(Component component)
- Creates a new
DraggableMask
which masks component
- Parameters:
component
- the Component
to mask
getComponent
public Component getComponent()
- Description copied from interface:
Draggable
- Returns the actual
Component
which is dragged
- Specified by:
getComponent
in interface Draggable
- Returns:
- the
Component
which is dragged