Class ConstructorAction

java.lang.Object
com.j3d.engine.react.actions.AbstractAction
com.j3d.engine.react.actions.ConstructorAction
All Implemented Interfaces:
Action<Void>, CleanableAction, VoidAction

public abstract class ConstructorAction extends AbstractAction implements CleanableAction
A specialisation of a AbstractAction and CleanableAction specifically for a class's constructor. Usually a method provides an action such that whoever calls the method is responsible for executing and storing the action within the history. However, an object creation within it's constructor naturally breaks this rule as the action was already applied by the constructor. Which is where this class comes in.
Author:
Lehlogonolo Poole
See Also:
  • Constructor Details

    • ConstructorAction

      public ConstructorAction()