jxl
Interface Hyperlink
- WritableHyperlink
public interface Hyperlink
Hyperlink information. Only URLs or file links are supported
Hyperlinks may apply to a range of cells; in such cases the methods
getRow and getColumn return the cell at the top left of the range
the hyperlink refers to. Hyperlinks have no specific cell format
information applied to them, so the getCellFormat method will return null
int | getColumn() - Returns the column number of this cell
|
File | getFile() - Returns the local file eferenced by this Hyperlink
|
int | getLastColumn() - Returns the column number of the bottom right cell
|
int | getLastRow() - Returns the row number of the bottom right cell
|
Range | getRange() - Gets the range of cells which activate this hyperlink
The get sheet index methods will all return -1, because the
cells will all be present on the same sheet
|
int | getRow() - Returns the row number of this cell
|
URL | getURL() - Gets the URL referenced by this Hyperlink
|
boolean | isFile() - Determines whether this is a hyperlink to a file
|
boolean | isLocation() - Determines whether this is a hyperlink to a location in this workbook
|
boolean | isURL() - Determines whether this is a hyperlink to a web resource
|
getColumn
public int getColumn()
Returns the column number of this cell
- the column number of this cell
getFile
public File getFile()
Returns the local file eferenced by this Hyperlink
- the file, or NULL if this hyperlink is not a file
getLastColumn
public int getLastColumn()
Returns the column number of the bottom right cell
- the column number of this cell
getLastRow
public int getLastRow()
Returns the row number of the bottom right cell
- the row number of this cell
getRange
public Range getRange()
Gets the range of cells which activate this hyperlink
The get sheet index methods will all return -1, because the
cells will all be present on the same sheet
- the range of cells which activate the hyperlink
getRow
public int getRow()
Returns the row number of this cell
- the row number of this cell
getURL
public URL getURL()
Gets the URL referenced by this Hyperlink
- the URL, or NULL if this hyperlink is not a URL
isFile
public boolean isFile()
Determines whether this is a hyperlink to a file
- TRUE if this is a hyperlink to a file, FALSE otherwise
isLocation
public boolean isLocation()
Determines whether this is a hyperlink to a location in this workbook
- TRUE if this is a link to an internal location
isURL
public boolean isURL()
Determines whether this is a hyperlink to a web resource