Class SaveFileAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<TextFile>, java.util.EventListener, javax.swing.Action, javax.swing.event.ChangeListener

    class SaveFileAction
    extends TabbedSaveAction
    implements javax.swing.event.ChangeListener
    • Field Summary

      • Fields inherited from class javax.swing.AbstractAction

        changeSupport, enabled
      • Fields inherited from interface javax.swing.Action

        ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
    • Constructor Summary

      Constructors 
      Constructor Description
      SaveFileAction​(javax.swing.JTabbedPane _tabbedPane)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void enableAndSetName()
      Enable and set the name of the action based on the shown tab
      java.util.Iterator<TextFile> iterator()  
      void stateChanged​(javax.swing.event.ChangeEvent _event)  
      • Methods inherited from class javax.swing.AbstractAction

        addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • SaveFileAction

        SaveFileAction​(javax.swing.JTabbedPane _tabbedPane)
    • Method Detail

      • stateChanged

        public void stateChanged​(javax.swing.event.ChangeEvent _event)
        Specified by:
        stateChanged in interface javax.swing.event.ChangeListener
      • enableAndSetName

        void enableAndSetName()
        Enable and set the name of the action based on the shown tab
      • iterator

        public java.util.Iterator<TextFile> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<TextFile>