Package org.resmedicinae.resmedlib.term

Examples of org.resmedicinae.resmedlib.term.String


            /** Menu File ************************************** */
            if (c.matches(ReForm.PRINT_CONTROL_ID)) {
                //        new PrinterTest();
                //    AbstractApplicationController ac = model.getFormularController();
                String jobName = "Empty Script";
                if ((model.getCurrentHealthRecord().getFirstName() != null) ||
                        (model.getCurrentHealthRecord().getName() != null)) {
                    jobName = "Script for ";
                    if (model.getCurrentHealthRecord().getFirstName() != null)
                        jobName += model.getCurrentHealthRecord().getFirstName() + " ";
                    if (model.getCurrentHealthRecord().getName() != null)
                        jobName += model.getCurrentHealthRecord().getName();
                }
                PrintSuit.printComponent((SwingView) model.getActualFormularController().getView(), jobName, false);
                //    PrintSuit.printComponent(model.getGraphicToPrint(),ac.getName());
            } else if (c.matches(ReForm.PRINT_SETUP_CONTROL_ID)) {
                try {
                    // Get a PrinterJob
                    //    AbstractApplicationController ac = model.getFormularController();
                    String jobName = "Empty Script";
                    if ((model.getCurrentHealthRecord().getFirstName() != null) ||
                            (model.getCurrentHealthRecord().getName() != null)) {
                        jobName = "Script for ";
                        if (model.getCurrentHealthRecord().getFirstName() != null)
                            jobName += model.getCurrentHealthRecord().getFirstName() + " ";
View Full Code Here


     * @return the name
     * @exception NullPointerException if the name is null
     */
    public String createName() throws Exception, NullPointerException {

        String n = new String();
       
        if (n != null) {
           
            n.initialize();
            n.setJavaObject("Res Medicinae");

        } else {

            throw new NullPointerException("Could not create name. The name is null.");
        }
View Full Code Here

     * @return the version
     * @exception NullPointerException if the version is null
     */
    public String createVersion() throws Exception, NullPointerException {

        String v = new String();

        if (v != null) {
           
            v.initialize();
            v.setJavaObject("0.0.4.0");

        } else {

            throw new NullPointerException("Could not create version. The version is null.");
        }
View Full Code Here

     * @return the date
     * @exception NullPointerException if the date is null
     */
    public String createDate() throws Exception, NullPointerException {

        String d = new String();
       
        if (d != null) {

            d.initialize();
            d.setJavaObject("30.09.2002");

        } else {

            throw new NullPointerException("Could not create date. The date is null.");
        }
View Full Code Here

     * @return the slogan
     * @exception NullPointerException if the slogan is null
     */
    public String createSlogan() throws Exception, NullPointerException {

        String s = new String();
       
        if (s != null) {
           
            s.initialize();
            s.setJavaObject("- Information in Medicine -");

        } else {

            throw new NullPointerException("Could not create slogan. The slogan is null.");
        }
View Full Code Here

     * @return the logo
     * @exception NullPointerException if the logo is null
     */
    public String createLogo() throws Exception, NullPointerException {

        String l = new String();
       
        if (l != null) {
           
            l.initialize();

        } else {

            throw new NullPointerException("Could not create logo. The logo is null.");
        }
View Full Code Here

     * @return the copyright
     * @exception NullPointerException if the copyright is null
     */
    public String createCopyright() throws Exception, NullPointerException {

        String c = new String();
       
        if (c != null) {
           
            c.initialize();
            c.setJavaObject("Copyright (c) 1999-2002. The Res Medicinae developers. All rights reserved.");

        } else {

            throw new NullPointerException("Could not create copyright. The copyright is null.");
        }
View Full Code Here

     * @return the contact
     * @exception NullPointerException if the contact is null
     */
    public String createContact() throws Exception, NullPointerException {

        String c = new String();
       
        if (c != null) {

            c.initialize();
            c.setJavaObject("http://www.resmedicinae.org");

        } else {

            throw new NullPointerException("Could not create contact. The contact is null.");
        }
View Full Code Here

     * @return the description
     * @exception NullPointerException if the description is null
     */
    public String createDescription() throws Exception, NullPointerException {

        String d = new String();
       
        if (d != null) {

            d.initialize();
            d.setJavaObject("Free Medical Information System");

        } else {

            throw new NullPointerException("Could not create description. The description is null.");
        }
View Full Code Here

     * @return the authors
     * @exception NullPointerException if the authors is null
     */
    public String createAuthors() throws Exception, NullPointerException {

        String a = new String();
       
        if (a != null) {

            a.initialize();
            a.setJavaObject("Unspecified Authors.\n"
                + "Try to contact these project administrators:\n\n"
                + "Christian Heller\n<christian.heller@tuxtax.de>\n\n"
                + "Karsten Hilbert\n<karsten.hilbert@gmx.net>");

        } else {
View Full Code Here

TOP

Related Classes of org.resmedicinae.resmedlib.term.String

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.