com.sibvisions.rad.ui.swing.ext.event
Interface ITabListener

All Known Implementing Classes:
JVxDesktopPane, SwingTabsetPanel

public interface ITabListener

The listener interface for receiving "interesting" events on a tabbed pane.


Method Summary
 void closeTab(TabEvent pEvent)
          Invoked when a tab will be closed (before it will be closed).
 void deselectTab(TabEvent pEvent)
          Invoked when a tab will be deselected.
 void moveTab(TabEvent pEvent)
          Invoked when a tab was moved from one index to another index.
 void selectTab(TabEvent pEvent)
          Invoked when a tab is the curent selected tab.
 

Method Detail

closeTab

void closeTab(TabEvent pEvent)
              throws Exception
Invoked when a tab will be closed (before it will be closed).

Parameters:
pEvent - the event
Throws:
Exception - if the close operation is not possible

deselectTab

void deselectTab(TabEvent pEvent)
                 throws Exception
Invoked when a tab will be deselected.

Parameters:
pEvent - the event
Throws:
Exception - when the tab should not be deselected

selectTab

void selectTab(TabEvent pEvent)
Invoked when a tab is the curent selected tab.

Parameters:
pEvent - the event

moveTab

void moveTab(TabEvent pEvent)
Invoked when a tab was moved from one index to another index.

Parameters:
pEvent - the event


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.