Class Action<T extends Serializable>
- java.lang.Object
-
- org.apache.syncope.client.console.wicket.markup.html.form.Action<T>
-
- Type Parameters:
T
- model object type.
- All Implemented Interfaces:
Serializable
public final class Action<T extends Serializable> extends Object implements Serializable
Action link basic details.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Action(ActionLink<T> link, ActionLink.ActionType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
Action
public Action(ActionLink<T> link, ActionLink.ActionType type)
-
-
Method Detail
-
getRealms
public String[] getRealms()
-
setRealm
public void setRealm(String realm)
-
getLink
public ActionLink<T> getLink()
-
getType
public ActionLink.ActionType getType()
-
getEntitlements
public String getEntitlements()
-
isOnConfirm
public boolean isOnConfirm()
-
isVisibleLabel
public boolean isVisibleLabel()
-
setLabel
public Action<T> setLabel(Model<String> label)
Override default action label.- Parameters:
label
- new action label;- Returns:
- updated action.
-
setTitleI
public Action<T> setTitleI(Model<String> title)
Override default action title.- Parameters:
title
- new action title;- Returns:
- updated action.
-
setAlt
public Action<T> setAlt(Model<String> alt)
Override default action icon text name.- Parameters:
alt
- action icon text name;- Returns:
- updated action.
-
setIcon
public Action<T> setIcon(Model<String> icon)
Override default action css class.- Parameters:
icon
- new action class;- Returns:
- updated action.
-
disableIndicator
public Action<T> disableIndicator()
Override disable AJAX indicator.- Returns:
- updated action.
-
hasIndicator
public boolean hasIndicator()
-
-