EchoPoint
1.0

echopoint
Class TabbedPane.DefaultCloseActionListener

java.lang.Object
  extended byechopoint.TabbedPane.DefaultCloseActionListener
All Implemented Interfaces:
nextapp.echo.event.ActionListener, java.util.EventListener
Enclosing class:
TabbedPane

public static class TabbedPane.DefaultCloseActionListener
extends java.lang.Object
implements nextapp.echo.event.ActionListener

Class for default close action. The class implements an ActionListener that removed the tabs from the TabbedPane after clicking on the tab closeIcon It it possible for this class to invoke another ActionListener before it removes the tabs from the TabbedPane


Constructor Summary
TabbedPane.DefaultCloseActionListener()
          Constructs a DefaultCloseActionListener
TabbedPane.DefaultCloseActionListener(nextapp.echo.event.ActionListener before)
          Constructs a DefaultCloseActionListener with an ActionListener that is invoked before the tabs is removed from TabbedPane
 
Method Summary
 void actionPerformed(nextapp.echo.event.ActionEvent e)
          Invoked when an close action occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabbedPane.DefaultCloseActionListener

public TabbedPane.DefaultCloseActionListener()
Constructs a DefaultCloseActionListener


TabbedPane.DefaultCloseActionListener

public TabbedPane.DefaultCloseActionListener(nextapp.echo.event.ActionListener before)
Constructs a DefaultCloseActionListener with an ActionListener that is invoked before the tabs is removed from TabbedPane

Parameters:
before - The ActionListener that is invoked before
Method Detail

actionPerformed

public void actionPerformed(nextapp.echo.event.ActionEvent e)
Invoked when an close action occurs.

Specified by:
actionPerformed in interface nextapp.echo.event.ActionListener
Parameters:
e - The event describing the close action. The actionCommand holds the tab index

EchoPoint
1.0