Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » usermodel » [javadoc | source]
org.apache.poi.hssf.usermodel
public class: HSSFHyperlink [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.usermodel.HSSFHyperlink
Represents an Excel hyperlink.
Field Summary
public static final  int LINK_URL    Link to a existing file or web page 
public static final  int LINK_DOCUMENT    Link to a place in this document 
public static final  int LINK_EMAIL    Link to an E-mail address 
public static final  int LINK_FILE    Link to a file 
protected  HyperlinkRecord record    Low-level record object that stores the actual hyperlink data 
protected  int link_type    If we create a new hypelrink remember its type 
Constructor:
 public HSSFHyperlink(int type) 
 protected HSSFHyperlink(HyperlinkRecord record) 
    Initialize the hyperlink by a HyperlinkRecord record
    Parameters:
    record -
Method from org.apache.poi.hssf.usermodel.HSSFHyperlink Summary:
getAddress,   getFirstColumn,   getFirstRow,   getLabel,   getLastColumn,   getLastRow,   getType,   setAddress,   setFirstColumn,   setFirstRow,   setLabel,   setLastColumn,   setLastRow
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.usermodel.HSSFHyperlink Detail:
 public String getAddress() 
    Hypelink address. Depending on the hyperlink type it can be URL, e-mail, patrh to a file, etc.
 public short getFirstColumn() 
    Return the column of the first cell that contains the hyperlink
 public int getFirstRow() 
    Return the row of the first cell that contains the hyperlink
 public String getLabel() 
    Return text label for this hyperlink
 public short getLastColumn() 
    Return the column of the last cell that contains the hyperlink
 public int getLastRow() 
    Return the row of the last cell that contains the hyperlink
 protected int getType() 
    Return the type of this hyperlink
 public  void setAddress(String address) 
    Hypelink address. Depending on the hyperlink type it can be URL, e-mail, patrh to a file, etc.
 public  void setFirstColumn(short col) 
    Set the column of the first cell that contains the hyperlink
 public  void setFirstRow(int row) 
    Set the row of the first cell that contains the hyperlink
 public  void setLabel(String label) 
    Sets text label for this hyperlink
 public  void setLastColumn(short col) 
    Set the column of the last cell that contains the hyperlink
 public  void setLastRow(int row) 
    Set the row of the last cell that contains the hyperlink