Chart FX for Java 6.5

SoftwareFX.ChartFX
Class Link

java.lang.Object
  extended by SoftwareFX.ChartFX.Link

public final class Link
extends java.lang.Object

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. Once a developer has obtained this object, attributes may be configured using the members of this Class .

In the following example, the Link object of the chart is obtained and configured:

Link chartLink = Chart1.getLink();
chartLink.setUrl("http://www.softwarefx.com");

Here is how the Link object of a series may be configured:

Link serLink = Chart1.getSeries(0).getLink();
serLink.setUrl("http://www.softwarefx.com");


Constructor Summary
Link()
           
 
Method Summary
 java.lang.String getTarget()
          Gets the Target.
 java.lang.String getUrl()
          Gets the Url.
 boolean isReload()
          Gets the Reload.
 void setReload(boolean value)
          Gets or sets a value specifying if the chart is to be reloaded.
 void setTarget(java.lang.String value)
          Gets or sets the target frame or HTML Frame to be used when jumping to a URL.
 void setUrl(java.lang.String value)
          Gets or 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

Link

public Link()
Method Detail

getTarget

public java.lang.String getTarget()

Gets the Target. For more detail see setTarget(java.lang.String).


getUrl

public java.lang.String getUrl()

Gets the Url. For more detail see setUrl(java.lang.String).


isReload

public boolean isReload()

Gets the Reload. For more detail see setReload(boolean).


setReload

public void setReload(boolean value)

Gets or sets a value specifying if the chart is to be reloaded.

Remarks:
  • This property instructs Char FX to reload to a different chart (only the chart will change) when the item is clicked in a drilldown event.

  • See Also:
    setTarget(java.lang.String), setUrl(java.lang.String)

    setTarget

    public void setTarget(java.lang.String value)

    Gets or sets the target frame or HTML Frame to be used when jumping to a URL.

    Remarks:
  • 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.

  • Many classes support a Link property used to configure a Link object for the object. Some of these objects include: AnnotationObject, AxisSection, Title, PointAttributes, ConstantLine, Stripe, UserLegendBoxItem.

  • See Also:
    setUrl(java.lang.String), AnnotationObject, AxisSection, Title, PointAttributes, ConstantLine, Stripe, UserLegendBoxItem

    setUrl

    public void setUrl(java.lang.String value)

    Gets or sets a URL for a Link object.

    Remarks:
  • 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:

  • Many classes support a Link property used to configure a Link object for the object. Some of these objects include: AnnotationObject, AxisSection, Title, PointAttributes, ConstantLine, Stripe, UserLegendBoxItem.

  • To specify the target frame for the URL, you can use the setTarget(java.lang.String) property of the Link Object.

  • See Also:
    setTarget(java.lang.String), AnnotationObject, AxisSection, Title, PointAttributes, ConstantLine, Stripe, UserLegendBoxItem

    http://www.softwarefx.com

    2007 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.