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
|
void |
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
|
void |
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
|
void |
setNewChildrenProperty(java.lang.String newChildrenProperty)
What to rename the array of children once discovered.
|
void |
setScanMode(ScanMode scanMode)
Determines how to scan for the
Tree.childrenProperty |
void |
setTieMode(TieMode tieMode)
What to do if there is more than one possible
Tree.childrenProperty when using scanMode "branch" or "level" |
void |
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 void setChildrenMode(ChildrenPropertyMode childrenMode)
childrenMode - New childrenMode value. Default value is ChildrenPropertyMode.ANYpublic ChildrenPropertyMode getChildrenMode()
public void setNameProperty(java.lang.String nameProperty)
nameProperty - New nameProperty value. Default value is nullpublic java.lang.String getNameProperty()
public void setNewChildrenProperty(java.lang.String newChildrenProperty)
Tree.childrenProperty inside discoverTree()newChildrenProperty - New newChildrenProperty value. Default value is null (see below)public java.lang.String getNewChildrenProperty()
Tree.childrenProperty inside discoverTree()public void setScanMode(ScanMode scanMode)
Tree.childrenPropertyscanMode - New scanMode value. Default value is ScanMode.BRANCHpublic ScanMode getScanMode()
Tree.childrenPropertypublic void setTieMode(TieMode tieMode)
Tree.childrenProperty when using scanMode "branch" or "level"tieMode - New tieMode value. Default value is TieMode.NODEpublic TieMode getTieMode()
Tree.childrenProperty when using scanMode "branch" or "level"public void setTypeProperty(java.lang.String typeProperty)
typeProperty - New typeProperty value. Default value is nullpublic java.lang.String getTypeProperty()