public class EditorData extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EditorData.Builder
Used to construct EditorData objects.
|
Modifier and Type | Method and Description |
---|---|
String |
getBeanOwnerExpression() |
String |
getBeanOwnerGuard(String ownerExpression) |
EditorData |
getComposedData() |
String |
getDeclaredPath()
Gets the path specified by the
@Path annotation or inferred via
convention. |
com.google.gwt.core.ext.typeinfo.JClassType |
getEditedType() |
com.google.gwt.core.ext.typeinfo.JClassType |
getEditorType() |
String |
getExpression()
Returns a complete expression to retrieve the editor.
|
String |
getGetterExpression()
Returns an expression, relative to an instance of the parent object being
edited, to retrieve the value to pass into the editor.
|
String |
getPath()
Returns the complete path of the editor, relative to the root object.
|
String |
getPropertyName() |
com.google.gwt.core.ext.typeinfo.JClassType |
getPropertyOwnerType()
Mainly useful for nested properties where there may not be an editor for
the enclosing instance (e.g.
|
String |
getSetterName() |
String |
getSimpleExpression()
Returns an expression relative to the enclosing Editor to retrieve the
editor.
|
boolean |
isCompositeEditor()
Indicates if the Editor is a {@link ComposedEditor .
|
boolean |
isDeclaredPathNested()
Returns
true if the editor "reaches through" an interstitial
property. |
boolean |
isDelegateRequired()
Returns
true |
boolean |
isLeafValueEditor()
Indicates if the Editor extends
LeafValueEditor . |
boolean |
isValueAwareEditor()
Indicates if the Editor extends
ValueAwareEditor . |
String |
toString()
For debugging use only.
|
public String getBeanOwnerExpression()
public EditorData getComposedData()
public String getDeclaredPath()
@Path
annotation or inferred via
convention.public com.google.gwt.core.ext.typeinfo.JClassType getEditedType()
public com.google.gwt.core.ext.typeinfo.JClassType getEditorType()
public String getExpression()
public String getGetterExpression()
public String getPath()
public String getPropertyName()
public com.google.gwt.core.ext.typeinfo.JClassType getPropertyOwnerType()
person.manager.name
).public String getSetterName()
public String getSimpleExpression()
public boolean isCompositeEditor()
public boolean isDeclaredPathNested()
true
if the editor "reaches through" an interstitial
property.public boolean isDelegateRequired()
true if the editor requires an EditorDelegate.
public boolean isLeafValueEditor()
LeafValueEditor
.public boolean isValueAwareEditor()
ValueAwareEditor
.Copyright © 2016. All rights reserved.