Class Action

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ShortcutAction

    @Deprecated
    public class Action
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Constructor Detail

      • Action

        @Deprecated
        public Action​(java.lang.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​(java.lang.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 Detail

      • getCaption

        @Deprecated
        public java.lang.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​(java.lang.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.