Package org.apache.poi.ss.usermodel
Interface Hyperlink
-
- All Superinterfaces:
Hyperlink
- All Known Implementing Classes:
HSSFHyperlink
public interface Hyperlink extends Hyperlink
Represents an Excel hyperlink.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetFirstColumn()Return the column of the first cell that contains the hyperlinkintgetFirstRow()Return the row of the first cell that contains the hyperlinkintgetLastColumn()Return the column of the last cell that contains the hyperlinkintgetLastRow()Return the row of the last cell that contains the hyperlinkvoidsetFirstColumn(int col)Set the column of the first cell that contains the hyperlinkvoidsetFirstRow(int row)Set the row of the first cell that contains the hyperlinkvoidsetLastColumn(int col)Set the column of the last cell that contains the hyperlinkvoidsetLastRow(int row)Set the row of the last cell that contains the hyperlink-
Methods inherited from interface org.apache.poi.common.usermodel.Hyperlink
getAddress, getLabel, getType, setAddress, setLabel
-
-
-
-
Method Detail
-
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
-
-