Class AbstractSettings

    • Constructor Detail

      • AbstractSettings

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

        public AbstractSettings​(Atom propertyAtom)
        Creates the settings with specified name.
        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.
        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.
        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.
        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.
        The VSAction in question.
      • createActor

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