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

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

public final class ViewEvent
extends java.lang.Object

Docking framework.

Version:
$Id: ViewEvent.java,v 1.4 2005/07/07 16:46:34 sr Exp $
Author:
srutz

Field Summary
static int ENTRY_ACTIVATED
          Event type.
static int ENTRY_ADDED
          Event type.
static int ENTRY_REACTIVATED
          Event type.
static int ENTRY_REMOVED
          Event type.
static int SPLIT_OCCURED
          Event type.
static int TABPANE_MAXIMIZED
          Event type.
static int TABPANE_MINIMIZED
          Event type.
 
Constructor Summary
ViewEvent(View view, int type, TabEntry entry, TabPane tabpane)
          Constructs a new ViewEvent.
 
Method Summary
 TabEntry getEntry()
          Returns the entry.
 int getEventType()
          Returns the event-type.
 TabPane getTabPane()
          Returns the tabpane.
 View getView()
          Returns the view.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENTRY_ADDED

public static final int ENTRY_ADDED
Event type.

See Also:
Constant Field Values

ENTRY_REMOVED

public static final int ENTRY_REMOVED
Event type.

See Also:
Constant Field Values

ENTRY_ACTIVATED

public static final int ENTRY_ACTIVATED
Event type.

See Also:
Constant Field Values

ENTRY_REACTIVATED

public static final int ENTRY_REACTIVATED
Event type.

See Also:
Constant Field Values

TABPANE_MAXIMIZED

public static final int TABPANE_MAXIMIZED
Event type.

See Also:
Constant Field Values

TABPANE_MINIMIZED

public static final int TABPANE_MINIMIZED
Event type.

See Also:
Constant Field Values

SPLIT_OCCURED

public static final int SPLIT_OCCURED
Event type.

See Also:
Constant Field Values
Constructor Detail

ViewEvent

public ViewEvent(View view,
                 int type,
                 TabEntry entry,
                 TabPane tabpane)
Constructs a new ViewEvent.

Parameters:
view - the source View.
type - the event type.
entry - the subject TabEntry.
tabpane - the subject TabPane.
Method Detail

getView

public final View getView()
Returns the view.

Returns:
the view.

getEventType

public final int getEventType()
Returns the event-type.

Returns:
the event-type.

getEntry

public final TabEntry getEntry()
Returns the entry.

Returns:
the entry.

getTabPane

public final TabPane getTabPane()
Returns the tabpane.

Returns:
the tabpane.

toString

public java.lang.String toString()


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