com.japisoft.xmlpad.action.xml
Class ParseAction
java.lang.Object
javax.swing.AbstractAction
com.japisoft.xmlpad.action.XMLAction
com.japisoft.xmlpad.action.xml.ParseAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, Features, Properties, java.io.Serializable
- public class ParseAction
- extends XMLAction
Refresh action : XML Parsing. This action works using JAXP
- Version:
- 1.2
- Author:
- (c) 2002 JAPISoft
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
ID
|
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
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, setProperty, 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 |
ID
public static final java.lang.String ID
ParseAction
public ParseAction()
setDefaultValidator
public void setDefaultValidator(Validator defVal)
notifyAction
public boolean notifyAction()
- Description copied from class:
XMLAction
- Notify action must be done. It returns INVALID_ACTION if the
action is not accessible and VALID_ACTION if this is correct.
- Specified by:
notifyAction
in class XMLAction
- Returns:
- VALID_ACTION if the action is possible and else INVALID_ACTION
setPopupForOk
public void setPopupForOk(boolean popup)
- Enabled/Disable a dialog box confirming the parsing step is correct. By default
true
setMessageForOk
public void setMessageForOk(java.lang.String message)
- Reset the message when the parsing step is correct
getMessageForOk
public java.lang.String getMessageForOk(XMLContainer container)
Copyright © 2006 JAPISoft. All Rights Reserved.