Class RecordingProp

java.lang.Object
com.iizix.prop.GProp<GProp<?>[]>
com.iizix.prop.PropCnr
com.iizigo.term.recording.prop.RecordingProp
All Implemented Interfaces:
IPropDesigner, IPropUndoContext, EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable, IAdaptable

public class RecordingProp extends PropCnr implements IPropDesigner, IPropUndoContext
This Recording property container holds the screens and logic.
  • Field Details Link icon

  • Constructor Details Link icon

    • RecordingProp Link icon

      public RecordingProp()
      Creates the capture recording property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • RecordingProp Link icon

      public RecordingProp(Atom propertyAtom)
      Creates the capture recording property container with the specified name. All system-reserved names for components begins with "$".
      Parameters:
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details Link icon

    • addPredefinedProps Link icon

      protected void addPredefinedProps() throws PropException
      Description copied from class: PropCnr
      Adds the predefined properties for this container. This method is called once just after construction of the property container and sometimes population of it.

      The method should add properties to create or get reference to using the maybeAddProp method. When the PropCnr instance is cloned, the method getPredefinedProps() is called in order for the subclass to be able to retrieve the new instances to these properties, if stored in instance variables.

      Subclasses must override this method to do the appropriate initialization, as this method does nothing for the PropCnr class implementation.

      Overrides:
      addPredefinedProps in class PropCnr
      Throws:
      PropException - for property exceptions.
    • getPredefinedProps Link icon

      protected void getPredefinedProps()
      Description copied from class: PropCnr
      Gets potential references to predefined properties for this container. This method is called once just after cloning of the property container.

      The method should get reference to using the getProp(...) methods. This allows the subclass to be able to retrieve the new instances to the properties created during addPredefinedProps() if stored in instance variables.

      Subclasses must override this method to do the appropriate initialization, as this method does nothing for the PropCnr class implementation.

      Overrides:
      getPredefinedProps in class PropCnr
    • getLogic Link icon

      public LogicProp getLogic()
      Logic.
      Returns:
      the logic, never null.
    • getScreens Link icon

      public RecordingScreensProp getScreens()
      Screens.
      Returns:
      The recorded screens, never null.
    • setMaster Link icon

      public void setMaster(EEMaster master)
      Sets the master and builds the properties.
      Parameters:
      master - The EE master.
    • getMaster Link icon

      public EEMaster getMaster()
      Gets the master.
      Returns:
      The EE master, null if not set.
    • getDesigner Link icon

      public RecordingDesignerProp getDesigner()
      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IPropDesigner
      Returns:
      The instance of the Designer Extension.
    • getName Link icon

      public String getName()
      Gets the name of the recording.
      Returns:
      The file name.
    • clone Link icon

      Clone must be overridden.
      Overrides:
      clone in class PropCnr
      Throws:
      CloneNotSupportedException - If cloning failed.
    • getPossibleChildren Link icon

      public Class<?>[] getPossibleChildren()
      Gets the acceptable children property classes that can be used in conjunction with e.g. a Paste operation.
      Specified by:
      getPossibleChildren in interface IPropCnr
      Overrides:
      getPossibleChildren in class PropCnr
      Returns:
      An array containing the classes of possible children, or null for no support.
    • getUndoContext Link icon

      public IUndoContext getUndoContext()
      Gets the Undo Context.
      Specified by:
      getUndoContext in interface IPropUndoContext
      Returns:
      The undo context.