T
- model object type.public final class Action<T extends Serializable> extends Object implements Serializable
Constructor and Description |
---|
Action(ActionLink<T> link,
ActionLink.ActionType type) |
Modifier and Type | Method and Description |
---|---|
Action<T> |
disableIndicator()
Override disable AJAX indicator.
|
Model<String> |
getAlt() |
String |
getEntitlements() |
Model<String> |
getIcon() |
Model<String> |
getLabel() |
ActionLink<T> |
getLink() |
String[] |
getRealms() |
Model<String> |
getTitle() |
ActionLink.ActionType |
getType() |
boolean |
hasIndicator() |
Action<T> |
hideLabel() |
boolean |
isOnConfirm() |
boolean |
isVisibleLabel() |
Action<T> |
setAlt(Model<String> alt)
Override default action icon text name.
|
Action<T> |
setEntitlements(String entitlements) |
Action<T> |
setIcon(Model<String> icon)
Override default action css class.
|
Action<T> |
setLabel(Model<String> label)
Override default action label.
|
Action<T> |
setOnConfirm(boolean onConfirm) |
void |
setRealm(String realm) |
void |
setRealms(String realm,
List<String> dynRealms) |
Action<T> |
setTitleI(Model<String> title)
Override default action title.
|
Action<T> |
showLabel() |
public Action(ActionLink<T> link, ActionLink.ActionType type)
public String[] getRealms()
public void setRealm(String realm)
public ActionLink<T> getLink()
public ActionLink.ActionType getType()
public String getEntitlements()
public boolean isOnConfirm()
public boolean isVisibleLabel()
public Action<T> setLabel(Model<String> label)
label
- new action label;public Action<T> setTitleI(Model<String> title)
title
- new action title;public Action<T> setAlt(Model<String> alt)
alt
- action icon text name;public Action<T> setIcon(Model<String> icon)
icon
- new action class;public Action<T> disableIndicator()
public boolean hasIndicator()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.