Package com.smartgwt.client.tools
Class ReifyLoadConfig
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.tools.ReifyLoadConfig
- All Implemented Interfaces:
HasHandlers
Configuration object for
Reify.loadReify().-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionID of a DataSource to open when Reify loads.getMode()How to load the Reify editor:"inline"loads Reify as aCanvasin the current page;"window"opens Reify in a new browser tab.static ReifyLoadConfiggetOrCreateRef(JavaScriptObject jsObj) Name of a project to open when Reify loads.Formode:"inline", additional properties to apply to theReifyinstance when it is created.Formode:"window"withuseRTM:true, the RTM channel name to use for communication.Name of a screen to open when Reify loads.Formode:"inline", aLayoutto add the Reify instance to as a member.Formode:"window", whether to usecom.smartgwt.client.docs.RealtimeMessagingfor communication between the host page and the Reify window.Formode:"window", a window features string to pass towindow.open().setDataSource(String dataSource) ID of a DataSource to open when Reify loads.How to load the Reify editor:"inline"loads Reify as aCanvasin the current page;"window"opens Reify in a new browser tab.setProject(String project) Name of a project to open when Reify loads.setReifyProperties(Map reifyProperties) Formode:"inline", additional properties to apply to theReifyinstance when it is created.setRtmChannel(String rtmChannel) Formode:"window"withuseRTM:true, the RTM channel name to use for communication.Name of a screen to open when Reify loads.Formode:"inline", aLayoutto add the Reify instance to as a member.Formode:"window", whether to usecom.smartgwt.client.docs.RealtimeMessagingfor communication between the host page and the Reify window.setWindowFeatures(String windowFeatures) Formode:"window", a window features string to pass towindow.open().Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, 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
-
Constructor Details
-
ReifyLoadConfig
public ReifyLoadConfig() -
ReifyLoadConfig
-
-
Method Details
-
getOrCreateRef
-
setDataSource
ID of a DataSource to open when Reify loads.- Parameters:
dataSource- New dataSource value. Default value is null- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getDataSource
ID of a DataSource to open when Reify loads.- Returns:
- Current dataSource value. Default value is null
-
setMode
How to load the Reify editor:"inline"loads Reify as aCanvasin the current page;"window"opens Reify in a new browser tab.- Parameters:
mode- New mode value. Default value is "window"- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getMode
How to load the Reify editor:"inline"loads Reify as aCanvasin the current page;"window"opens Reify in a new browser tab.- Returns:
- Current mode value. Default value is "window"
-
setProject
Name of a project to open when Reify loads.- Parameters:
project- New project value. Default value is null- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getProject
Name of a project to open when Reify loads.- Returns:
- Current project value. Default value is null
-
setReifyProperties
Formode:"inline", additional properties to apply to theReifyinstance when it is created.- Parameters:
reifyProperties- New reifyProperties value. Default value is null- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getReifyProperties
Formode:"inline", additional properties to apply to theReifyinstance when it is created.- Returns:
- Current reifyProperties value. Default value is null
-
setRtmChannel
Formode:"window"withuseRTM:true, the RTM channel name to use for communication. Defaults to a randomly generated session ID.- Parameters:
rtmChannel- New rtmChannel value. Default value is null- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getRtmChannel
Formode:"window"withuseRTM:true, the RTM channel name to use for communication. Defaults to a randomly generated session ID.- Returns:
- Current rtmChannel value. Default value is null
-
setScreen
Name of a screen to open when Reify loads.- Parameters:
screen- New screen value. Default value is null- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getScreen
Name of a screen to open when Reify loads.- Returns:
- Current screen value. Default value is null
-
setTarget
Formode:"inline", aLayoutto add the Reify instance to as a member. If not specified, the Reify instance is created but not added to the page ? callCanvas.draw()or add it to a layout manually.- Parameters:
target- New target value. Default value is null- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getTarget
Formode:"inline", aLayoutto add the Reify instance to as a member. If not specified, the Reify instance is created but not added to the page ? callCanvas.draw()or add it to a layout manually.- Returns:
- Current target value. Default value is null
-
setUseRTM
Formode:"window", whether to usecom.smartgwt.client.docs.RealtimeMessagingfor communication between the host page and the Reify window. By default,window.postMessageis used, which requires same-origin. SetuseRTM:truefor cross-origin scenarios.- Parameters:
useRTM- New useRTM value. Default value is false- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getUseRTM
Formode:"window", whether to usecom.smartgwt.client.docs.RealtimeMessagingfor communication between the host page and the Reify window. By default,window.postMessageis used, which requires same-origin. SetuseRTM:truefor cross-origin scenarios.- Returns:
- Current useRTM value. Default value is false
-
setWindowFeatures
Formode:"window", a window features string to pass towindow.open(). See the MDN documentation forWindow.open()for valid values.- Parameters:
windowFeatures- New windowFeatures value. Default value is null- Returns:
ReifyLoadConfiginstance, for chaining setter calls
-
getWindowFeatures
Formode:"window", a window features string to pass towindow.open(). See the MDN documentation forWindow.open()for valid values.- Returns:
- Current windowFeatures value. Default value is null
-