Package com.vaadin.classic.v8.event
Class Action
- java.lang.Object
-
- com.vaadin.classic.v8.event.Action
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ShortcutAction
@Deprecated public class Action extends java.lang.Object implements java.io.SerializableDeprecated.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAction.ContainerDeprecated.static interfaceAction.HandlerDeprecated.static interfaceAction.ListenerDeprecated.static interfaceAction.NotifierDeprecated.static interfaceAction.ShortcutNotifierDeprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetCaption()Deprecated.ResourcegetIcon()Deprecated.voidsetCaption(java.lang.String caption)Deprecated.voidsetIcon(Resource icon)Deprecated.
-
-
-
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.
-
-