com.ontimize.gui
Class BasicInteractionManager.UpdateListener
java.lang.Object
com.ontimize.gui.BasicInteractionManager.UpdateListener
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
- Enclosing class:
- BasicInteractionManager
- public class BasicInteractionManager.UpdateListener
- extends java.lang.Object
- implements java.awt.event.ActionListener
Update button default listener. Gets the modified fields in the form, and
sends a undo request to the server. This class holds the previous
operation result.
- Author:
- Imatia Innovation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastResult
protected EntityResult lastResult
BasicInteractionManager.UpdateListener
public BasicInteractionManager.UpdateListener()
postIncorrectUpdate
protected void postIncorrectUpdate(EntityResult result,
Entity entity)
throws java.lang.Exception
- Method called when the update was wrong.
- Parameters:
result - entity -
- Throws:
java.lang.Exception
getLastResult
public EntityResult getLastResult()
- Returns the result of the last update.
- Returns:
postCorrectUpdate
protected void postCorrectUpdate(EntityResult result,
Entity entity)
throws java.lang.Exception
- Method called when the updating process finishes successfully. Updates
the tables and the tree when necessary.
- Parameters:
result - entity -
- Throws:
java.lang.Exception
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener