Examples of ValueLabel


Examples of org.molgenis.util.ValueLabel

    }
  }

  public void addOption(Object value, Object label)
  {
    this.getOptions().add(new ValueLabel(value.toString(), label.toString()));
  }
View Full Code Here

Examples of org.molgenis.util.ValueLabel

  public void setOptions(String... choices)
  {
    List<ValueLabel> choicePairs = new ArrayList<ValueLabel>();
    for (String choice : choices)
    {
      choicePairs.add(new ValueLabel(choice, choice));
    }
    this.setOptions(choicePairs);
  }
View Full Code Here

Examples of tripleplay.ui.ValueLabel

        return iface;
    }

    protected Group sliderAndLabel (Slider slider, String minText) {
        ValueLabel label = new ValueLabel(slider.value.map(FORMATTER)).
            setStyles(Style.HALIGN.right, Style.FONT.is(FIXED)).
            setConstraint(Constraints.minSize(minText));
        return new Group(AxisLayout.horizontal()).add(slider, label);
    }
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.