Examples of PlaceholderTextBox


Examples of com.google.api.explorer.client.widgets.PlaceholderTextBox

      AnalyticsManager analytics, SuggestOracle searchKeywords) {

    this.analytics = analytics;
    this.presenter = new FullViewPresenter(urlManipulator, this);
    this.authManager = authManager;
    PlaceholderTextBox searchBackingTextBox =
        new PlaceholderTextBox("Search for services, methods, and recent requests...");
    this.searchBox = new SuggestBox(searchKeywords, searchBackingTextBox);

    searchBox.setAutoSelectEnabled(false);
    initWidget(uiBinder.createAndBindUi(this));
    setMenuActions();

    // Add a fixed css class name that I can use to be able to style the menu.
    settingsMenu.setStyleName(SETTINGS_MENU_CSS_RULE + " " + settingsMenu.getStyleName());

    // Set the style of the search box.
    searchBackingTextBox.setPlaceholderTextStyleName(style.searchPlaceholderText());
  }
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.