Class AbstractSettings

    • Constructor Detail

      • AbstractSettings

        public AbstractSettings()
        Creates the settings without name.
      • AbstractSettings

        public AbstractSettings​(Atom propertyAtom)
        Creates the settings with specified name.
        Parameters:
        propertyAtom - the property atom.
    • Method Detail

      • clone

        public AbstractSettings clone()
        Creates a clone out of this property. The cloning is overridden by the subclasses in order to handle cloning of its class variables appropriately.
        Overrides:
        clone in class PropCnr
      • doesModifyVirtualSpace

        public boolean doesModifyVirtualSpace​(VSAction action)
        Checks if the VirtualSpace is modified by the Action Actor. Override this method to return the correct setting, default returns true.
        Parameters:
        action - The action in question, perhaps null. If the action is null, it is assumed that the actor could be connected to multiple actions and should therefore return the "worst" scenario, i.e. that it does modify the VS.
        Returns:
        true if any field in the VS is modified (excludes focus).
      • getVSAction

        public VSAction getVSAction()
        Gets the VS action owning these settings, i.e. being associated with the action actor.
        Returns:
        The VSAction in question.
      • createActor

        protected abstract IActionActor<? extends AbstractSettings> createActor​(VSAction action)
        Create the instance of the action actor.
        Parameters:
        action - The action instance.
        Returns:
        The new action actor implementation instance.