public class SimpleLinkImpl extends SimpleLinkSectionImpl implements SimpleLink
SimpleLink. Simple bean containing no
real logic.| Constructor and Description |
|---|
SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
Map<String,String> params,
String url,
String accessKey)
Constructor taking all attributes of a link
|
SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
Map<String,String> params,
String url,
String accessKey,
Integer weight)
Constructor taking all attributes of a link
|
SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
String url,
String accessKey)
Constructor taking all attributes of a link
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAccessKey()
The access key used to quickly select link
|
String |
getUrl()
The URL that the link points to.
|
int |
hashCode() |
String |
toString() |
getIconUrl, getId, getLabel, getParams, getStyleClass, getTitle, getWeightclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIconUrl, getId, getLabel, getParams, getStyleClass, getTitle, getWeightpublic SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, @Nonnull String url, String accessKey)
id - The unique id of the linklabel - The optional label to display for the linktitle - The optional title (tooltip) of the linkiconUrl - The optional url pointing an image for the linkstyle - The optional style to apply to the linkurl - The url that the link points toaccessKey - The optional easy access key for the linkpublic SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, Map<String,String> params, @Nonnull String url, String accessKey)
id - The unique id of the linklabel - The optional label to display for the linktitle - The optional title (tooltip) of the linkiconUrl - The optional url pointing an image for the linkstyle - The optional style to apply to the linkparams - map of parametersurl - The url that the link points toaccessKey - The optional easy access key for the linkpublic SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, Map<String,String> params, @Nonnull String url, String accessKey, Integer weight)
id - The unique id of the linklabel - The optional label to display for the linktitle - The optional title (tooltip) of the linkiconUrl - The optional url pointing an image for the linkstyle - The optional style to apply to the linkparams - map of parametersurl - The url that the link points toaccessKey - The optional easy access key for the link@Nonnull public String getUrl()
SimpleLinkgetUrl in interface SimpleLinkpublic String getAccessKey()
SimpleLinkgetAccessKey in interface SimpleLinkCopyright © 2002-2016 Atlassian. All Rights Reserved.