Examples of printEnclosed()


Examples of net.sf.apptools.utils.HTMLWriter.printEnclosed()

        catch (ClusterException e) {
          threePrime = null;
        }


        hw.printEnclosed(p.getName(), HTMLWriter.H4);
        hw.println(Messages.getString("HTMLOutputFormat.ID") + p.getID()); //$NON-NLS-1$
        String seqstr = p.seqString();
        //String seq = "";
        int index = 0;
        int width = 60;
View Full Code Here

Examples of net.sf.apptools.utils.HTMLWriter.printEnclosed()

        String seqstr = p.seqString();
        //String seq = "";
        int index = 0;
        int width = 60;
        while (index <= seqstr.length() - width) {
          hw.printEnclosed(seqstr.substring(index, index += width), HTMLWriter.TT);
        }
        hw.printEnclosed(seqstr.substring(index), HTMLWriter.TT);
        hw.printTag(HTMLWriter.BR);
        hw.println(p.getTarget() == null ? Messages.getString("HTMLOutputFormat.NO_TARGET") : //$NON-NLS-1$
          Messages.getString("HTMLOutputFormat.TARGET") + p.getTarget().getID()); //$NON-NLS-1$
View Full Code Here

Examples of net.sf.apptools.utils.HTMLWriter.printEnclosed()

        int index = 0;
        int width = 60;
        while (index <= seqstr.length() - width) {
          hw.printEnclosed(seqstr.substring(index, index += width), HTMLWriter.TT);
        }
        hw.printEnclosed(seqstr.substring(index), HTMLWriter.TT);
        hw.printTag(HTMLWriter.BR);
        hw.println(p.getTarget() == null ? Messages.getString("HTMLOutputFormat.NO_TARGET") : //$NON-NLS-1$
          Messages.getString("HTMLOutputFormat.TARGET") + p.getTarget().getID()); //$NON-NLS-1$
        hw.printEnclosed(Messages.getString("HTMLOutputFormat.BLOCKS"), HTMLWriter.H5); //$NON-NLS-1$
        for (int i = 1; i <= p.getSequenceCount(); i++) {
View Full Code Here

Examples of net.sf.apptools.utils.HTMLWriter.printEnclosed()

        }
        hw.printEnclosed(seqstr.substring(index), HTMLWriter.TT);
        hw.printTag(HTMLWriter.BR);
        hw.println(p.getTarget() == null ? Messages.getString("HTMLOutputFormat.NO_TARGET") : //$NON-NLS-1$
          Messages.getString("HTMLOutputFormat.TARGET") + p.getTarget().getID()); //$NON-NLS-1$
        hw.printEnclosed(Messages.getString("HTMLOutputFormat.BLOCKS"), HTMLWriter.H5); //$NON-NLS-1$
        for (int i = 1; i <= p.getSequenceCount(); i++) {
          hw.println(p.getSequence(i).getID() + ": " + //$NON-NLS-1$
              p.getSequence(i).seqString());
        }
        hw.println(Messages.getString("HTMLOutputFormat.HYB_TEMPS_5") + //$NON-NLS-1$
View Full Code Here

Examples of net.sf.apptools.utils.HTMLWriter.printEnclosed()

        hw.println(Messages.getString("HTMLOutputFormat.HYB_TEMPS_5") + //$NON-NLS-1$
            tempFormat.format(fivePrime == null ? 0 : ProbeMakerPropertyUtils.getHybridizationTemp(fivePrime)) +
            Messages.getString("HTMLOutputFormat.HYB_TEMPS_3") + //$NON-NLS-1$
            tempFormat.format(threePrime == null ? 0 : ProbeMakerPropertyUtils.getHybridizationTemp(threePrime)));

        hw.printEnclosed(Messages.getString("HTMLOutputFormat.MESSAGES"), HTMLWriter.H5); //$NON-NLS-1$
        hw.printTag(HTMLWriter.UL);
        for (Iterator i = ProbeMakerPropertyUtils.getAllMessages(p).iterator(); i.hasNext(); ) {
          hw.printEnclosed(i.next().toString(), HTMLWriter.LI);
        }
        hw.printEndTag(HTMLWriter.UL);
View Full Code Here

Examples of net.sf.apptools.utils.HTMLWriter.printEnclosed()

            tempFormat.format(threePrime == null ? 0 : ProbeMakerPropertyUtils.getHybridizationTemp(threePrime)));

        hw.printEnclosed(Messages.getString("HTMLOutputFormat.MESSAGES"), HTMLWriter.H5); //$NON-NLS-1$
        hw.printTag(HTMLWriter.UL);
        for (Iterator i = ProbeMakerPropertyUtils.getAllMessages(p).iterator(); i.hasNext(); ) {
          hw.printEnclosed(i.next().toString(), HTMLWriter.LI);
        }
        hw.printEndTag(HTMLWriter.UL);
      }
      else {
        throw new IllegalArgumentException("Output sequence is not a Probe object"); //$NON-NLS-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.