|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.Link
public class Link
Provides access to the Link object.
The Link Class members allow developers to get and set attributes for Link objects obtained from other chart elements.
Many of the chart objects support a Link property that may be used to return a Link object: SeriesAttributes
, PointAttributes
, Title
, CustomGridLine
, Axis
, etc.
Once a developer has obtained this object, attributes may be configured using the members of this Class .
Constructor Summary | |
---|---|
Link()
|
Method Summary | |
---|---|
String |
getOnClick()
Gets the OnClick. |
String |
getOnContextMenu()
Gets the OnContextMenu. |
String |
getOnMouseDown()
Gets the OnMouseDown. |
String |
getOnMouseOut()
Gets the OnMouseOut. |
String |
getOnMouseOver()
Gets the OnMouseOver. |
String |
getOnMouseUp()
Gets the OnMouseUp. |
String |
getPostBackUrl()
Gets the PostBackUrl. |
String |
getTarget()
Gets the Target. |
String |
getUrl()
Gets the Url. |
boolean |
isPostBack()
Gets the PostBack. |
boolean |
isReload()
Gets the Reload. |
void |
setOnClick(String value)
Sets the name of the client-side JavaScript to be executed when the user clicks on the link. |
void |
setOnContextMenu(String value)
Sets the name of the client-side JavaScript to be executed before the Context Menu pops-up. |
void |
setOnMouseDown(String value)
Sets the name of the client-side JavaScript to be executed when the user presses down the mouse on the link. |
void |
setOnMouseOut(String value)
Sets the name of the client-side JavaScript to be executed when the cursor leaves the area where the link is defined. |
void |
setOnMouseOver(String value)
Sets the name of the client-side JavaScript to be executed when the cursor hovers the link. |
void |
setOnMouseUp(String value)
Sets the name of the client-side JavaScript to be executed when the user releases the mouse button on the link. |
void |
setPostBack(boolean value)
Sets a value indicating whether or not a postback will occur when the link is clicked. |
void |
setPostBackUrl(String value)
Sets the URL of the Web page to post to from the current page when the link is clicked. |
void |
setReload(boolean value)
Sets a value specifying if the chart is to be reloaded. |
void |
setTarget(String value)
Sets the target frame or HTML Frame to be used when jumping to a URL. |
void |
setUrl(String value)
Sets a URL for a Link object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Link()
Method Detail |
---|
public String getOnClick()
Gets the OnClick. For more detail see setOnClick(java.lang.String)
.
public String getOnContextMenu()
Gets the OnContextMenu. For more detail see setOnContextMenu(java.lang.String)
.
public String getOnMouseDown()
Gets the OnMouseDown. For more detail see setOnMouseDown(java.lang.String)
.
public String getOnMouseOut()
Gets the OnMouseOut. For more detail see setOnMouseOut(java.lang.String)
.
public String getOnMouseOver()
Gets the OnMouseOver. For more detail see setOnMouseOver(java.lang.String)
.
public String getOnMouseUp()
Gets the OnMouseUp. For more detail see setOnMouseUp(java.lang.String)
.
public String getPostBackUrl()
Gets the PostBackUrl. For more detail see setPostBackUrl(java.lang.String)
.
public String getTarget()
Gets the Target. For more detail see setTarget(java.lang.String)
.
public String getUrl()
Gets the Url. For more detail see setUrl(java.lang.String)
.
public boolean isPostBack()
Gets the PostBack. For more detail see setPostBack(boolean)
.
public boolean isReload()
Gets the Reload. For more detail see setReload(boolean)
.
public void setOnClick(String value)
Sets the name of the client-side JavaScript to be executed when the user clicks on the link.
This property accepts as string the JavaScript function name to call when the OnClick event is handled for the link.
The Chart.getImageSettings()
property is used to access the ImageSettings object of a chart. Many of the supported members are useful when working with Image Maps and ImageSettings.setInteractive(boolean)
images.
Chart.getImageSettings()
,
setOnContextMenu(java.lang.String)
,
setOnMouseDown(java.lang.String)
,
setOnMouseOut(java.lang.String)
,
setOnMouseOver(java.lang.String)
,
ImageSettings
,
Chart
public void setOnContextMenu(String value)
Sets the name of the client-side JavaScript to be executed before the Context Menu pops-up.
This property accepts as string the JavaScript function name to call when the OnContextMenu event is handled for the link.
The Chart.getImageSettings()
property is used to access the ImageSettings object of a chart. Many of the supported members are useful when working with Image Maps and ImageSettings.setInteractive(boolean)
images.
Chart.getImageSettings()
,
setOnContextMenu(java.lang.String)
,
setOnMouseDown(java.lang.String)
,
setOnMouseOut(java.lang.String)
,
setOnMouseOver(java.lang.String)
,
ImageSettings
,
Chart
public void setOnMouseDown(String value)
Sets the name of the client-side JavaScript to be executed when the user presses down the mouse on the link.
This property accepts as string the JavaScript function name to call when the OnMouseDown event is handled for the link.
The Chart.getImageSettings()
property is used to access the ImageSettings object of a chart. Many of the supported members are useful when working with Image Maps and ImageSettings.setInteractive(boolean)
images.
Chart.getImageSettings()
,
setOnContextMenu(java.lang.String)
,
setOnMouseOut(java.lang.String)
,
setOnMouseOver(java.lang.String)
,
ImageSettings
,
Chart
public void setOnMouseOut(String value)
Sets the name of the client-side JavaScript to be executed when the cursor leaves the area where the link is defined.
This property accepts as string the JavaScript function name to call when the OnMouseOut event is handled for the link.
The Chart.getImageSettings()
property is used to access the ImageSettings object of a chart. Many of the supported members are useful when working with Image Maps and ImageSettings.setInteractive(boolean)
images.
Chart.getImageSettings()
,
setOnContextMenu(java.lang.String)
,
setOnMouseDown(java.lang.String)
,
setOnMouseOut(java.lang.String)
,
setOnMouseOver(java.lang.String)
,
ImageSettings
,
Chart
public void setOnMouseOver(String value)
Sets the name of the client-side JavaScript to be executed when the cursor hovers the link.
This property accepts as string the JavaScript function name to call when the OnMouseOver event is handled for the link.
The Chart.getImageSettings()
property is used to access the ImageSettings object of a chart. Many of the supported members are useful when working with Image Maps and ImageSettings.setInteractive(boolean)
images.
Chart.getImageSettings()
,
setOnContextMenu(java.lang.String)
,
setOnMouseDown(java.lang.String)
,
setOnMouseOut(java.lang.String)
,
setOnMouseOver(java.lang.String)
,
ImageSettings
,
Chart
public void setOnMouseUp(String value)
Sets the name of the client-side JavaScript to be executed when the user releases the mouse button on the link.
This property accepts as string the JavaScript function name to call when the OnMouseUp event is handled for the link.
The Chart.getImageSettings()
property is used to access the ImageSettings object of a chart. Many of the supported members are useful when working with Image Maps and ImageSettings.setInteractive(boolean)
images.
Chart.getImageSettings()
,
setOnContextMenu(java.lang.String)
,
setOnMouseDown(java.lang.String)
,
setOnMouseOut(java.lang.String)
,
setOnMouseOver(java.lang.String)
,
ImageSettings
,
Chart
public void setPostBack(boolean value)
Sets a value indicating whether or not a postback will occur when the link is clicked.
The setUrl(java.lang.String)
property gets or sets a URL for a Link object.
The setPostBackUrl(java.lang.String)
property gets or sets the URL of the Web page to post to from the current page when the link is clicked.
The setTarget(java.lang.String)
property gets or sets the target frame or HTML Frame to be used when jumping to a URL.
The setReload(boolean)
property gets or sets a value specifying if the chart is to be reloaded.
setUrl(java.lang.String)
,
setPostBackUrl(java.lang.String)
,
setTarget(java.lang.String)
,
setReload(boolean)
,
Link
public void setPostBackUrl(String value)
Sets the URL of the Web page to post to from the current page when the link is clicked.
The setPostBack(boolean)
property gets or sets a value indicating whether or not a postback will occur when the link is clicked.
The setUrl(java.lang.String)
property gets or sets a URL for a Link object.
The setTarget(java.lang.String)
property gets or sets the target frame or HTML Frame to be used when jumping to a URL.
The setReload(boolean)
property gets or sets a value specifying if the chart is to be reloaded.
setPostBack(boolean)
,
setUrl(java.lang.String)
,
setTarget(java.lang.String)
,
setReload(boolean)
,
Link
public void setReload(boolean value)
Sets a value specifying if the chart is to be reloaded.
This property instructs Chart FX to ONLY reload the chart when the item is clicked in a drilldown event.
This feature requires the chart to be reloaded to be bit-streamed by using the Chart.renderToStream()
method.
The setUrl(java.lang.String)
property is used to cofigure a target url for a link object.
To specify the target frame for the URL, you can use the setTarget(java.lang.String)
property of the Link Object.
setTarget(java.lang.String)
,
setUrl(java.lang.String)
,
Chart.renderToStream()
,
Chart
,
Axis
,
PointAttributes
,
SeriesAttributes
,
Title
,
CustomGridLine
public void setTarget(String value)
Sets the target frame or HTML Frame to be used when jumping to a URL.
This property can be configured with the "_blank" string value to open the link in a new window.
The web address to jump or reload can be set using the setUrl(java.lang.String)
property.
setUrl(java.lang.String)
,
setReload(boolean)
,
Chart
,
Axis
,
PointAttributes
,
SeriesAttributes
,
Title
,
CustomGridLine
public void setUrl(String value)
Sets a URL for a Link object.
When the URL target page is located in the same physical directory as the current page, you can specify the target file name only:
If you wish to jump to another domain, you should configure the full web address:
To specify the target frame for the URL, you can use the setTarget(java.lang.String)
property of the Link Object.
The syntax for this property is the same as the one used in the PointLabelAttributes.setFormat(java.lang.String)
property. Variables can be accessed using the % following the variable you want to include:
l Shows X-Axis Legend.
k Shows X-Axis Key Legend.
s Shows Series Legend.
S Shows the Series Index.
x Shows XValue (XY charts, when they were set with X values).
i Shows IniValues (Gantt).
v Shows Data Value.
v <n> For types that require more than one series, these are replaced by the value of each one. (n represents an index).
t Series Total (Sum of all points in this series).
p Percentage of total this point represents (Pie).
T Point Total (Sum of all series for this point).
P Percentage of total this series represents (Used in stacked charts).
X displays the marker X value for any chart type including those that do not support X values such as bar.
N Shows the index for the point.
L Shows the PointAttributes.setTag(java.lang.Object)
property of the PointAttributes
object.
setTarget(java.lang.String)
,
setReload(boolean)
,
Chart
,
Axis
,
PointAttributes
,
SeriesAttributes
,
Title
,
CustomGridLine
,
CustomLegendItem
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |