public class Link extends BaseObject implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
_default |
protected String |
active |
protected Condition |
condition |
protected Label |
confirmation |
protected Boolean |
disabled |
protected Icon |
icon |
protected String |
id |
protected Label |
label |
protected Linkmode |
mode |
protected Permissions |
permissions |
protected Boolean |
showDisabled |
protected String |
target |
protected Textelements |
textelements |
| Constructor and Description |
|---|
Link() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActive()
If evaluating to
true, the link will be marked as currently active. |
Condition |
getCondition()
Gets the value of the condition property.
|
Label |
getConfirmation()
Gets the value of the confirmation property.
|
String |
getDefault()
|
Icon |
getIcon()
Gets the value of the icon property.
|
String |
getId()
The unqiue id of this
Link within the owning Linkpanel |
Label |
getLabel()
Gets the value of the label property.
|
Linkmode |
getMode()
The
Linkmode used when displaying this link. |
Permissions |
getPermissions()
Gets the value of the permissions property.
|
String |
getTarget()
The URI of the link, may be relative to the application (
Linkmode.INTERN or Linkmode.INTERN) or absolute (Linkmode.EXTERN) |
Textelements |
getTextelements()
Gets the value of the textelements property.
|
Boolean |
isDisabled()
Whether or not this link is disabled, see also
isShowDisabled() |
Boolean |
isShowDisabled()
If set to
true, and the link condition evaluates to false, the link will be displayed in an disabled state instead of hiding it completely. |
void |
setActive(String value)
Sets the value of the active property.
|
void |
setCondition(Condition value)
Sets the value of the condition property.
|
void |
setConfirmation(Label value)
Sets the value of the confirmation property.
|
void |
setDefault(String value)
Sets the value of the default property.
|
void |
setDisabled(Boolean value)
Sets the value of the disabled property.
|
void |
setIcon(Icon value)
Sets the value of the icon property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLabel(Label value)
Sets the value of the label property.
|
void |
setMode(Linkmode value)
Sets the value of the mode property.
|
void |
setPermissions(Permissions value)
Sets the value of the permissions property.
|
void |
setShowDisabled(Boolean value)
Sets the value of the showDisabled property.
|
void |
setTarget(String value)
Sets the value of the target property.
|
void |
setTextelements(Textelements value)
Sets the value of the textelements property.
|
protected Condition condition
protected Permissions permissions
protected Label label
protected Icon icon
protected Label confirmation
protected Textelements textelements
protected String id
protected Linkmode mode
protected String target
protected String _default
protected String active
protected Boolean disabled
protected Boolean showDisabled
public Condition getCondition()
Conditionpublic void setCondition(Condition value)
value - allowed object is
Conditionpublic Permissions getPermissions()
Permissionspublic void setPermissions(Permissions value)
value - allowed object is
Permissionspublic Label getLabel()
Labelpublic void setLabel(Label value)
value - allowed object is
Labelpublic void setIcon(Icon value)
value - allowed object is
Iconpublic Label getConfirmation()
Labelpublic void setConfirmation(Label value)
value - allowed object is
Labelpublic Textelements getTextelements()
Textelementspublic void setTextelements(Textelements value)
value - allowed object is
Textelementspublic String getId()
Link within the owning LinkpanelStringpublic void setId(String value)
value - allowed object is
Stringpublic Linkmode getMode()
Linkmode used when displaying this link.Linkmodepublic void setMode(Linkmode value)
value - allowed object is
Linkmodepublic String getTarget()
Linkmode.INTERN or Linkmode.INTERN) or absolute (Linkmode.EXTERN)Stringpublic void setTarget(String value)
value - allowed object is
Stringpublic void setDefault(String value)
value - allowed object is
Stringpublic String getActive()
true, the link will be marked as currently active.Stringpublic void setActive(String value)
value - allowed object is
Stringpublic Boolean isDisabled()
isShowDisabled()Booleanpublic void setDisabled(Boolean value)
value - allowed object is
Booleanpublic Boolean isShowDisabled()
true, and the link condition evaluates to false, the link will be displayed in an disabled state instead of hiding it completely.BooleanCopyright © 2011–2021 aiticon GmbH. All rights reserved.