Class HyperlinkFrame
java.lang.Object
com.independentsoft.office.odf.drawing.HyperlinkFrame
- All Implemented Interfaces:
ICellContent,IContentElement,IIndexContent,IParagraphContent,ITextContent
Represents a drawing shape that should behave as a hyperlink. Enables both frames and drawing shapes to act as hyperlinks.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the Ellipse class.HyperlinkFrame(InternalXMLStreamReader reader)Instantiates a new hyperlink frame. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the actuate.Returns all content elements.getFrame()Gets the frame.Gets the target location for the hyperlink.getName()Gets the name for a link.Returns the parent content element.getShow()Gets the show.Gets the name of a target frame.getTitle()Gets a short accessible description.getType()Gets the type of the hyperlink.booleanContains that a link returns data to a server side image map.voidsetActuate(String actuate)Sets the actuate.voidSets the frame.voidsetLocation(String location)Sets the target location for the hyperlink.voidSets the name for a link.voidsetParent(IContentElement parent)Sets the parent content element.voidsetServerSideImageMap(boolean isServerSideImageMap)Contains that a link returns data to a server side image map.voidSets the show.voidsetTargetFrame(String targetFrame)Sets the name of a target frame.voidSets a short accessible description.voidSets the type of the hyperlink.toString()Converts the value of the current HyperlinkFrame object to its equivalent string representation.
-
Constructor Details
-
HyperlinkFrame
public HyperlinkFrame()Initializes a new instance of the Ellipse class. -
HyperlinkFrame
Instantiates a new hyperlink frame.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
Returns all content elements.- Specified by:
getContentElementsin interfaceIContentElement- Returns:
- A collection of content elements.
-
getParent
Returns the parent content element.- Specified by:
getParentin interfaceIContentElement- Returns:
- the parent
-
setParent
Sets the parent content element.- Specified by:
setParentin interfaceIContentElement- Parameters:
parent- the new parent
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein interfaceICellContent- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIIndexContent- Specified by:
clonein interfaceIParagraphContent- Specified by:
clonein interfaceITextContent- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current HyperlinkFrame object to its equivalent string representation. -
getName
Gets the name for a link. The name can serve as a target for other hyperlinks. The name does not have to be unique.- Returns:
- the name
-
setName
Sets the name for a link. The name can serve as a target for other hyperlinks. The name does not have to be unique.- Parameters:
name- the new name
-
getLocation
Gets the target location for the hyperlink.- Returns:
- the location
-
setLocation
Sets the target location for the hyperlink.- Parameters:
location- the new location
-
getType
Gets the type of the hyperlink.- Returns:
- the type
-
setType
Sets the type of the hyperlink.- Parameters:
type- the new type
-
getShow
Gets the show.- Returns:
- the show
-
setShow
Sets the show.- Parameters:
show- the new show
-
getActuate
Gets the actuate.- Returns:
- the actuate
-
setActuate
Sets the actuate.- Parameters:
actuate- the new actuate
-
getTargetFrame
Gets the name of a target frame.- Returns:
- the target frame
-
setTargetFrame
Sets the name of a target frame.- Parameters:
targetFrame- the new target frame
-
getTitle
Gets a short accessible description.- Returns:
- the title
-
setTitle
Sets a short accessible description.- Parameters:
title- the new title
-
isServerSideImageMap
public boolean isServerSideImageMap()Contains that a link returns data to a server side image map.- Returns:
- true, if is server side image map
-
setServerSideImageMap
public void setServerSideImageMap(boolean isServerSideImageMap)Contains that a link returns data to a server side image map.- Parameters:
isServerSideImageMap- the new server side image map
-
getFrame
Gets the frame.- Returns:
- the frame
-
setFrame
Sets the frame.- Parameters:
frame- the new frame
-