net.infonode.tabbedpanel
Class TabAdapter

java.lang.Object
  extended bynet.infonode.tabbedpanel.TabAdapter
All Implemented Interfaces:
TabListener

public class TabAdapter
extends Object
implements TabListener

An adapter class for receiving events from a TabbedPanel or a Tab. The methods in this class are empty and it's purpose is to make it easier to create listeners when not all events are of interest.

Version:
$Revision: 1.9 $
See Also:
TabbedPanel

Constructor Summary
TabAdapter()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabAdapter

public TabAdapter()
Method Detail

tabAdded

public void tabAdded(TabEvent event)
Description copied from interface: TabListener
Called when a tab is added or inserted to a TabbedPanel

Specified by:
tabAdded in interface TabListener
Parameters:
event - the event

tabRemoved

public void tabRemoved(TabRemovedEvent event)
Description copied from interface: TabListener
Called when a tab is removed from a TabbedPanel

Specified by:
tabRemoved in interface TabListener
Parameters:
event - the event

tabDragged

public void tabDragged(TabDragEvent event)
Description copied from interface: TabListener
Called when a tab is dragged.

Specified by:
tabDragged in interface TabListener
Parameters:
event - the event

tabDropped

public void tabDropped(TabDragEvent event)
Description copied from interface: TabListener
Called when a tab is dropped.

Specified by:
tabDropped in interface TabListener
Parameters:
event - the event

tabDragAborted

public void tabDragAborted(TabEvent event)
Description copied from interface: TabListener
Called when an ongoing tab drag is aborted.

Specified by:
tabDragAborted in interface TabListener
Parameters:
event - the event

tabSelected

public void tabSelected(TabStateChangedEvent event)
Description copied from interface: TabListener
Called when a tab is selected

Specified by:
tabSelected in interface TabListener
Parameters:
event - the event

tabDeselected

public void tabDeselected(TabStateChangedEvent event)
Description copied from interface: TabListener

Called when a tab is deselected.

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

Specified by:
tabDeselected in interface TabListener
Parameters:
event - the event

tabHighlighted

public void tabHighlighted(TabStateChangedEvent event)
Description copied from interface: TabListener
Called when a tab is highlighted

Specified by:
tabHighlighted in interface TabListener
Parameters:
event - the event

tabDehighlighted

public void tabDehighlighted(TabStateChangedEvent event)
Description copied from interface: TabListener

Called when a tab is dehighlighted.

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

Specified by:
tabDehighlighted in interface TabListener
Parameters:
event - the event

tabMoved

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

Specified by:
tabMoved in interface TabListener
Parameters:
event - the event


Copyright © 2007 NNL Technology AB. All Rights Reserved.