All Implemented Interfaces:
Action, Component, LabeledComponent

@Deprecated public class DefaultAction extends AbstractLabeledComponent<Action> implements Action
Deprecated.
  • Constructor Details

    • DefaultAction

      public DefaultAction(Component parent)
      Deprecated.
      Parameters:
      parent - the parent of this component
  • Method Details

    • getPath

      public String getPath()
      Deprecated.
      Specified by:
      getPath in interface Action
    • setPath

      public void setPath(String path)
      Deprecated.
      Specified by:
      setPath in interface Action
    • getActionType

      @Nullable public @Nullable String getActionType()
      Deprecated.
      Specified by:
      getActionType in interface Action
    • setActionType

      public void setActionType(String actionType)
      Deprecated.
      Specified by:
      setActionType in interface Action
    • newInstanceForCopy

      protected Action newInstanceForCopy(Component parent)
      Deprecated.
      Description copied from class: AbstractComponent
      Will be called when a copy is requested Component.createCopy()! Create a new instanc of this component, copy the properties and return it. You don't have to copy the properties which are inherited from the abstract implmentation. Only copy the properties from the concrete implementation.

      The parent has to be the parent given in the argument parent

      Specified by:
      newInstanceForCopy in class AbstractComponent<Action>
      Parameters:
      parent - the parent to set
      Returns:
      the new instance
    • setIcon

      public void setIcon(String icon)
      Deprecated.
      Specified by:
      setIcon in interface Action
    • getIcon

      @Nullable public @Nullable String getIcon()
      Deprecated.
      Specified by:
      getIcon in interface Action
    • setProperties

      public void setProperties(Map<String,Object> properties)
      Deprecated.
      Specified by:
      setProperties in interface Action
    • getProperties

      @Nullable public @Nullable Map<String,Object> getProperties()
      Deprecated.
      Specified by:
      getProperties in interface Action
    • wrap

      public ActionWrapper wrap(ComponentWrapperHandler handler)
      Deprecated.
      Description copied from interface: Component
      Wraps the component with the given interceptor handler.

      Feel free to add an unwrap() method when needed.

      Specified by:
      wrap in interface Component
    • setGroupName

      public void setGroupName(String groupName)
      Deprecated.
      Specified by:
      setGroupName in interface Action
    • getGroupName

      @Nullable public @Nullable String getGroupName()
      Deprecated.
      Specified by:
      getGroupName in interface Action
    • mapAllAttributesTo

      protected void mapAllAttributesTo(Component comp)
      Deprecated.
      Description copied from class: AbstractComponent
      Copies the attributes of this component into the passed component.

      This is used to copy the attributes collected by the xml reading process from "general" field tags into datatype-specific customized fields (mapped by FieldComponentConverter). And also for copying instances, kind of like cloning.

      Override this in your subclasses. Also, subclasses are required to let their anchestors do their work using super.copyOtherFields(cpy).

      Overrides:
      mapAllAttributesTo in class AbstractLabeledComponent<Action>
      Parameters:
      comp - The new field into which everything needs to be copied.