Package net.sf.kpex.prolog

Examples of net.sf.kpex.prolog.JavaObject


    Container C = (Container) ((JavaObject) getArg(0)).toObject();

    String name = getArg(1).toUnquoted();
    Label L = new Label(name);
    L.setAlignment(Label.CENTER);
    return putArg(2, new JavaObject(C.add(L)), p);
  }
View Full Code Here


    }
    int R = (int) (r * 255.0);
    int G = (int) (g * 255.0);
    int B = (int) (b * 255.0);
    Color C = new Color(R, G, B);
    Term ColorTerm = new JavaObject(C);
    return putArg(3, ColorTerm, p);
  }
View Full Code Here

TOP

Related Classes of net.sf.kpex.prolog.JavaObject

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.