All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.chart.ICoor Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

The newest version!
package com.scudata.chart;

import java.awt.geom.Point2D;

import com.scudata.chart.element.*;

/**
 * ????ϵ?ӿڣ??߼?????ֵ??Ҫ2??ת???????ܵõ?????λ??
 * ?߼????꣺??????80??
 * ??ֵ???꣺?߼?ֵ??Ӧ??????ϵ???????㣬??Point2D??ʾ??
 * 	ֱ??????ϵʱ??xΪ??????x???ϵ?len??yΪ80????y??ij??ȣ?????[120,80]
  *    ??????ϵʱ??rΪ?????ڼ????len??aΪ80???ڽ???ĽǶȣ????磺[145,30??]
 * ??Ļ???꣬Ҳ?????????꣬??ֵ?????Ӧ????Ļ?ϵ?ʵ??????????λ?ã?[240,56]     
 * @author Joancy
 *
 */
public interface ICoor {
	/**
	 * ???ù???????ϵ?Ŀ̶???1
	 * 
	 * @param a ?̶???
	 */
  public void setAxis1(TickAxis a);

	/**
	 * ???ù???????ϵ?Ŀ̶???2
	 * 
	 * @param a ?̶???
	 */
  public void setAxis2(TickAxis a);

/**
 * ??ȡ?̶???1
 * @return ?̶???
 */
  public TickAxis getAxis1();

  /**
   * ??ȡ?̶???2
   * @return ?̶???
   */
  public TickAxis getAxis2();

  /**
   * ??ȡ?????coorPoint?ڸ?????ϵ?µľ???????????
   * @param Point2D numericPoint ????ϵ?µġ???ֵ???꡿??
   * @return Point2D ʵ?????ȵ?????????
   */
  public Point2D getScreenPoint(Point2D numericPoint);
  public Point2D getScreenPoint(Object val1, Object val2);

  /**
   * ??ȡ?߼?ֵval1??val2?ڸ?????ϵ?µ? ????ֵ???꡿???????߼?ֵ[??????80(??)]
   * @param val1 Object ??Ӧ??1???߼????꣬????
   * @param val2 Object ??Ӧ??2???߼????꣬80
   * @return Point ʵ?????ȵ???ֵ????
   */
  public Point2D getNumericPoint(Object val1, Object val2);

  /**
   * ??ȡ??ֵ?ᣬ????еĻ???һ????????ֵ???ö??????ϵ?????ϵʱ
   * @return ??ֵ??
   */
  public NumericAxis getNumericAxis();
  
  /**
   * ??ȡ????ϵ?????ö????
   * @return ö????
   */
  public EnumAxis getEnumAxis();
  
  /**
   * ?жϵ?ǰ????ϵ?Ƿ?Ϊ??????ϵ
   * @return ?Ƿ???true?????򷵻?false
   */
  public boolean isPolarCoor();
  
  /**
   * ?жϵ?ǰ????ϵ?Ƿ?Ϊֱ??????ϵ
   * @return ?Ƿ???true?????򷵻?false
   */
  public boolean isCartesianCoor();
  
	/**
	 * ????ͼԪ???????жϵ?ǰ????ϵ?Ƿ?????һ??ö????
	 * ֻ?д?????ö???????ֵ???ܶѻ?
	 * @return ?Ƿ???true?????򷵻?false
	 */
  public boolean isEnumBased();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy