sale.multiwindow
Class MultiWindow.MultiWindowAction
java.lang.Object
sale.multiwindow.MultiWindow.MultiWindowAction
- All Implemented Interfaces:
- Serializable, Action
- Enclosing class:
- MultiWindow
public abstract static class MultiWindow.MultiWindowAction
- extends Object
- implements Action
Special Actions
are necessary for
MultiWindow
-MenuSheets
in order for the serialization to work
properly. Whenever creating Actions that refer a MultiWindow directly, always use this class instead of
simply deriving Action and let it have a direct reference to the MultiWindow. The latter will result in
a NotSerializationException in MultiWindow when trying to make the Shop persistent.
Implementing the action as an anonymous inner class extending MultiWindowAction may still lead to
NotSerializableExceptions being thrown. Therefore, attempt to implement the actions as static
top-level classes derived from MultiWindowAction.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_mwReference
protected transient MultiWindow m_mwReference
- The MultiWindow referenced by this Action.
Action.doAction(sale.SaleProcess, sale.SalesPoint)
must always use this reference instead of
a reference created via the inner class mechanism.
MultiWindow.MultiWindowAction
public MultiWindow.MultiWindowAction(MultiWindow mwReference)
- Create a new MultiWindowAction referencing the given MultiWindow.