[Schmitzm-commits] r216 - trunk/src/schmitzm/jfree/chart/style

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 13 23:51:56 CEST 2009


Author: alfonx
Date: 2009-07-13 23:51:56 +0200 (Mon, 13 Jul 2009)
New Revision: 216

Modified:
   trunk/src/schmitzm/jfree/chart/style/ChartStyle.java
Log:
* Ein paar constanten, damit Trottel wie ich nicht soviel nachdenken m?\195?\188ssen ;-)

  /** Constant for the domain axis (X). */
  public static final int DOMAIN_AXIS = 0;
  /** Constant for the domain axis (X). */
  public static final int X_AXIS = DOMAIN_AXIS;
  /** Constant for the range axis (Y). */
  public static final int RANGE_AXIS  = 1;
  /** Constant for the range axis (Y). */
  public static final int Y_AXIS  = RANGE_AXIS;
  /** Constant for the range axis (Y). */
  public static final int Y_AXIS_LEFT  = RANGE_AXIS;
  /** Constant for the second range axis (Y). */
  public static final int RANGE_AXIS2 = 2;
  /** Constant for the second range axis (Y). */
  public static final int Y_AXIS2 = RANGE_AXIS2;
  /** Constant for the second range axis (Y). */
  public static final int Y_AXIS_RIGHT = RANGE_AXIS2;


Modified: trunk/src/schmitzm/jfree/chart/style/ChartStyle.java
===================================================================
--- trunk/src/schmitzm/jfree/chart/style/ChartStyle.java	2009-07-13 19:05:15 UTC (rev 215)
+++ trunk/src/schmitzm/jfree/chart/style/ChartStyle.java	2009-07-13 21:51:56 UTC (rev 216)
@@ -119,10 +119,20 @@
   
   /** Constant for the domain axis (X). */
   public static final int DOMAIN_AXIS = 0;
+  /** Constant for the domain axis (X). */
+  public static final int X_AXIS = DOMAIN_AXIS;
   /** Constant for the range axis (Y). */
   public static final int RANGE_AXIS  = 1;
+  /** Constant for the range axis (Y). */
+  public static final int Y_AXIS  = RANGE_AXIS;
+  /** Constant for the range axis (Y). */
+  public static final int Y_AXIS_LEFT  = RANGE_AXIS;
   /** Constant for the second range axis (Y). */
   public static final int RANGE_AXIS2 = 2;
+  /** Constant for the second range axis (Y). */
+  public static final int Y_AXIS2 = RANGE_AXIS2;
+  /** Constant for the second range axis (Y). */
+  public static final int Y_AXIS_RIGHT = RANGE_AXIS2;
 
   /**
    * Returns an (unique) ID for the style.



More information about the Schmitzm-commits mailing list