Package org.apache.poi.ss.usermodel
Interface Hyperlink
- All Superinterfaces:
Hyperlink
- All Known Implementing Classes:
HSSFHyperlink
,XSSFHyperlink
Represents an Excel hyperlink.
-
Method Summary
Modifier and TypeMethodDescriptionint
Return the column of the first cell that contains the hyperlinkint
Return the row of the first cell that contains the hyperlinkint
Return the column of the last cell that contains the hyperlinkint
Return the row of the last cell that contains the hyperlinkvoid
setFirstColumn
(int col) Set the column of the first cell that contains the hyperlinkvoid
setFirstRow
(int row) Set the row of the first cell that contains the hyperlinkvoid
setLastColumn
(int col) Set the column of the last cell that contains the hyperlinkvoid
setLastRow
(int row) Set the row of the last cell that contains the hyperlinkMethods inherited from interface org.apache.poi.common.usermodel.Hyperlink
getAddress, getLabel, getType, getTypeEnum, setAddress, setLabel
-
Method Details
-
getFirstRow
int getFirstRow()Return the row of the first cell that contains the hyperlink- Returns:
- the 0-based row of the cell that contains the hyperlink
-
setFirstRow
void setFirstRow(int row) Set the row of the first cell that contains the hyperlink- Parameters:
row
- the 0-based row of the first cell that contains the hyperlink
-
getLastRow
int getLastRow()Return the row of the last cell that contains the hyperlink- Returns:
- the 0-based row of the last cell that contains the hyperlink
-
setLastRow
void setLastRow(int row) Set the row of the last cell that contains the hyperlink- Parameters:
row
- the 0-based row of the last cell that contains the hyperlink
-
getFirstColumn
int getFirstColumn()Return the column of the first cell that contains the hyperlink- Returns:
- the 0-based column of the first cell that contains the hyperlink
-
setFirstColumn
void setFirstColumn(int col) Set the column of the first cell that contains the hyperlink- Parameters:
col
- the 0-based column of the first cell that contains the hyperlink
-
getLastColumn
int getLastColumn()Return the column of the last cell that contains the hyperlink- Returns:
- the 0-based column of the last cell that contains the hyperlink
-
setLastColumn
void setLastColumn(int col) Set the column of the last cell that contains the hyperlink- Parameters:
col
- the 0-based column of the last cell that contains the hyperlink
-