Examples of JinniText


Examples of net.sf.kpex.gui.JinniText

   * @see net.sf.kpex.prolog.FunBuiltin#exec(net.sf.kpex.prolog.Prog)
   */
  @Override
  public int exec(Prog p)
  {
    JinniText T = (JinniText) ((JavaObject) getArg(0)).toObject();
    String content = T.getText();
    return putArg(1, new Const(content), p);
  }
View Full Code Here

Examples of net.sf.kpex.gui.JinniText

   * @see net.sf.kpex.prolog.FunBuiltin#exec(net.sf.kpex.prolog.Prog)
   */
  @Override
  public int exec(Prog p)
  {
    JinniText T = (JinniText) ((JavaObject) getArg(0)).toObject();
    T.setText("");
    return 1;
  }
View Full Code Here

Examples of net.sf.kpex.gui.JinniText

  {
    JinniContainer C = (JinniContainer) ((JavaObject) getArg(0)).toObject();
    String oldText = getArg(1).toUnquoted();
    int rows = (int) ((Int) getArg(2)).getValue();
    int cols = (int) ((Int) getArg(3)).getValue();
    JinniText T = new JinniText(oldText, rows, cols);
    C.add_it(T);
    return putArg(4, new JavaObject(T), p);
  }
View Full Code Here

Examples of net.sf.kpex.gui.JinniText

   * @see net.sf.kpex.prolog.FunBuiltin#exec(net.sf.kpex.prolog.Prog)
   */
  @Override
  public int exec(Prog p)
  {
    JinniText T = (JinniText) ((JavaObject) getArg(0)).toObject();
    String content = getArg(1).toUnquoted();
    T.appendText(content);
    return 1;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.