|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
com.japisoft.xmlpad.action.XMLAction
com.japisoft.xmlpad.action.file.SaveAction
Nested Class Summary |
Nested classes inherited from class com.japisoft.xmlpad.action.XMLAction |
XMLAction.EmptyIcon |
Field Summary | |
static java.lang.String |
ENCODING_PROPERTY
|
static java.lang.String |
ID
|
Fields inherited from class com.japisoft.xmlpad.action.XMLAction |
AUTO_UI, container, editor, groupName, IMAGE_EXT, IMAGE_SIZE, INVALID_ACTION, param, RESOURCE_BUNDLE, VALID_ACTION |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface com.japisoft.xmlpad.action.Features |
VALIDATING_FEATURE |
Fields inherited from interface com.japisoft.xmlpad.action.Properties |
FILE_ENCODING, INDENT_CHAR_PROPERTY, INDENT_SIZE_PROPERTY |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
SaveAction()
|
Method Summary | |
boolean |
notifyAction()
Notify action must be done. |
protected boolean |
saveDocument(java.lang.String location)
Save the current document at the location |
void |
setProperty(java.lang.String propertyName,
java.lang.Object value)
Reset a property value for this action. |
Methods inherited from class com.japisoft.xmlpad.action.XMLAction |
actionPerformed, autoRequestFocus, dispose, getDefaultAccelerator, getDefaultIcon, getDefaultLabel, getDefaultMnemonic, getDefaultTooltip, getLabel, getName, getParam, getPopupGroup, getProperty, getXMLContainer, getXMLEditor, hasFeature, installUIContent, isPopable, isToolbarable, notifyXMLContainer, notifyXMLEditor, setActionDelegate, setActionReferenceGroup, setActionReferenceIcon, setFeature, setParam, setPopable, setToolbarable, setXMLContainer, setXMLEditor |
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 |
Field Detail |
public static final java.lang.String ID
public static java.lang.String ENCODING_PROPERTY
Constructor Detail |
public SaveAction()
Method Detail |
public void setProperty(java.lang.String propertyName, java.lang.Object value)
XMLAction
setProperty
in class XMLAction
propertyName
- Property namevalue
- Property valueprotected boolean saveDocument(java.lang.String location)
public boolean notifyAction()
XMLAction
notifyAction
in class XMLAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |