|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.RecordData | +--jxl.read.biff.HyperlinkRecord
A number record. This is stored as 8 bytes, as opposed to the 4 byte RK record
Inner Class Summary | |
private static class |
HyperlinkRecord.LinkType
The excel type of hyperlink |
Field Summary | |
private java.io.File |
file
The local file referred to by this hyperlink |
private static HyperlinkRecord.LinkType |
fileLink
|
private int |
firstColumn
The first column |
private int |
firstRow
The first row |
private int |
lastColumn
The last column |
private int |
lastRow
The last row |
private HyperlinkRecord.LinkType |
linkType
The type of this hyperlink |
private java.lang.String |
location
The location in this workbook referred to by this hyperlink |
private SheetRangeImpl |
range
The range of cells which activate this hyperlink |
private static HyperlinkRecord.LinkType |
unknown
|
private java.net.URL |
url
The URL referred to by this hyperlink |
private static HyperlinkRecord.LinkType |
urlLink
|
private static HyperlinkRecord.LinkType |
workbookLink
|
Fields inherited from class jxl.biff.RecordData |
code, record |
Constructor Summary | |
(package private) |
HyperlinkRecord(Record t,
Sheet s,
WorkbookSettings ws)
Constructs this object from the raw data |
Method Summary | |
int |
getColumn()
Returns the column number of the top left cell |
java.io.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 |
java.lang.String |
getLocation()
Gets the location referenced by this hyperlink |
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 |
Record |
getRecord()
Exposes the base class method. |
int |
getRow()
Returns the row number of the top left cell |
java.net.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 |
Methods inherited from class jxl.biff.RecordData |
getCode |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int firstRow
private int lastRow
private int firstColumn
private int lastColumn
private java.net.URL url
private java.io.File file
private java.lang.String location
private SheetRangeImpl range
private HyperlinkRecord.LinkType linkType
private static final HyperlinkRecord.LinkType urlLink
private static final HyperlinkRecord.LinkType fileLink
private static final HyperlinkRecord.LinkType workbookLink
private static final HyperlinkRecord.LinkType unknown
Constructor Detail |
HyperlinkRecord(Record t, Sheet s, WorkbookSettings ws)
t
- the raw dataMethod Detail |
public boolean isFile()
isFile
in interface Hyperlink
public boolean isURL()
isURL
in interface Hyperlink
public boolean isLocation()
isLocation
in interface Hyperlink
public int getRow()
getRow
in interface Hyperlink
public int getColumn()
getColumn
in interface Hyperlink
public int getLastRow()
getLastRow
in interface Hyperlink
public int getLastColumn()
getLastColumn
in interface Hyperlink
public java.net.URL getURL()
getURL
in interface Hyperlink
public java.io.File getFile()
getFile
in interface Hyperlink
public Record getRecord()
getRecord
in class RecordData
public Range getRange()
getRange
in interface Hyperlink
public java.lang.String getLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |