net.infonode.tabbedpanel
Interface TabListener

All Known Implementing Classes:
TabAdapter

public interface TabListener

TabListener interface for receiving events from a TabbedPanel or a Tab.

Adding a TabListener to a tabbed panel or a tab makes it possible to receive events when a tab component is added, removed, moved, highlighted, dehighlighted, selected, deselected, dragged, dropped or drag aborted.

Version:
$Revision: 1.10 $
See Also:
TabbedPanel, Tab

Method Summary
 void tabAdded(TabEvent event)
          Called when a tab is added or inserted to a TabbedPanel
 void tabDehighlighted(TabStateChangedEvent event)
          Called when a tab is dehighlighted.
 void tabDeselected(TabStateChangedEvent event)
          Called when a tab is deselected.
 void tabDragAborted(TabEvent event)
          Called when an ongoing tab drag is aborted.
 void tabDragged(TabDragEvent event)
          Called when a tab is dragged.
 void tabDropped(TabDragEvent event)
          Called when a tab is dropped.
 void tabHighlighted(TabStateChangedEvent event)
          Called when a tab is highlighted
 void tabMoved(TabEvent event)
          Called when a tab is moved, i.e. dragged to another position in the tab area
 void tabRemoved(TabRemovedEvent event)
          Called when a tab is removed from a TabbedPanel
 void tabSelected(TabStateChangedEvent event)
          Called when a tab is selected
 

Method Detail

tabAdded

public void tabAdded(TabEvent event)
Called when a tab is added or inserted to a TabbedPanel

Parameters:
event - the event

tabRemoved

public void tabRemoved(TabRemovedEvent event)
Called when a tab is removed from a TabbedPanel

Parameters:
event - the event

tabDragged

public void tabDragged(TabDragEvent event)
Called when a tab is dragged.

Parameters:
event - the event

tabDropped

public void tabDropped(TabDragEvent event)
Called when a tab is dropped.

Parameters:
event - the event

tabDragAborted

public void tabDragAborted(TabEvent event)
Called when an ongoing tab drag is aborted.

Parameters:
event - the event

tabSelected

public void tabSelected(TabStateChangedEvent event)
Called when a tab is selected

Parameters:
event - the event

tabDeselected

public void tabDeselected(TabStateChangedEvent event)

Called when a tab is deselected.

Note: The event contains information about the previously selected tab and the current selected tab.

Parameters:
event - the event

tabHighlighted

public void tabHighlighted(TabStateChangedEvent event)
Called when a tab is highlighted

Parameters:
event - the event

tabDehighlighted

public void tabDehighlighted(TabStateChangedEvent event)

Called when a tab is dehighlighted.

Note: The event contains information about the previously highlighted tab and the current selected tab.

Parameters:
event - the event

tabMoved

public void tabMoved(TabEvent event)
Called when a tab is moved, i.e. dragged to another position in the tab area

Parameters:
event - the event


Copyright © 2007 NNL Technology AB. All Rights Reserved.