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

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

java.lang.Object
  extended by com.google.gwt.cell.client.AbstractCell<C>
      extended by com.google.gwt.cell.client.AbstractEditableCell<PropertyEditorValue,PropertyEditorValue>
          extended by org.jbpm.datamodeler.editor.client.editors.widgets.propertyeditor.PropertyEditorCell
All Implemented Interfaces:
com.google.gwt.cell.client.Cell<PropertyEditorValue>, EventListener, PropertyEditorListener

public class PropertyEditorCell
extends com.google.gwt.cell.client.AbstractEditableCell<PropertyEditorValue,PropertyEditorValue>
implements PropertyEditorListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell
com.google.gwt.cell.client.Cell.Context
 
Constructor Summary
PropertyEditorCell(com.google.gwt.user.cellview.client.CellTable cellTable, PropertyEditorConfig config)
           
 
Method Summary
 boolean doBeforePropertyChange(PropertyEditor source, String propertyName, Object pendingValue, Object currentValue, List<PropertyChangeError> errors)
           
 Set<String> getConsumedEvents()
           
 boolean isEditing(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, PropertyEditorValue value)
           
 void onBrowserEvent(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, PropertyEditorValue value, com.google.gwt.dom.client.NativeEvent event, com.google.gwt.cell.client.ValueUpdater<PropertyEditorValue> propertyEditorValueValueUpdater)
           
 void onPropertyChange(PropertyEditor source, String propertyName, Object newValue, Object currentValue)
           
 void render(com.google.gwt.cell.client.Cell.Context context, PropertyEditorValue value, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
           
 boolean resetFocus(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, PropertyEditorValue value)
           
 void setValue(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, PropertyEditorValue value)
           
 
Methods inherited from class com.google.gwt.cell.client.AbstractEditableCell
clearViewData, getViewData, setViewData
 
Methods inherited from class com.google.gwt.cell.client.AbstractCell
dependsOnSelection, handlesSelection, onEnterKeyDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEditorCell

public PropertyEditorCell(com.google.gwt.user.cellview.client.CellTable cellTable,
                          PropertyEditorConfig config)
Method Detail

getConsumedEvents

public Set<String> getConsumedEvents()
Specified by:
getConsumedEvents in interface com.google.gwt.cell.client.Cell<PropertyEditorValue>
Overrides:
getConsumedEvents in class com.google.gwt.cell.client.AbstractCell<PropertyEditorValue>

isEditing

public boolean isEditing(com.google.gwt.cell.client.Cell.Context context,
                         com.google.gwt.dom.client.Element parent,
                         PropertyEditorValue value)
Specified by:
isEditing in interface com.google.gwt.cell.client.Cell<PropertyEditorValue>
Specified by:
isEditing in class com.google.gwt.cell.client.AbstractEditableCell<PropertyEditorValue,PropertyEditorValue>

render

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

onBrowserEvent

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

resetFocus

public boolean resetFocus(com.google.gwt.cell.client.Cell.Context context,
                          com.google.gwt.dom.client.Element parent,
                          PropertyEditorValue value)
Specified by:
resetFocus in interface com.google.gwt.cell.client.Cell<PropertyEditorValue>
Overrides:
resetFocus in class com.google.gwt.cell.client.AbstractCell<PropertyEditorValue>

setValue

public void setValue(com.google.gwt.cell.client.Cell.Context context,
                     com.google.gwt.dom.client.Element parent,
                     PropertyEditorValue value)
Specified by:
setValue in interface com.google.gwt.cell.client.Cell<PropertyEditorValue>
Overrides:
setValue in class com.google.gwt.cell.client.AbstractCell<PropertyEditorValue>

doBeforePropertyChange

public boolean doBeforePropertyChange(PropertyEditor source,
                                      String propertyName,
                                      Object pendingValue,
                                      Object currentValue,
                                      List<PropertyChangeError> errors)
Specified by:
doBeforePropertyChange in interface PropertyEditorListener

onPropertyChange

public void onPropertyChange(PropertyEditor source,
                             String propertyName,
                             Object newValue,
                             Object currentValue)
Specified by:
onPropertyChange in interface PropertyEditorListener

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

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