org.xith3d.ui.swingui
Class UIDraggingWindow

java.lang.Object
  extended by org.xith3d.ui.swingui.UIDraggingWindow
All Implemented Interfaces:
UIOverlayInterface

public class UIDraggingWindow
extends java.lang.Object
implements UIOverlayInterface

Insert package comments here

Originally Coded by David Yazel on Nov 24, 2003 at 12:17:37 PM.


Constructor Summary
UIDraggingWindow()
           
 
Method Summary
 UIDraggingInformation getDraggingInterface()
           
 Node getRoot()
           
 void getSize(java.awt.Dimension dim)
          Gets the dimension of the overlay.
 boolean isOpaque()
          This method is used by overlay manager to optimize the display of the overlay.
 void setCanDrop(boolean drop)
           
 void setDi(UIDraggingInformation di)
           
 void update()
          Called once per frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIDraggingWindow

public UIDraggingWindow()
Method Detail

getSize

public void getSize(java.awt.Dimension dim)
Description copied from interface: UIOverlayInterface
Gets the dimension of the overlay. This is necessary for the window manager to be able to move the overlay to new positions, as well to detect that the window has been clicked on

Specified by:
getSize in interface UIOverlayInterface

getDraggingInterface

public UIDraggingInformation getDraggingInterface()

setDi

public void setDi(UIDraggingInformation di)

update

public void update()
Description copied from interface: UIOverlayInterface
Called once per frame. This should not do anything unless absolutely necessary. Specifically it is assumed this will be used to do a texture swap for changing the overlay contents.

Specified by:
update in interface UIOverlayInterface

setCanDrop

public void setCanDrop(boolean drop)

getRoot

public Node getRoot()
Specified by:
getRoot in interface UIOverlayInterface
Returns:
the root of the overlay scenegraph

isOpaque

public boolean isOpaque()
Description copied from interface: UIOverlayInterface
This method is used by overlay manager to optimize the display of the overlay.

Specified by:
isOpaque in interface UIOverlayInterface