org.xwiki.gwt.wysiwyg.client.plugin.link
Class LinkConfig
java.lang.Object
org.xwiki.gwt.wysiwyg.client.wiki.EntityConfig
org.xwiki.gwt.wysiwyg.client.plugin.link.LinkConfig
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable
public class LinkConfig
- extends EntityConfig
Stores data about a link: reference (wiki, space, page), URL, label, tooltip.
- Version:
- $Id: 9c0b0b2772db9b4e45e9d1589722c79f226eeab8 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkConfig
public LinkConfig()
getLabel
public String getLabel()
- Returns:
- the label
setLabel
public void setLabel(String label)
- Parameters:
label - the label to set
getType
public LinkConfig.LinkType getType()
- Returns:
- the type
setType
public void setType(LinkConfig.LinkType type)
- Parameters:
type - the type to set
getLabelText
public String getLabelText()
- Returns:
- the labelText
setLabelText
public void setLabelText(String labelText)
- Parameters:
labelText - the labelText to set
isReadOnlyLabel
public boolean isReadOnlyLabel()
- Returns:
- the readOnlyLabel
setReadOnlyLabel
public void setReadOnlyLabel(boolean readOnlyLabel)
- Parameters:
readOnlyLabel - the readOnlyLabel to set
isOpenInNewWindow
public boolean isOpenInNewWindow()
- Returns:
true if this link is configured to open in a new window, false otherwise
setOpenInNewWindow
public void setOpenInNewWindow(boolean openInNewWindow)
- Parameters:
openInNewWindow - whether this link should be opened in a new window or not
getTooltip
public String getTooltip()
- Returns:
- the tooltip of this link
setTooltip
public void setTooltip(String tooltip)
- Parameters:
tooltip - the tooltip to set for this link
Copyright © 2004-2013 XWiki. All Rights Reserved.