|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.Visualizable
public abstract class Visualizable
This class defines the common interface for all visualizable objects.
| Constructor Summary | |
|---|---|
Visualizable()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Make a copy of this object. |
int |
compareTo(Object obj)
Compare with another visualizable according to the drawing order. |
abstract Rectangle2D |
getBounds()
Gets the bounds of this visual in the form of a Rectangle2D object. |
Graphable |
getGraphable()
Get the graphable object that produced this visualizable. |
double |
getMinHeight()
Get the minimum height of this visualizable. |
protected abstract double |
getMinHeight0()
Get the minimum height of this visualizable. |
double |
getMinWidth()
Get the minimum width of this visualizable. |
protected abstract double |
getMinWidth0()
Get the minimum width of this visualizable. |
double |
getPreferredHeight()
Get the preferred height of this visualizable. |
protected abstract double |
getPreferredHeight0()
Get the preferred height of this visualizable. |
double |
getPreferredWidth()
Get the preferred width of this visualizable. |
protected abstract double |
getPreferredWidth0()
Get the preferred width of this visualizable. |
AffineTransform |
getScreenTransform()
Get the transformation to map chart coordinate to screen coordinate. |
int |
getZIndex()
Get z-index property. |
void |
invalidate()
Clear cached information. |
abstract void |
paint(Graphics2D g)
Paint the visual object on the graphics. |
void |
setScreenTransform(AffineTransform trans)
Set the transformation to map chart coordinate to screen coordinate. |
void |
setZIndex(int zIndex)
The z-index property sets the stack order of a visual. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Visualizable()
| Method Detail |
|---|
public void setScreenTransform(AffineTransform trans)
public AffineTransform getScreenTransform()
public abstract Rectangle2D getBounds()
public int getZIndex()
public void setZIndex(int zIndex)
public final double getPreferredWidth()
getPreferredWidth in interface inetsoft.graph.internal.ILayoutpublic final double getPreferredHeight()
getPreferredHeight in interface inetsoft.graph.internal.ILayoutpublic final double getMinWidth()
getMinWidth in interface inetsoft.graph.internal.ILayoutpublic final double getMinHeight()
getMinHeight in interface inetsoft.graph.internal.ILayoutprotected abstract double getPreferredWidth0()
protected abstract double getPreferredHeight0()
protected abstract double getMinWidth0()
protected abstract double getMinHeight0()
public abstract void paint(Graphics2D g)
public Graphable getGraphable()
public Object clone()
clone in class Objectpublic void invalidate()
public int compareTo(Object obj)
compareTo in interface Comparable
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||