Examples of removeStyleName()


Examples of com.google.gwt.user.client.ui.HTML.removeStyleName()

                closeButton.setFocus(true);
              }

              public void onSuccess(String result) {
                dialogBox.setText("Remote Procedure Call");
                serverResponseLabel
                    .removeStyleName("serverResponseLabelError");
                serverResponseLabel.setHTML(result);
                dialogBox.center();
                closeButton.setFocus(true);
              }
View Full Code Here

Examples of com.google.gwt.user.client.ui.HTML.removeStyleName()

                closeButton.setFocus(true);
              }

              public void onSuccess(User result) {
                dialogBox.setText("Remote Procedure Call");
                serverResponseLabel
                    .removeStyleName("serverResponseLabelError");
                serverResponseLabel.setHTML(result.getMessage());
                dialogBox.center();
                closeButton.setFocus(true);
              }
View Full Code Here

Examples of com.google.gwt.user.client.ui.HTMLTable.CellFormatter.removeStyleName()

   {
      if (selectedIndex_ != index)
      {
         CellFormatter cf = grid_.getCellFormatter() ;
         if (selectedIndex_ >= 0)
            cf.removeStyleName(selectedIndex_, 0, styles_.selected()) ;
        
         selectedIndex_ = index ;
        
         if (index >= 0)
         {
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink.removeStyleName()

                {
                    currentLink.addStyleName(resources.navigation().selectedNavigationEntry());
                }
                else
                {
                    currentLink.removeStyleName(resources.navigation().selectedNavigationEntry());
                }
            }
        }
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.Label.removeStyleName()

        public void onMouseOut(MouseOutEvent event){
          applicationLabel.setStyleName(manager.appIcon());
          appName.removeStyleName(manager.text());
          httpLabel.removeStyleName(manager.link());
          httpsLabel.removeStyleName(manager.link());
          settingsLabel.removeStyleName(manager.link());
        }
      });
     
      httpLabel.addClickHandler(new ClickHandler() {
        public void onClick(ClickEvent event) {
View Full Code Here

Examples of com.google.gwt.user.client.ui.PushButton.removeStyleName()

      final PushButton btn = new PushButton(icon.createImage());
      btn.setTitle(title);
      btn.addClickHandler(new ClickHandler(){
        public void onClick(ClickEvent event) {
          btn.setFocus(false);
          btn.removeStyleName("gwt-PushButton-up-hovering");
          CommandEvent.fire(command);
        }
      });
      buttons.add(btn);
      return btn;
View Full Code Here

Examples of com.google.gwt.user.client.ui.PushButton.removeStyleName()

      final PushButton btn = new PushButton(icon.createImage());
      btn.setTitle(title);
      btn.addClickHandler(new ClickHandler(){
        public void onClick(ClickEvent event) {
          btn.setFocus(false);
          btn.removeStyleName("gwt-PushButton-up-hovering");
          command.execute();
        }
      });
      buttons.add(btn);
      return btn;
View Full Code Here

Examples of com.google.gwt.user.client.ui.RootPanel.removeStyleName()

        // Remove the v-app-loading or any splash screen added inside the div by
        // the user
        root.getElement().setInnerHTML("");
        // For backwards compatibility with static index pages only.
        // No longer added by AbstractApplicationServlet/Portlet
        root.removeStyleName("v-app-loading");

        root.add(this);

        if (applicationConnection.getConfiguration().isStandalone()) {
            // set focus to iview element by default to listen possible keyboard
View Full Code Here

Examples of com.google.gwt.user.client.ui.RootPanel.removeStyleName()

        // 1 due 0 is at the end of natural tabbing order
        DOM.setElementProperty(getElement(), "tabIndex", "1");

        RootPanel root = RootPanel.get(rootPanelId);
        root.add(this);
        root.removeStyleName("v-app-loading");

        BrowserInfo browser = BrowserInfo.get();

        // set focus to iview element by default to listen possible keyboard
        // shortcuts
View Full Code Here

Examples of com.google.gwt.user.client.ui.TextBox.removeStyleName()

    namingDepthTextBox.addChangeListener(new ChangeListener() {
      public void onChange(Widget sender) {
        try {
          SettingsDialog.namingDepthLevel =
            Integer.parseInt(namingDepthTextBox.getText());
          namingDepthTextBox.removeStyleName("restDescribe-error");
          if (SettingsDialog.namingDepthLevel == 0) {
            namingDepthTextBox.setStyleName("restDescribe-error");
          }
        } catch (NumberFormatException e) {   
          namingDepthTextBox.setStyleName("restDescribe-error");
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.