public class DiscoverTreeSettings extends DataClass
Tree.discoverTree()factoryCreated, factoryProperties| Constructor and Description |
|---|
DiscoverTreeSettings() |
DiscoverTreeSettings(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
ChildrenPropertyMode |
getChildrenMode()
When heuristically finding a property that appears to contain child objects, the childrenMode determines how to chose
the property that appears to contain child objects
|
java.lang.String |
getNameProperty()
For string leaf nodes (if allowed), the name of the property to store the string under in the auto-created object
|
java.lang.String |
getNewChildrenProperty()
What to rename the array of children once discovered.
|
static DiscoverTreeSettings |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
ScanMode |
getScanMode()
Determines how to scan for the
Tree.childrenProperty |
TieMode |
getTieMode()
What to do if there is more than one possible
Tree.childrenProperty when using scanMode "branch" or "level" |
java.lang.String |
getTypeProperty()
Each discovered child is labeled with a configurable "typeProperty" set to the value of the property that held the
children
|
DiscoverTreeSettings |
setChildrenMode(ChildrenPropertyMode childrenMode)
When heuristically finding a property that appears to contain child objects, the childrenMode determines how to chose
the property that appears to contain child objects
|
DiscoverTreeSettings |
setNameProperty(java.lang.String nameProperty)
For string leaf nodes (if allowed), the name of the property to store the string under in the auto-created object
|
DiscoverTreeSettings |
setNewChildrenProperty(java.lang.String newChildrenProperty)
What to rename the array of children once discovered.
|
DiscoverTreeSettings |
setScanMode(ScanMode scanMode)
Determines how to scan for the
Tree.childrenProperty |
DiscoverTreeSettings |
setTieMode(TieMode tieMode)
What to do if there is more than one possible
Tree.childrenProperty when using scanMode "branch" or "level" |
DiscoverTreeSettings |
setTypeProperty(java.lang.String typeProperty)
Each discovered child is labeled with a configurable "typeProperty" set to the value of the property that held the
children
|
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreatedpublic DiscoverTreeSettings()
public DiscoverTreeSettings(com.google.gwt.core.client.JavaScriptObject jsObj)
public static DiscoverTreeSettings getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public DiscoverTreeSettings setChildrenMode(ChildrenPropertyMode childrenMode)
childrenMode - New childrenMode value. Default value is ChildrenPropertyMode.ANYDiscoverTreeSettings instance, for chaining setter callspublic ChildrenPropertyMode getChildrenMode()
public DiscoverTreeSettings setNameProperty(java.lang.String nameProperty)
nameProperty - New nameProperty value. Default value is nullDiscoverTreeSettings instance, for chaining setter callspublic java.lang.String getNameProperty()
public DiscoverTreeSettings setNewChildrenProperty(java.lang.String newChildrenProperty)
Tree.childrenProperty inside discoverTree()newChildrenProperty - New newChildrenProperty value. Default value is null (see below)DiscoverTreeSettings instance, for chaining setter callspublic java.lang.String getNewChildrenProperty()
Tree.childrenProperty inside discoverTree()public DiscoverTreeSettings setScanMode(ScanMode scanMode)
Tree.childrenPropertyscanMode - New scanMode value. Default value is ScanMode.BRANCHDiscoverTreeSettings instance, for chaining setter callspublic ScanMode getScanMode()
Tree.childrenPropertypublic DiscoverTreeSettings setTieMode(TieMode tieMode)
Tree.childrenProperty when using scanMode "branch" or "level"tieMode - New tieMode value. Default value is TieMode.NODEDiscoverTreeSettings instance, for chaining setter callspublic TieMode getTieMode()
Tree.childrenProperty when using scanMode "branch" or "level"public DiscoverTreeSettings setTypeProperty(java.lang.String typeProperty)
typeProperty - New typeProperty value. Default value is nullDiscoverTreeSettings instance, for chaining setter callspublic java.lang.String getTypeProperty()