Class TextSaverCustomizer

All Implemented Interfaces:
ImageObserver, MenuContainer, Customizer, Serializable, Accessible, EnvironmentHandler, BeanCustomizer, CustomizerCloseRequester, CustomizerClosingListener

public class TextSaverCustomizer extends JPanel implements BeanCustomizer, EnvironmentHandler, CustomizerClosingListener, CustomizerCloseRequester
Customizer for the TextSaver component.
Version:
$Revision: 9238 $
Author:
thuvh (thuvh87{[at]}gmail{[dot]}com), Mark Hall (mhall{[at]}pentaho{[dot]}com)
See Also:
  • Constructor Details

    • TextSaverCustomizer

      public TextSaverCustomizer()
      Default Constructor
  • Method Details

    • setObject

      public void setObject(Object object)
      Set the TextSaver object to customize.
      Specified by:
      setObject in interface Customizer
      Parameters:
      object - the TextSaver to customize
    • setEnvironment

      public void setEnvironment(Environment env)
      Set the environment variables to use
      Specified by:
      setEnvironment in interface EnvironmentHandler
      Parameters:
      env - the environment variables to use
    • setModifiedListener

      public void setModifiedListener(BeanCustomizer.ModifyListener l)
      Set a listener interested in whether we've modified the TextSaver that we're customizing
      Specified by:
      setModifiedListener in interface BeanCustomizer
      Parameters:
      l - the listener
    • setParentWindow

      public void setParentWindow(Window parent)
      Set the parent window of this dialog
      Specified by:
      setParentWindow in interface CustomizerCloseRequester
      Parameters:
      parent - the parent window
    • customizerClosing

      public void customizerClosing()
      Gets called if the use closes the dialog via the close widget on the window - is treated as cancel, so restores the TextSaver to its previous state.
      Specified by:
      customizerClosing in interface CustomizerClosingListener