Tabnine Logo
Input.setAttribute
Code IndexAdd Tabnine to your IDE (free)

How to use
setAttribute
method
in
org.jboss.errai.common.client.dom.Input

Best Java code snippets using org.jboss.errai.common.client.dom.Input.setAttribute (Showing top 11 results out of 315)

origin: org.uberfire/uberfire-widgets-commons

@Override
public void setSearchHint(String text) {
  searchInput.setAttribute("placeholder",
               text);
}
origin: kiegroup/appformer

@Override
public void setSearchHint(String text) {
  searchInput.setAttribute("placeholder",
               text);
}
origin: org.kie.workbench.screens/kie-wb-common-library-client

@Override
public void init(final PopulatedLibraryScreen presenter) {
  this.presenter = presenter;
  filterText.setAttribute("placeholder",
              ts.getTranslation(LibraryConstants.Search));
}
origin: org.kie.workbench.screens/kie-wb-common-library-client

@Override
public void init(final ImportPresenter presenter) {
  this.presenter = presenter;
  filterText.setAttribute("placeholder",
              ts.getTranslation(LibraryConstants.Search));
}
origin: org.drools/drools-wb-guided-dtable-editor-client

@PostConstruct
public void initPopovers() {
  header.setAttribute("type",
            "textbox");
  header.setAttribute("data-toggle",
            "popover");
  header.setAttribute("class",
            "form-control");
  hideColumn.setAttribute("type",
              "checkbox");
  hideColumn.setAttribute("data-toggle",
              "popover");
  hideColumn.setAttribute("class",
              "form-control");
  logicallyInsert.setAttribute("type",
                 "checkbox");
  logicallyInsert.setAttribute("data-toggle",
                 "popover");
  logicallyInsert.setAttribute("class",
                 "form-control");
  updateEngineWithChanges.setAttribute("type",
                     "checkbox");
  updateEngineWithChanges.setAttribute("data-toggle",
                     "popover");
  updateEngineWithChanges.setAttribute("class",
                     "form-control");
origin: kiegroup/drools-wb

@PostConstruct
public void initPopovers() {
  header.setAttribute("type",
            "textbox");
  header.setAttribute("data-toggle",
            "popover");
  header.setAttribute("class",
            "form-control");
  hideColumn.setAttribute("type",
              "checkbox");
  hideColumn.setAttribute("data-toggle",
              "popover");
  hideColumn.setAttribute("class",
              "form-control");
  logicallyInsert.setAttribute("type",
                 "checkbox");
  logicallyInsert.setAttribute("data-toggle",
                 "popover");
  logicallyInsert.setAttribute("class",
                 "form-control");
  updateEngineWithChanges.setAttribute("type",
                     "checkbox");
  updateEngineWithChanges.setAttribute("data-toggle",
                     "popover");
  updateEngineWithChanges.setAttribute("class",
                     "form-control");
origin: org.kie.workbench.screens/kie-wb-common-library-client

@Override
public void init(final ContributorsListPresenter presenter) {
  this.presenter = presenter;
  filterText.setAttribute("placeholder",
              ts.getTranslation(LibraryConstants.Search));
  addContributor.setHidden(!presenter.canEditContributors(ContributorType.CONTRIBUTOR));
}
origin: kiegroup/drools-wb

@Test
public void testInitPopovers() throws Exception {
  view.initPopovers();
  verify(input, times(1)).setAttribute("type", "textbox");
  verify(input, times(4)).setAttribute("class", "form-control");
  verify(input, times(3)).setAttribute("type", "checkbox");
  verify(input, times(4)).setAttribute("data-toggle", "popover");
  verify(popoverUtils).setupAndRegisterPopover(eq(input), eq(HEADER_TRANSLATION));
  verify(popoverUtils).setupAndRegisterPopover(eq(input), eq(HIDE_TRANSLATION));
  verify(popoverUtils).setupAndRegisterPopover(eq(input), eq(UPDATE_ENGINE_TRANSLATION));
  verify(popoverUtils).setupAndRegisterPopover(eq(input), eq(LOGICALLY_INSERT_TRANSLATION));
}
origin: kiegroup/jbpm-wb

@Override
public void addNumericFilter(final String label,
               final String placeholder,
               final Consumer<ActiveFilterItem<Integer>> callback) {
  createFilterOption(label);
  createNumberInput(label,
           placeholder,
           refineSelect.getOptions().getLength() > 1,
        input -> {
          input.setType("number");
          input.setAttribute("min",
                    "0");
        },
        v -> Integer.valueOf(v),
           callback);
}
origin: kiegroup/jbpm-wb

                    final Consumer<ActiveFilterItem<T>> callback) {
customizeCallback.accept(input);
input.setAttribute("placeholder",
          placeholder);
input.setAttribute("data-filter",
          label);
addCSSClass(input,
origin: kiegroup/jbpm-wb

input.setType("checkbox");
input.setValue(entry.getKey());
input.setAttribute("data-label",
          entry.getValue());
input.addEventListener("change",
org.jboss.errai.common.client.domInputsetAttribute

Popular methods of Input

  • setValue
  • getValue
  • focus
  • getChecked
  • setChecked
  • addEventListener
  • blur
  • getAttribute
  • getClassList
  • getOnkeypress
  • setClassName
  • setOnclick
  • setClassName,
  • setOnclick,
  • setOnkeypress,
  • setType

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • JLabel (javax.swing)
  • JTable (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now