KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > graph > GraphRenderer


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package org.ejtools.graph;
8
9
10 /**
11  * Description of the Interface
12  *
13  * @author Laurent Etiemble
14  * @version $Revision: 1.7 $
15  * @todo Javadoc to complete
16  */

17 public interface GraphRenderer
18 {
19    /** Description of the Field */
20    public final static int ALIGN_LEFT = 0;
21    /** Description of the Field */
22    public final static int ALIGN_RIGHT = 1;
23    /** Description of the Field */
24    public final static int JUSTIFIED = 3;
25    /** Description of the Field */
26    public final static int SMOOTH = 10;
27    /** Description of the Field */
28    public final static int BOUNDED = 11;
29
30
31    /**
32     * Sets the graphElement attribute of the GraphRenderer object
33     *
34     * @param element The new graphElement value
35     */

36    public void setGraphElement(GraphElement element);
37
38
39    /**
40     * Sets the display attribute of the GraphRenderer object
41     *
42     * @param type The new display value
43     */

44    public void setHorizontalScaling(int type);
45
46
47    /**
48     * Sets the horizontalScale attribute of the GraphRenderer object
49     *
50     * @param multiplier The new horizontalScale value
51     */

52    public void setHorizontalScale(double multiplier);
53
54
55    /**
56     * Sets the verticalScale attribute of the GraphRenderer object
57     *
58     * @param multiplier The new verticalScale value
59     */

60    public void setVerticalScale(double multiplier);
61
62
63    /**
64     * Sets the verticalDisplay attribute of the GraphRenderer object
65     *
66     * @param type The new verticalDisplay value
67     */

68    public void setVerticalScaling(int type);
69 }
70
Popular Tags