Class Action

java.lang.Object
com.vaadin.classic.v8.event.Action
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ShortcutAction

@Deprecated public class Action extends Object implements Serializable
Deprecated.
Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.
See Also:
  • Constructor Details

    • Action

      @Deprecated public Action(String caption)
      Deprecated.
      Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.
      Parameters:
      caption - caption
    • Action

      @Deprecated public Action(String caption, Resource icon)
      Deprecated.
      Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.
      Parameters:
      caption - the caption for the new action.
      icon - the icon for the new action.
  • Method Details

    • getCaption

      @Deprecated public String getCaption()
      Deprecated.
      Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.
      Returns:
      empty string
    • getIcon

      @Deprecated public Resource getIcon()
      Deprecated.
      Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.
      Returns:
      the action's Icon.
    • setCaption

      @Deprecated public void setCaption(String caption)
      Deprecated.
      Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.
      Parameters:
      caption - the caption to set.
    • setIcon

      @Deprecated public void setIcon(Resource icon)
      Deprecated.
      Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.
      Parameters:
      icon - the icon to set.