Package com.composum.sling.nodes.browser
Class BrowserViews.View.Toolbar.Element
- java.lang.Object
-
- com.composum.sling.nodes.browser.BrowserViews.View.Toolbar.Element
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BrowserViews.View.Toolbar
public class BrowserViews.View.Toolbar.Element extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Element(@NotNull org.apache.sling.api.resource.Resource resource)
Element(@NotNull BrowserViews.View.Toolbar.Element template, @NotNull com.composum.sling.core.BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
enabled(@NotNull com.composum.sling.core.BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
@NotNull String
getCss()
@NotNull String
getHref()
@NotNull String
getIcon()
String
getKey()
@NotNull String
getLabel()
@NotNull String
getPlaceholder()
@NotNull String
getTarget()
@NotNull String
getTitle()
String
getType()
boolean
isEnabled()
boolean
matches(@NotNull com.composum.sling.core.BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
-
-
-
Constructor Detail
-
Element
public Element(@NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
Element
public Element(@NotNull @NotNull BrowserViews.View.Toolbar.Element template, @NotNull @NotNull com.composum.sling.core.BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
-
Method Detail
-
matches
public boolean matches(@NotNull @NotNull com.composum.sling.core.BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
enabled
public boolean enabled(@NotNull @NotNull com.composum.sling.core.BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
-
isEnabled
public boolean isEnabled()
-
getType
public String getType()
-
getKey
public String getKey()
-
getIcon
@NotNull public @NotNull String getIcon()
-
getCss
@NotNull public @NotNull String getCss()
-
getLabel
@NotNull public @NotNull String getLabel()
-
getTitle
@NotNull public @NotNull String getTitle()
-
getPlaceholder
@NotNull public @NotNull String getPlaceholder()
-
getHref
@NotNull public @NotNull String getHref()
-
getTarget
@NotNull public @NotNull String getTarget()
-
-