jbpm-data-modeler-editor-client 6.0.0-SNAPSHOT

org.jbpm.datamodeler.editor.client.editors.widgets.propertyeditor
Class DynamicSelectionCell

java.lang.Object
  extended by com.google.gwt.cell.client.AbstractCell<C>
      extended by com.google.gwt.cell.client.AbstractEditableCell<C,V>
          extended by com.google.gwt.cell.client.AbstractInputCell<String,String>
              extended by org.jbpm.datamodeler.editor.client.editors.widgets.propertyeditor.DynamicSelectionCell
All Implemented Interfaces:
com.google.gwt.cell.client.Cell<String>

public class DynamicSelectionCell
extends com.google.gwt.cell.client.AbstractInputCell<String,String>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell
com.google.gwt.cell.client.Cell.Context
 
Constructor Summary
DynamicSelectionCell()
           
DynamicSelectionCell(List<String> options)
          Construct a new DynamicSelectionCell with the specified options.
 
Method Summary
 void addOption(String newOp)
           
 void onBrowserEvent(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, String value, com.google.gwt.dom.client.NativeEvent event, com.google.gwt.cell.client.ValueUpdater<String> valueUpdater)
           
 void removeOption(String op)
           
 void render(com.google.gwt.cell.client.Cell.Context context, String value, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
           
 void setOptions(List<String> options)
           
 
Methods inherited from class com.google.gwt.cell.client.AbstractInputCell
finishEditing, getInputElement, isEditing, onEnterKeyDown, resetFocus
 
Methods inherited from class com.google.gwt.cell.client.AbstractEditableCell
clearViewData, getViewData, setViewData
 
Methods inherited from class com.google.gwt.cell.client.AbstractCell
dependsOnSelection, getConsumedEvents, handlesSelection, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSelectionCell

public DynamicSelectionCell()

DynamicSelectionCell

public DynamicSelectionCell(List<String> options)
Construct a new DynamicSelectionCell with the specified options.

Parameters:
options - the options in the cell
Method Detail

setOptions

public void setOptions(List<String> options)

addOption

public void addOption(String newOp)

removeOption

public void removeOption(String op)

onBrowserEvent

public void onBrowserEvent(com.google.gwt.cell.client.Cell.Context context,
                           com.google.gwt.dom.client.Element parent,
                           String value,
                           com.google.gwt.dom.client.NativeEvent event,
                           com.google.gwt.cell.client.ValueUpdater<String> valueUpdater)
Specified by:
onBrowserEvent in interface com.google.gwt.cell.client.Cell<String>
Overrides:
onBrowserEvent in class com.google.gwt.cell.client.AbstractInputCell<String,String>

render

public void render(com.google.gwt.cell.client.Cell.Context context,
                   String value,
                   com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
Specified by:
render in interface com.google.gwt.cell.client.Cell<String>
Specified by:
render in class com.google.gwt.cell.client.AbstractCell<String>

jbpm-data-modeler-editor-client 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.