Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getAddress()
Hyperlink address.
|
int |
getFirstColumn()
Return the column of the first cell that contains the hyperlink
|
int |
getFirstRow()
Return the row of the first cell that contains the hyperlink
|
String |
getLabel()
Return text label for this hyperlink
|
int |
getLastColumn()
Return the column of the last cell that contains the hyperlink
|
int |
getLastRow()
Return the row of the last cell that contains the hyperlink
|
String |
getShortFilename() |
String |
getTextMark() |
HyperlinkType |
getType()
Return the type of this hyperlink
|
HyperlinkType |
getTypeEnum()
Deprecated.
use
getType() instead |
int |
hashCode() |
void |
setAddress(String address)
Hyperlink address.
|
void |
setFirstColumn(int col)
Set the column of the first cell that contains the hyperlink
|
void |
setFirstRow(int row)
Set the row of the first cell that contains the hyperlink
|
void |
setLabel(String label)
Sets text label for this hyperlink
|
void |
setLastColumn(int col)
Set the column of the last cell that contains the hyperlink
|
void |
setLastRow(int row)
Set the row of the last cell that contains the hyperlink
|
void |
setShortFilename(String shortFilename)
Convenience method equivalent to
setAddress(String) |
void |
setTextMark(String textMark)
Convenience method equivalent to
setAddress(String) |
public int getFirstRow()
public void setFirstRow(int row)
row
- the 0-based row of the first cell that contains the hyperlinkpublic int getLastRow()
public void setLastRow(int row)
row
- the 0-based row of the last cell that contains the hyperlinkpublic int getFirstColumn()
public void setFirstColumn(int col)
col
- the 0-based column of the first cell that contains the hyperlinkpublic int getLastColumn()
public void setLastColumn(int col)
col
- the 0-based column of the last cell that contains the hyperlinkpublic String getAddress()
getAddress
in interface Hyperlink
public String getTextMark()
public void setTextMark(String textMark)
setAddress(String)
textMark
- the place in worksheet this hyperlink refers to, e.g. 'Target Sheet'!A1'public String getShortFilename()
public void setShortFilename(String shortFilename)
setAddress(String)
shortFilename
- the path to a file this hyperlink points to, e.g. 'readme.txt'public void setAddress(String address)
setAddress
in interface Hyperlink
address
- the address of this hyperlinkpublic String getLabel()
public void setLabel(String label)
public HyperlinkType getType()
getType
in interface Hyperlink
HyperlinkType.forInt(int)
@Deprecated @Removal(version="4.2") public HyperlinkType getTypeEnum()
getType()
insteadgetTypeEnum
in interface Hyperlink
public boolean equals(Object other)
Copyright © 2010 - 2020 Adobe. All Rights Reserved