Package org.moltools.design.data

Examples of org.moltools.design.data.Target


  public TargetInfoTextTablePOF() {
    super(
        new SequenceWriter<T>() {
          public void writeSequence(PrintWriter ps, T p) {

            Target t = p.getTarget();
            String[] record = new String[] {
                p.getName(),
                String.valueOf(((Sequence) t).length()),
                p.seqString(),
                ((Sequence) t).seqString()               
View Full Code Here


  public TableCellEditor getCellEditor(int row, int col) {
    if (col == 1) {
      return new DefaultCellEditor(new TargetTextField());
    }
    else if (col == 2) {
      Target t = (Target) dataModel.getSequenceAt(row);
      if (t instanceof VariantTarget) {
        Object[] variants = new Object[0];
        try {
          variants = ((VariantTarget) t).getVariants();
          if (variants != null) {
View Full Code Here

    super(
        new SequenceWriter<T>() {
          public void writeSequence(PrintWriter ps, T p) {

            List<String> record = new ArrayList<String>();
            Target t = p.getTarget();
            record.add(p.getID());
            record.add(p.getName());
            record.add(p.seqString());
            for (Sequence s : p.getSequences()) {
              record.add(s.getID());
View Full Code Here

TOP

Related Classes of org.moltools.design.data.Target

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.