public abstract class

SimpleBeanEditorDelegate

extends AbstractEditorDelegate<T, E extends Editor<T>>
java.lang.Object
   ↳ com.google.gwt.editor.client.impl.AbstractEditorDelegate<T, E extends com.google.gwt.editor.client.Editor<T>>
     ↳ com.google.gwt.editor.client.impl.SimpleBeanEditorDelegate<T, E extends com.google.gwt.editor.client.Editor<T>>

Class Overview

A limited EditorDelegate for editing standard bean-like objects.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.editor.client.impl.AbstractEditorDelegate
Public Constructors
SimpleBeanEditorDelegate()
Public Methods
void initialize(String pathSoFar, T object, E editor, DelegateMap map)
HandlerRegistration subscribe()
Register for notifications if object being edited is updated.
Protected Methods
<R, S extends Editor<R>> void initializeSubDelegate(AbstractEditorDelegate<R, S> subDelegate, String path, R object, S subEditor, DelegateMap map)
Initialize a sub-delegate returned from createComposedDelegate().
[Expand]
Inherited Methods
From class com.google.gwt.editor.client.impl.AbstractEditorDelegate
From class java.lang.Object
From interface com.google.gwt.editor.client.EditorDelegate

Public Constructors

public SimpleBeanEditorDelegate ()

Public Methods

public void initialize (String pathSoFar, T object, E editor, DelegateMap map)

public HandlerRegistration subscribe ()

Register for notifications if object being edited is updated. Not all backends support subscriptions and will return null.

The notification will occur via onPropertyChange(String...) if the backend supports in-place property updates, otherwise updates will be passed via setValue(T).

Returns
  • a HandlerRegistration to unsubscribe from the notifications or null if the delegate does not support subscription

Protected Methods

protected void initializeSubDelegate (AbstractEditorDelegate<R, S> subDelegate, String path, R object, S subEditor, DelegateMap map)

Initialize a sub-delegate returned from createComposedDelegate().