public class LinkConfig extends EntityConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
LinkConfig.LinkType
Link types.
|
| Constructor and Description |
|---|
LinkConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
String |
getLabelText() |
String |
getTooltip() |
LinkConfig.LinkType |
getType() |
boolean |
isOpenInNewWindow() |
boolean |
isReadOnlyLabel() |
void |
setLabel(String label) |
void |
setLabelText(String labelText) |
void |
setOpenInNewWindow(boolean openInNewWindow) |
void |
setReadOnlyLabel(boolean readOnlyLabel) |
void |
setTooltip(String tooltip) |
void |
setType(LinkConfig.LinkType type) |
getReference, getUrl, setReference, setUrlpublic String getLabel()
public void setLabel(String label)
label - the label to setpublic LinkConfig.LinkType getType()
public void setType(LinkConfig.LinkType type)
type - the type to setpublic String getLabelText()
public void setLabelText(String labelText)
labelText - the labelText to setpublic boolean isReadOnlyLabel()
public void setReadOnlyLabel(boolean readOnlyLabel)
readOnlyLabel - the readOnlyLabel to setpublic boolean isOpenInNewWindow()
true if this link is configured to open in a new window, false otherwisepublic void setOpenInNewWindow(boolean openInNewWindow)
openInNewWindow - whether this link should be opened in a new window or notpublic String getTooltip()
public void setTooltip(String tooltip)
tooltip - the tooltip to set for this linkCopyright © 2004–2014 XWiki. All rights reserved.