Package net.sf.kpex.gui

Examples of net.sf.kpex.gui.JinniCanvas


   */
  @Override
  public int exec(Prog p)
  {
    JinniContainer C = (JinniContainer) ((JavaObject) getArg(0)).toObject();
    JinniCanvas P = new JinniCanvas();
    C.add_it(P);
    JavaObject JP = new JavaObject(P);
    return putArg(1, JP, p);
  }
View Full Code Here


   * @see net.sf.kpex.prolog.FunBuiltin#exec(net.sf.kpex.prolog.Prog)
   */
  @Override
  public int exec(Prog p)
  {
    JinniCanvas C = (JinniCanvas) ((JavaObject) getArg(0)).toObject();
    Fun D = (Fun) getArg(1);
    C.to_draw(D);
    return 1;
  }
View Full Code Here

   * @see net.sf.kpex.prolog.FunBuiltin#exec(net.sf.kpex.prolog.Prog)
   */
  @Override
  public int exec(Prog p)
  {
    JinniCanvas component = (JinniCanvas) ((JavaObject) getArg(0)).toObject();
    Color color = (Color) ((JavaObject) getArg(1)).toObject();
    component.setColor(color);
    return 1;
  }
View Full Code Here

TOP

Related Classes of net.sf.kpex.gui.JinniCanvas

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.