Codota Logo
SelectionCell.<init>
Code IndexAdd Codota 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)

  • Common ways to obtain SelectionCell
private void myMethod () {
SelectionCell s =
  • Codota IconList options;new SelectionCell(options)
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • BoxLayout (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now