SwingFX v1.0

net.java.swingfx.jdraggable
Class DraggableMask

java.lang.Object
  extended bynet.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/api/net/java/swingfx/jdraggable/DraggableMask.html,v 1.1 2005/06/23 00:24:38 codecraig Exp $

Constructor Summary
DraggableMask(Component component)
          Creates a new DraggableMask which masks component
 
Method Summary
 Component getComponent()
          Returns the actual Component which is dragged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DraggableMask

public DraggableMask(Component component)
Creates a new DraggableMask which masks component

Parameters:
component - the Component to mask
Method Detail

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

SwingFX v1.0

SwingFX

Copyright 2005 Romain Guy and Craig Wickesser
All Rights Reserved.