Tabnine Logo
SelectionCell.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.google.gwt.cell.client.SelectionCell
constructor

Best Java code snippets using com.google.gwt.cell.client.SelectionCell.<init> (Showing top 8 results out of 315)

origin: oVirt/ovirt-engine

private void setOptions(List<String> allowedValues) {
  delegate = new SelectionCell(allowedValues);
}
origin: oVirt/ovirt-engine

public ListModelListBoxCell(final Renderer<T> renderer) {
  this.renderer = renderer;
  delegate = new SelectionCell(new ArrayList<String>()); // just to avoid null pointer in setSelection()
}
origin: oVirt/ovirt-engine

public GlusterConfigAwareCell() {
  super(BrowserEvents.CHANGE);
  delegate = new SelectionCell(new ArrayList<String>());
  textInputCell = new TextInputCell();
}
origin: org.jbpm/jbpm-console-ng-workbench-integration-client

private Column<ItemObjectModel, String> setUpResolverColumn() {
  ArrayList<String> options = new ArrayList<String>();
  options.add( "----" );
  options.add( ItemObjectModel.REFLECTION_RESOLVER );
  options.add( ItemObjectModel.MVEL_RESOLVER );
  Column<ItemObjectModel, String> column = new Column<ItemObjectModel, String>( new SelectionCell( options ) ) {
    @Override
    public String getValue( ItemObjectModel input ) {
      if ( input.getResolver() == null ) {
        return "----";
      } else {
        return input.getResolver();
      }
    }
  };
  column.setFieldUpdater( new FieldUpdater<ItemObjectModel, String>() {
    @Override
    public void update( int index,
              ItemObjectModel model,
              String value ) {
      model.setResolver( value );
    }
  } );
  return column;
}
origin: oVirt/ovirt-engine

@SuppressWarnings("unchecked")
private void setOptions(ListModel model) {
  Iterable<T> items = model.getItems();
  if (items == null) {
    items = new ArrayList<>();
  }
  entityByName = new HashMap<>();
  List<String> options = new ArrayList<>();
  for (T entity : items) {
    String entityName = renderer.render(entity);
    entityByName.put(entityName, entity);
    options.add(entityName);
  }
  delegate = new SelectionCell(options);
}
origin: org.kie.workbench.forms/kie-wb-common-dynamic-forms-client

values.add(noLiteral);
Column<TableEntry<Boolean>, String> column = new Column<TableEntry<Boolean>, String>(new SelectionCell(values)) {
  @Override
  public String getValue(TableEntry<Boolean> model) {
origin: org.opennms.features/org.opennms.features.gwt-snmpselect-list

collectList.add("Default");
SelectionCell collectSelection = new SelectionCell(collectList);
origin: org.jresearch.logui/org.jresearch.logui.gwt.core

final SelectionCell levelCell = new SelectionCell(levels);
final Column<LogUiLogger, String> colLevel = new Column<LogUiLogger, String>(levelCell) {
  @Override
com.google.gwt.cell.clientSelectionCell<init>

Javadoc

Construct a new SelectionCell with the specified options.

Popular methods of SelectionCell

  • clearViewData
  • finishEditing
  • getSelectedIndex
  • getViewData
  • setViewData
  • onBrowserEvent
  • render

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Path (java.nio.file)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ plugins
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