Package com.data2semantics.yasgui.shared.exceptions

Examples of com.data2semantics.yasgui.shared.exceptions.ElementIdException


    return empty;
  }

  public static void drawTooltip(TooltipProperties tProp) throws ElementIdException {
    if (tProp.getId() == null || tProp.getId().length() == 0) {
      throw new ElementIdException("No Id provided to draw tooltip for");
    }
    if (!JsMethods.elementExists(tProp.getId())) {
      throw new ElementIdException("id '" + tProp.getId() + "' not found on page. Unable to draw tooltip");
    }
    JsMethods.drawTooltip(tProp.getId(), tProp.getTitle(), tProp.getText(), tProp.getMy(), tProp.getAt(), tProp.getXOffset(), tProp.getYOffset());
  }
View Full Code Here

TOP

Related Classes of com.data2semantics.yasgui.shared.exceptions.ElementIdException

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.