Style Intelligence v12.0

inetsoft.graph
Class Graphable

java.lang.Object
  extended by inetsoft.graph.Graphable
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
GraphElement, GraphForm

public abstract class Graphable
extends Object
implements Cloneable

This is the common base class for items that can be added to EGraph for graphing (e.g. GraphElement, GraphForm).


Constructor Summary
Graphable()
           
 
Method Summary
 Object getHint(String hint)
          Get the rendering hint.
 Map getHints()
          Get the rendering hints.
abstract  boolean isInPlot()
          Check if the element should be kept inside the plot area.
 void setHint(String hint, Object val)
          Set the hint for how the element should be rendered.
 void setHints(Map hints)
          Copy the hints.
abstract  void setInPlot(boolean inside)
          Set whether this element should be kept inside the plot area.
 String toString()
          Get the string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Graphable

public Graphable()
Method Detail

setInPlot

public abstract void setInPlot(boolean inside)
Set whether this element should be kept inside the plot area. If set to true and the element extends outside of the plot, the plot area is scaled to push the object inside. The default is true.


isInPlot

public abstract boolean isInPlot()
Check if the element should be kept inside the plot area.


setHint

public void setHint(String hint,
                    Object val)
Set the hint for how the element should be rendered. Hint may not apply to all element types.


getHint

public Object getHint(String hint)
Get the rendering hint.


getHints

public Map getHints()
Get the rendering hints.


setHints

public void setHints(Map hints)
Copy the hints.


toString

public String toString()
Get the string representation.

Overrides:
toString in class Object

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.