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

com.scudata.chart.IElement 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.*;
import java.util.ArrayList;

import com.scudata.chart.edit.*;

/**
 * ͼԪ?ӿڣ?ͼԪ?еIJ???ֻ???????????ͣ?
 * 1??????????(int,float,double,boolean,String)
 * 2??????????(Param)
 * ??????Ϊ????????Paramʱ??Ϊ?????????д????????????null??ʼֵ????Ӧ????? new Param(null)
 */
public interface IElement {
  /**
   * ?г?ͼԪ?IJ?????Ϣ?б????ṩ???༭??ʹ??
   * @return ArrayList??ÿ????Ա??ΪParamInfo????
   */
  public ParamInfoList getParamInfoList();

  /**
   * ͼ??Ԫ???Ƿ?ɼ?
   * @return ?Ƿ???true?????򷵻?false
   */
  public boolean isVisible();
  
  /**
   * ͼԪ???ػ?ǰ??ֵ??ʼ???????ڳ?ʼ??ֵ??ͼԪ?????????Ⱥ????ã?????Ҫ?ȳ?ʼ?????ٿ?ʼ??ͼ
   * ??ͼ????????ε???ÿ????ͼԪ?ص?beforeDraw, drawBack,draw, drawFore
   */
  public void beforeDraw();

  /**
   * ???Ʊ?????,ע???ڱ?????Ӧ???????е????ɫ????Ӱ?ȣ??Ų??Ḳ?Ǻ????IJ㡣?ò㲻?ܻ??߼?????
   */
  public void drawBack();

  /**
   * ?????м?㣬?м?????ͼ?ε????ɫ
   */
  public void draw(); 

  /**
   *  ????ǰ???㣬ǰ???????ͼ?εı??ߣ??Լ????ֵ?
   */
  public void drawFore();

  /**
   *  ȡͼԪ?ı߽???״????????Ӧ????¼?
   * @return ?߽???״?б?
   */
  public ArrayList getShapes();
  
  /**
   *  ȡͼԪ?ı߽???״????Ӧ??????
   * @return ???????б?
   */
  public ArrayList getLinks();

  /**
   * ???û?ͼ???棬??ͼ?????൱?ڴ?ܼң???ͼԪ?ؿ???ͨ???????ȡ??????Ԫ?ص???Ӧ??Ϣ
   * @param e ??ͼ????
   */
  public void setEngine( Engine e );
  
/**
 * ??ȡ??ͼ????
 * @return ??ͼ????
 */
  public Engine getEngine();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy