Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

echopoint
Class TabbedPane.DefaultCloseActionListener  view TabbedPane.DefaultCloseActionListener download TabbedPane.DefaultCloseActionListener.java

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


Field Summary
private  nextapp.echo.event.ActionListener m_beforeListener
           
 
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
 

Field Detail

m_beforeListener

private nextapp.echo.event.ActionListener m_beforeListener
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

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