com.tensegrity.gui.swing.dock.core
Class DnD

java.lang.Object
  extended bycom.tensegrity.gui.swing.dock.core.DnD

public final class DnD
extends java.lang.Object

Docking framework.

Version:
$Id: DnD.java,v 1.5 2005/09/23 09:51:37 sr Exp $
Author:
srutz

Field Summary
static java.awt.datatransfer.DataFlavor tabFlavor
          Tab Selection data flavor.
 
Method Summary
static void moveTab(TabPane source, TabEntry subjectentry, TabPane dest, TabEntry hitentry, boolean askManager)
          Moves a tab.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tabFlavor

public static java.awt.datatransfer.DataFlavor tabFlavor
Tab Selection data flavor.

Method Detail

moveTab

public static final void moveTab(TabPane source,
                                 TabEntry subjectentry,
                                 TabPane dest,
                                 TabEntry hitentry,
                                 boolean askManager)
Moves a tab. Internal method. Do not call unless preconditions hold.

Parameters:
source - source tabpane.
subjectentry - entry to move
dest - destination tabpane
hitentry - entry that is hit during dnd.
askManager - whether to ask view manager for confirmation.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.