Package org.gwt.mosaic.core.client.util

Examples of org.gwt.mosaic.core.client.util.DefaultUnitConverter


  // Unit converter API ----------------------------------------------------

  public UnitConverter getUnitConverter() {
    if (unitConverter == null) {
      final DefaultUnitConverter unitConverter = DefaultUnitConverter.getInstance();
      unitConverter.setFontSize(toPixelSize("1em", true));
      unitConverter.setXHeight(toPixelSize("1ex", true));
      this.unitConverter = unitConverter;
    }
    return unitConverter;
  }
View Full Code Here

TOP

Related Classes of org.gwt.mosaic.core.client.util.DefaultUnitConverter

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.