public class HyperLink
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
kFileAbs |
static int |
kFileRel |
static int |
kNet |
static int |
kRange |
static int |
kUnknown |
static int |
kURLAbs |
static int |
kURLRel |
Constructor and Description |
---|
HyperLink(HyperlinkImpl linkImpl) |
Modifier and Type | Method and Description |
---|---|
HyperlinkImpl |
getHyperlinkImpl() |
java.lang.String |
getLinkShowString()
Returns the hyperlink link show string.
|
java.lang.String |
getLinkURLString()
Returns the hyperlink link URL string.
|
java.lang.String |
getRange()
Returns the range to which this hyperlink applies.
|
java.lang.String |
getToolTipString()
Returns the tool tip string.
|
int |
getType()
Returns the current hyperlink type.
|
void |
setLinkShowString(java.lang.String show)
set the hyperlink's link show string
|
void |
setLinkURLString(java.lang.String link)
set the hyperlink's link URL string
|
void |
setRange(int row1,
int col1,
int row2,
int col2)
set the hyperlink range
|
void |
setToolTip(java.lang.String tooltip)
set the tool tip string
|
void |
setType(int type)
set the hyperlink type
|
public static final int kUnknown
public static final int kRange
public static final int kURLAbs
public static final int kURLRel
public static final int kFileAbs
public static final int kFileRel
public static final int kNet
public HyperlinkImpl getHyperlinkImpl()
public int getType()
public void setType(int type)
type
- one of the following hyperlink types:
kUnknown kRange kURLAbs
kURLRel kFileAbs kFileRel
kNetpublic java.lang.String getLinkURLString()
public void setLinkURLString(java.lang.String link)
link
- link stringpublic java.lang.String getLinkShowString()
public void setLinkShowString(java.lang.String show)
show
- link stringpublic java.lang.String getToolTipString()
public void setToolTip(java.lang.String tooltip)
tooltip
- tool tip stringpublic java.lang.String getRange()
public void setRange(int row1, int col1, int row2, int col2)
row1
- top rowcol1
- left colrow2
- bottom rowcol2
- right col