Class Action.View
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.action.Action.View
-
- All Implemented Interfaces:
IView,IView.Label
public static class Action.View extends Object implements IView.Label
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.view.IView
IView.Label
-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.view.IView.Label
IView.Label.Static
-
-
Field Summary
Fields Modifier and Type Field Description private booleanenabledprivate StringiconPathstatic Action.ViewINVISIBLEprivate Stringlabelprivate AzureStringtitleprivate booleanvisible
-
Constructor Summary
Constructors Constructor Description View(String label, String iconPath, boolean enabled, AzureString title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()StringgetDescription()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.view.IView.Label
getIconPath, getLabel, isEnabled, isVisible, refresh
-
-
-
-
Field Detail
-
INVISIBLE
public static Action.View INVISIBLE
-
iconPath
private final String iconPath
-
enabled
private final boolean enabled
-
visible
private boolean visible
-
title
@Nullable private AzureString title
-
-
Constructor Detail
-
View
public View(@Nonnull String label, String iconPath, boolean enabled, @Nullable AzureString title)
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIView.Label
-
-