|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--quadbase.util.HyperLink
HyperLink
A structure to hold the hyperlink defined in the chart.
| Field Summary | |
java.lang.String |
category
Name of the category, a blank name (not null) represent all category |
static java.lang.String |
DEFAULT_TARGET
Default target of the hyperlink, default is "" |
java.lang.String |
hint
The hint to show when a right mouse click is done on the link. |
java.lang.String |
link
The hyperlink which is any valid URL string. |
java.lang.String |
series
Name of the series, a blank name (not null) represent all series |
java.lang.String |
sumBy
Name of the sum category for stack chart, a blank name (not null) represent all sum category |
java.lang.String |
target
Specified target of the hyperlink |
java.lang.String |
xValue
Value of X axis for surface chart, a string "All" represent all X values |
java.lang.String |
zValue
Value of Z axis for surface chart, a string "All" represent all Z values |
| Constructor Summary | |
HyperLink()
Constructor for HyperLink |
|
HyperLink(PickData pd)
Constructor for HyperLink, internal use by chart package only |
|
HyperLink(java.lang.String series,
java.lang.String category,
java.lang.String sumBy,
java.lang.String link)
Constructor for HyperLink using the default target window |
|
HyperLink(java.lang.String series,
java.lang.String category,
java.lang.String sumBy,
java.lang.String link,
java.lang.String target)
Constructor for HyperLink |
|
| Method Summary | |
static HyperLink |
createHyperLinkForSurfaceChart(java.lang.String xValue,
java.lang.String zValue,
java.lang.String link)
HyperLink constructor for surface chart using the default target window |
static HyperLink |
createHyperLinkForSurfaceChart(java.lang.String xValue,
java.lang.String zValue,
java.lang.String link,
java.lang.String target)
create HyperLink for surface chart |
boolean |
equals(HyperLink lk)
Check whether two hyperlink are equals, link field are igonred |
HyperLink |
findNewLink(java.util.Vector vec)
Search for a valid hyperlink define in the Vector of HyperLink using the category, series and sumBy of this object. |
HyperLink |
findNewLink(java.util.Vector vec,
boolean forLegend)
|
java.lang.String |
getHintValue()
Return the hint string associated with this hyperlink. |
static HyperLink |
read(java.io.DataInput in,
boolean btarget,
boolean isUTF)
Read the link defination |
void |
readHint(java.io.DataInput in,
boolean isUTF)
Read the hint string from the input file. |
void |
setHintValue(java.lang.String hintString)
Set the hint string associated with this hyperlink. |
java.lang.String |
toString()
Overide object.toString() |
void |
write(java.io.DataOutput out)
Output the link defination |
void |
writeHint(java.io.DataOutput out)
Write the hint string to the output file also. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_TARGET
public java.lang.String series
public java.lang.String category
public java.lang.String sumBy
public java.lang.String xValue
public java.lang.String zValue
public java.lang.String link
public java.lang.String target
public java.lang.String hint
| Constructor Detail |
public HyperLink(PickData pd)
pd - a PickData objectpublic HyperLink()
public HyperLink(java.lang.String series,
java.lang.String category,
java.lang.String sumBy,
java.lang.String link,
java.lang.String target)
series - series name, a blank name "" represent all seriescategory - category name, a blank name "" represent all categorysumBy - sumBy name, a blank name "" represent all sum categorylink - the hyperlink, can be any valid URL nametarget - the target window
public HyperLink(java.lang.String series,
java.lang.String category,
java.lang.String sumBy,
java.lang.String link)
series - series name, a blank name "" represent all seriescategory - category name, a blank name "" represent all categorysumBy - sumBy name, a blank name "" represent all sum categorylink - the hyperlink, can be any valid URL name| Method Detail |
public static HyperLink createHyperLinkForSurfaceChart(java.lang.String xValue,
java.lang.String zValue,
java.lang.String link,
java.lang.String target)
xValue - value of X Axis, a string "All" represent all values in X axiszValue - value of Z Axis, a string "All" represent all values in Z axislink - the hyperlink, can be any valid URL nametarget - the target window
Note X, Z Axis form horizontal plane for 3D surface chart
public static HyperLink createHyperLinkForSurfaceChart(java.lang.String xValue,
java.lang.String zValue,
java.lang.String link)
xValue - value of X Axis, a string "All" represent all values in X axiszValue - value of Z Axis, a string "All" represent all values in Z axislink - the hyperlink, can be any valid URL name
Note X, Z Axis form horizontal plane for 3D surface chartpublic boolean equals(HyperLink lk)
public void write(java.io.DataOutput out)
throws java.io.IOException
out - data stream where the link output to
public void writeHint(java.io.DataOutput out)
throws java.io.IOException
public static HyperLink read(java.io.DataInput in,
boolean btarget,
boolean isUTF)
throws java.io.IOException
in - data stream where the link retrieve frombtarget - true for file version >= 34
public void readHint(java.io.DataInput in,
boolean isUTF)
throws java.io.IOException
public java.lang.String toString()
toString in class java.lang.Objectpublic HyperLink findNewLink(java.util.Vector vec)
vec - a Vector of object HyperLink
public HyperLink findNewLink(java.util.Vector vec,
boolean forLegend)
public void setHintValue(java.lang.String hintString)
hintString - The hint string.IHyperLinkSet.gethHint()public java.lang.String getHintValue()
IHyperLinkSet.gethHint()
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||