public class REpiceaMemorizerHandler extends java.lang.Object implements java.awt.event.ActionListener, SynchronizedListening, Resettable
Modifier and Type | Field and Description |
---|---|
protected repicea.serial.REpiceaMemorizerHandler.InternalComponentAdapter |
componentAdapter |
protected XmlList |
referencePackage |
Constructor and Description |
---|
REpiceaMemorizerHandler(OwnedWindow window)
Constructor for light implementation.
|
REpiceaMemorizerHandler(OwnedWindow window,
javax.swing.AbstractButton undo,
javax.swing.AbstractButton redo)
Constructor for full implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0) |
void |
doNotListenToAnymore()
This method remove the listeners.
|
void |
listenTo()
This method specifies who is listening to whom.
|
protected void |
memorizeFromWindow(OwnedWindow window) |
protected void |
registerMemorizerPackage(XmlList mp) |
void |
reset()
This method reinitializes some fields of the instance that implements this interface.
|
protected void |
setMemorizerWorkerEnabled(boolean enabled) |
protected void |
synchronize() |
protected final repicea.serial.REpiceaMemorizerHandler.InternalComponentAdapter componentAdapter
protected XmlList referencePackage
public REpiceaMemorizerHandler(OwnedWindow window, javax.swing.AbstractButton undo, javax.swing.AbstractButton redo)
window
- a OwnedWindow instanceundo
- the undo button in the OwnerWindow instanceredo
- the redo button in the OwnerWindow instancepublic REpiceaMemorizerHandler(OwnedWindow window)
window
- a OwnedWindow instancepublic void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed
in interface java.awt.event.ActionListener
public void listenTo()
SynchronizedListening
listenTo
in interface SynchronizedListening
public void doNotListenToAnymore()
SynchronizedListening
doNotListenToAnymore
in interface SynchronizedListening
protected void registerMemorizerPackage(XmlList mp)
protected void memorizeFromWindow(OwnedWindow window)
protected void synchronize()
public void reset()
Resettable
reset
in interface Resettable
protected void setMemorizerWorkerEnabled(boolean enabled)