|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.xssf.usermodel.XSSFHyperlink
public class XSSFHyperlink
XSSF Implementation of a Hyperlink. Note - unlike with HSSF, many kinds of hyperlink are largely stored as relations of the sheet
Field Summary |
---|
Fields inherited from interface org.apache.poi.common.usermodel.Hyperlink |
---|
LINK_DOCUMENT, LINK_EMAIL, LINK_FILE, LINK_URL |
Method Summary | |
---|---|
java.lang.String |
getAddress()
Hypelink address. |
java.lang.String |
getCellRef()
Get the reference of the cell this applies to, es A55 |
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHyperlink |
getCTHyperlink()
|
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 |
java.lang.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 |
java.lang.String |
getLocation()
Location within target. |
java.lang.String |
getTooltip()
|
int |
getType()
Return the type of this hyperlink |
boolean |
needsRelationToo()
Do we need to a relation too, to represent this hyperlink? |
void |
setAddress(java.lang.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(java.lang.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 |
setLocation(java.lang.String location)
Location within target. |
void |
setTooltip(java.lang.String text)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHyperlink getCTHyperlink()
public boolean needsRelationToo()
public int getType()
getType
in interface org.apache.poi.common.usermodel.Hyperlink
public java.lang.String getCellRef()
public java.lang.String getAddress()
getAddress
in interface org.apache.poi.common.usermodel.Hyperlink
public java.lang.String getLabel()
getLabel
in interface org.apache.poi.common.usermodel.Hyperlink
public java.lang.String getLocation()
public void setLabel(java.lang.String label)
setLabel
in interface org.apache.poi.common.usermodel.Hyperlink
label
- text label for this hyperlinkpublic void setLocation(java.lang.String location)
location
- - string representing a location of this hyperlinkpublic void setAddress(java.lang.String address)
setAddress
in interface org.apache.poi.common.usermodel.Hyperlink
address
- - the address of this hyperlinkpublic int getFirstColumn()
public int getLastColumn()
public int getFirstRow()
public int getLastRow()
public void setFirstColumn(int col)
col
- the 0-based column of the first cell that contains the hyperlinkpublic void setLastColumn(int col)
col
- the 0-based column of the last cell that contains the hyperlinkpublic void setFirstRow(int row)
row
- the 0-based row of the first cell that contains the hyperlinkpublic void setLastRow(int row)
row
- the 0-based row of the last cell that contains the hyperlinkpublic java.lang.String getTooltip()
public void setTooltip(java.lang.String text)
text
- additional text to help the user understand more about the hyperlink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |