| Modifier and Type | Field and Description |
|---|---|
| protected final HyperlinkType | link_type
If we create a new hyperlink remember its type |
| protected final HyperlinkRecord | record
Low-level record object that stores the actual hyperlink data |
| Access | Constructor and Description |
|---|---|
| protected | HSSFHyperlink(HyperlinkType
the type of hyperlink to create type)Construct a new hyperlink
This method is internal to be used only by
|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Duplicatable | |
| public boolean | Returns: whether the objects have the same HyperlinkRecordthe reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | Returns: the address of this hyperlinkImplements org. Hyperlink address. |
| public int | Returns: the 0-based column of the first cell that contains the hyperlinkImplements org. Return the column of the first cell that contains the hyperlink |
| public int | Returns: the 0-based row of the cell that contains the hyperlinkImplements org. Return the row of the first cell that contains the hyperlink |
| public String | Returns: text to displayImplements org. Return text label for this hyperlink |
| public int | Returns: the 0-based column of the last cell that contains the hyperlinkImplements org. Return the column of the last cell that contains the hyperlink |
| public int | Returns: the 0-based row of the last cell that contains the hyperlinkImplements org. Return the row of the last cell that contains the hyperlink |
| public String | |
| public String | |
| private static HyperlinkType | |
| public HyperlinkType | Returns: the type of this hyperlinkImplements org. Return the type of this hyperlink |
| public int | |
| public void | setAddress(String
the address of this hyperlink address)Implements org. Hyperlink address. |
| public void | setFirstColumn(int
the 0-based column of the first cell that contains the hyperlink col)Implements org. Set the column of the first cell that contains the hyperlink |
| public void | setFirstRow(int
the 0-based row of the first cell that contains the hyperlink row)Implements org. Set the row of the first cell that contains the hyperlink |
| public void | setLabel(String
text label for this hyperlink label)Implements org. Sets text label for this hyperlink |
| public void | setLastColumn(int
the 0-based column of the last cell that contains the hyperlink col)Implements org. Set the column of the last cell that contains the hyperlink |
| public void | setLastRow(int
the 0-based row of the last cell that contains the hyperlink row)Implements org. Set the row of the last cell that contains the hyperlink |
| public void | setShortFilename(String
the path to a file this hyperlink points to, e.g. 'readme.txt' shortFilename)Convenience method equivalent to |
| public void | setTextMark(String
the place in worksheet this hyperlink refers to, e.g. 'Target Sheet'!A1' textMark)Convenience method equivalent to |
| link_type | back to summary |
|---|---|
| protected final HyperlinkType link_type If we create a new hyperlink remember its type | |
| record | back to summary |
|---|---|
| protected final HyperlinkRecord record Low-level record object that stores the actual hyperlink data | |
| HSSFHyperlink | back to summary |
|---|---|
| protected HSSFHyperlink(HyperlinkType type) Construct a new hyperlink
This method is internal to be used only by
| |
| HSSFHyperlink | back to summary |
|---|---|
| protected HSSFHyperlink(HyperlinkRecord record) Initialize the hyperlink by a | |
| HSSFHyperlink | back to summary |
|---|---|
| protected HSSFHyperlink(Hyperlink other) | |
| copy | back to summary |
|---|---|
| public Duplicatable copy() Implements org.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAddress | back to summary |
|---|---|
| public String getAddress() Implements org. Hyperlink address. Depending on the hyperlink type it can be URL, e-mail, path to a file, etc. | |
| getFirstColumn | back to summary |
|---|---|
| public int getFirstColumn() Implements org. Return the column of the first cell that contains the hyperlink
| |
| getFirstRow | back to summary |
|---|---|
| public int getFirstRow() Implements org. Return the row of the first cell that contains the hyperlink
| |
| getLabel | back to summary |
|---|---|
| public String getLabel() Implements org. Return text label for this hyperlink | |
| getLastColumn | back to summary |
|---|---|
| public int getLastColumn() Implements org. Return the column of the last cell that contains the hyperlink
| |
| getLastRow | back to summary |
|---|---|
| public int getLastRow() Implements org. Return the row of the last cell that contains the hyperlink
| |
| getShortFilename | back to summary |
|---|---|
| public String getShortFilename() | |
| getTextMark | back to summary |
|---|---|
| public String getTextMark() | |
| getType | back to summary |
|---|---|
| private static HyperlinkType getType(HyperlinkRecord record) | |
| getType | back to summary |
|---|---|
| public HyperlinkType getType() Implements org. Return the type of this hyperlink
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setAddress | back to summary |
|---|---|
| public void setAddress(String address) Implements org. Hyperlink address. Depending on the hyperlink type it can be URL, e-mail, path to a file, etc. | |
| setFirstColumn | back to summary |
|---|---|
| public void setFirstColumn(int col) Implements org. Set the column of the first cell that contains the hyperlink
| |
| setFirstRow | back to summary |
|---|---|
| public void setFirstRow(int row) Implements org. Set the row of the first cell that contains the hyperlink
| |
| setLabel | back to summary |
|---|---|
| public void setLabel(String label) Implements org. Sets text label for this hyperlink | |
| setLastColumn | back to summary |
|---|---|
| public void setLastColumn(int col) Implements org. Set the column of the last cell that contains the hyperlink
| |
| setLastRow | back to summary |
|---|---|
| public void setLastRow(int row) Implements org. Set the row of the last cell that contains the hyperlink
| |
| setShortFilename | back to summary |
|---|---|
| public void setShortFilename(String shortFilename) Convenience method equivalent to
| |
| setTextMark | back to summary |
|---|---|
| public void setTextMark(String textMark) Convenience method equivalent to
| |