fr.ifremer.isisfish.ui.sensitivity
Class SensitivityTabbedPaneListener

java.lang.Object
  extended by fr.ifremer.isisfish.ui.sensitivity.SensitivityTabbedPaneListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener

public class SensitivityTabbedPaneListener
extends java.lang.Object
implements javax.swing.event.ChangeListener

Sensitivity change listener to control tab swapping.

Version:
$Revision: 2886 $ Last update : $Date: 2010-01-08 10:35:05 +0100 (ven., 08 janv. 2010) $ By : $Author: chatellier $
Author:
letellier

Field Summary
protected  int cacheSelectedIndex
           
 
Constructor Summary
SensitivityTabbedPaneListener()
           
 
Method Summary
protected  boolean closeUI(InputContentUI context)
          Ask you to save if modification are made.
 void stateChanged(javax.swing.event.ChangeEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cacheSelectedIndex

protected int cacheSelectedIndex
Constructor Detail

SensitivityTabbedPaneListener

public SensitivityTabbedPaneListener()
Method Detail

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

closeUI

protected boolean closeUI(InputContentUI context)
                   throws java.lang.Exception
Ask you to save if modification are made.

Parameters:
context - selected
Returns:
true to change tab
Throws:
java.lang.Exception


Copyright © 1999-2010 CodeLutin. All Rights Reserved.