Package be.gaudry.swing.file.action
Class SynchroAction
java.lang.Object
javax.swing.AbstractAction
be.gaudry.swing.file.action.FileDesktopAction
be.gaudry.swing.file.action.SynchroAction
- All Implemented Interfaces:
 ActionListener,PropertyChangeListener,Serializable,Cloneable,EventListener,Action
Synchronization action to perform on a file.\n
 Provided by the broldev.file.synchro.swing project.
- Since:
 - 1.0 (Nov 29, 2011), broldev.file.synchro.swing 0.0.1-SNAPSHOT dependency
 - Version:
 - 1.0 (Nov 29, 2011)
 - Author:
 - Steph GAUDRY
 - See Also:
 - Serialized Form
 
- 
Field Summary
Fields inherited from class be.gaudry.swing.file.action.FileDesktopAction
component, descriptionFormat, desktop, eAction, errorTitle, files, filesCountStr, invalidAction, name, noFileSelected, supportedFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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 - 
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean_mayEnable(File file)Forces to give an implementation formayEnable(File)protected Stringprotected booleanOverride this method to allow to callFileDesktopAction.mayEnable(File)method to perform a check on files to enable or disable this action.protected booleanMethods inherited from class be.gaudry.swing.file.action.FileDesktopAction
actionPerformed, finalize, getComponent, getDescription, getFiles, processFile, propertyChange, setComponent, setEnabled, setFiles, setPopupDelayMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener 
- 
Constructor Details
- 
SynchroAction
 
 - 
 - 
Method Details
- 
getCustomName
- Overrides:
 getCustomNamein classFileDesktopAction
 - 
isEnabledByFilesCheck
protected boolean isEnabledByFilesCheck()Description copied from class:FileDesktopActionOverride this method to allow to callFileDesktopAction.mayEnable(File)method to perform a check on files to enable or disable this action.- Overrides:
 isEnabledByFilesCheckin classFileDesktopAction- Returns:
 - false by default
 
 - 
mayEnable
- Overrides:
 mayEnablein classFileDesktopAction- Returns:
 
 - 
_mayEnable
Forces to give an implementation formayEnable(File)- Parameters:
 file-- Returns:
 
 
 -