public class CreateScreenSettings extends DataClass
RPCManager.createScreen()
. Classes and instances can be mapped
(constructed as) other classes, and existing widget instances can be returned for new ones.factoryCreated, factoryProperties
Constructor and Description |
---|
CreateScreenSettings() |
CreateScreenSettings(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getClassSubstitutions()
Maps class names of widgets in the screen to new class names, so that if a widget would normally be constructed as an
instance of a class, and that class is in the map, it's instead constructed as an instance of the new class.
|
java.util.Map |
getComponentSubstitutions()
Defines the map of new widget ids to existing class instances, or to new instances that will be of a different class.
|
static CreateScreenSettings |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
CreateScreenSettings |
setClassSubstitutions(java.util.Map classSubstitutions)
Maps class names of widgets in the screen to new class names, so that if a widget would normally be constructed as an
instance of a class, and that class is in the map, it's instead constructed as an instance of the new class.
|
CreateScreenSettings |
setComponentSubstitutions(java.util.Map componentSubstitutions)
Defines the map of new widget ids to existing class instances, or to new instances that will be of a different class.
|
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, setFactoryCreated
public CreateScreenSettings()
public CreateScreenSettings(com.google.gwt.core.client.JavaScriptObject jsObj)
public static CreateScreenSettings getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public CreateScreenSettings setClassSubstitutions(java.util.Map classSubstitutions)
classSubstitutions
- New classSubstitutions value. Default value is nullCreateScreenSettings
instance, for chaining setter callsRPCManager.createScreen(java.lang.String)
public java.util.Map getClassSubstitutions()
RPCManager.createScreen(java.lang.String)
public CreateScreenSettings setComponentSubstitutions(java.util.Map componentSubstitutions)
Note that
where we return an existing instance, not even its Canvas.ID
will be
changed. An alternative is programmtic replacement using Layout.replaceMember()
.
componentSubstitutions
- New componentSubstitutions value. Default value is nullCreateScreenSettings
instance, for chaining setter callsRPCManager.createScreen(java.lang.String)
public java.util.Map getComponentSubstitutions()
Note that
where we return an existing instance, not even its Canvas.ID
will be
changed. An alternative is programmtic replacement using Layout.replaceMember()
.
RPCManager.createScreen(java.lang.String)