com.tensegrity.gui.swing.dock.core
Interface ViewManager

All Known Implementing Classes:
DefaultViewManager

public interface ViewManager

Docking framework.

Version:
$Id: ViewManager.java,v 1.2 2005/04/01 11:33:36 sr Exp $
Author:
srutz

Method Summary
 boolean canCloseTabEntry(View view, TabPane tabpane, TabEntry entry)
          Invoked prior to closing a tab-entry.
 boolean canCloseTabPane(View view, TabPane tabpane)
          Invoked prior to closing a tabpane.
 boolean canMoveTabEntry(View view, TabPane source, TabPane dest, TabEntry entry)
          Invoked prior to moving a tab-entry.
 boolean canSplit(View view, TabPane source, TabPane dest, TabEntry entry, int split)
          Whether a split is allowed.
 

Method Detail

canCloseTabEntry

public boolean canCloseTabEntry(View view,
                                TabPane tabpane,
                                TabEntry entry)
Invoked prior to closing a tab-entry.

Parameters:
view - the view of the event.
tabpane - the tabpane of the event.
entry - the entry of the event.
Returns:
indicating whether operation is allowed or not.

canMoveTabEntry

public boolean canMoveTabEntry(View view,
                               TabPane source,
                               TabPane dest,
                               TabEntry entry)
Invoked prior to moving a tab-entry.

Parameters:
view - the view of the event.
source - the source tabpane.
dest - the destination tabpane.
entry - the entry of the event.
Returns:
indicating whether operation is allowed or not.

canCloseTabPane

public boolean canCloseTabPane(View view,
                               TabPane tabpane)
Invoked prior to closing a tabpane.

Parameters:
view - the view of the event.
tabpane - the tabpane of the event.
Returns:
indicating whether operation is allowed or not.

canSplit

public boolean canSplit(View view,
                        TabPane source,
                        TabPane dest,
                        TabEntry entry,
                        int split)
Whether a split is allowed.

Parameters:
view - the view of the vent.
source - the source tabpane.
dest - the destination tabpane.
entry - the entry.
split - the split direction.
Returns:
indicating whether operation is allowed or not.


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