|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.gui.BasicInteractionManager.InsertListener
Default insertion listener. Is associated to the insert button. Updates
the tree or the table related to the managed Form if them exist.
After an insertion, it can be configured whether the form has to remain in
the register that has just been inserted or if it has to set the insert
mode state, in order to be prepared to insert a new register.
Once the insertion has been done, if the form has a related the this will be updated, and if the form is raised from a table, the table will be updated.
| Field Summary | |
protected EntityResult |
lastResult
|
| Constructor Summary | |
BasicInteractionManager.InsertListener()
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
Performs the Insert operation. |
EntityResult |
getLastResult()
Returns the last insert operation result. |
protected void |
postCorrectInsert(EntityResult result,
Entity entity)
Method called after performing an insertion successfully. |
protected void |
postIncorrectInsert(EntityResult result,
Entity entity)
Method called when an insert operation finalizes with error. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected EntityResult lastResult
| Constructor Detail |
public BasicInteractionManager.InsertListener()
| Method Detail |
public EntityResult getLastResult()
protected void postIncorrectInsert(EntityResult result,
Entity entity)
throws java.lang.Exception
result - entity -
java.lang.Exception
protected void postCorrectInsert(EntityResult result,
Entity entity)
throws java.lang.Exception
result - operation resultentity - the entity used to perform the operation
java.lang.Exceptionpublic void actionPerformed(java.awt.event.ActionEvent event)
BasicInteractionManager.checkInsert() method prior performing
the operation.
actionPerformed in interface java.awt.event.ActionListener
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||