Package org.onebusaway.webapp.gwt.viewkit.resources

Examples of org.onebusaway.webapp.gwt.viewkit.resources.ViewKitResources


    button.setText(0, 1, text);
    return button;
  }

  private Grid createButton(EBarButtonSystemItem systemItem) {
    ViewKitResources resources = ViewKitResources.INSTANCE;
    ImageResource r = null;
    switch (systemItem) {
      case CROSS_HAIRS:
        r = resources.BarButtonSystemCrossHairsImage();
        break;
      case REFRESH:
      default:
        r = resources.BarButtonSystemRefreshImage();
        break;
    }
    Image image = new Image(r.getURL(), r.getLeft(), r.getTop(), r.getWidth(),
        r.getHeight());
    Grid button = createButton();
View Full Code Here

TOP

Related Classes of org.onebusaway.webapp.gwt.viewkit.resources.ViewKitResources

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.