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()
Condition
public void setCondition(Condition value)
value
- allowed object is
Condition
public Permissions getPermissions()
Permissions
public void setPermissions(Permissions value)
value
- allowed object is
Permissions
public Label getLabel()
Label
public void setLabel(Label value)
value
- allowed object is
Label
public void setIcon(Icon value)
value
- allowed object is
Icon
public Label getConfirmation()
Label
public void setConfirmation(Label value)
value
- allowed object is
Label
public Textelements getTextelements()
Textelements
public void setTextelements(Textelements value)
value
- allowed object is
Textelements
public String getId()
Link
within the owning Linkpanel
String
public void setId(String value)
value
- allowed object is
String
public Linkmode getMode()
Linkmode
used when displaying this link.Linkmode
public void setMode(Linkmode value)
value
- allowed object is
Linkmode
public String getTarget()
Linkmode.INTERN
or Linkmode.INTERN
) or absolute (Linkmode.EXTERN
)String
public void setTarget(String value)
value
- allowed object is
String
public void setDefault(String value)
value
- allowed object is
String
public String getActive()
true
, the link will be marked as currently active.String
public void setActive(String value)
value
- allowed object is
String
public Boolean isDisabled()
isShowDisabled()
Boolean
public void setDisabled(Boolean value)
value
- allowed object is
Boolean
public Boolean isShowDisabled()
true
, and the link condition evaluates to false
, the link will be displayed in an disabled state instead of hiding it completely.Boolean
Copyright © 2011–2020 aiticon GmbH. All rights reserved.