Form Builder NG Model 6.0.0-SNAPSHOT

org.jbpm.form.builder.ng.model.shared.api
Interface FBScriptHelper

All Known Implementing Classes:
AbstractScriptHelper, PlainTextScriptHelper, PopulateComboBoxScriptHelper, RestServiceScriptHelper, ToggleScriptHelper

public interface FBScriptHelper

Helper to create visually attractive components for generating javascript editors


Method Summary
 String asScriptContent()
          Transform any UI loaded content into a script implementation
 com.google.gwt.user.client.ui.Widget draw()
          Returns a UI component that implements visual contents
 Map<String,Object> getDataMap()
           
 String getName()
          Returns the name of the UI script helper
 void setDataMap(Map<String,Object> dataMap)
           
 void setScript(FBScript script)
          For initialization purposes, the represented script.
 

Method Detail

asScriptContent

String asScriptContent()
Transform any UI loaded content into a script implementation

Returns:
a script

draw

com.google.gwt.user.client.ui.Widget draw()
Returns a UI component that implements visual contents

Returns:

getName

String getName()
Returns the name of the UI script helper


setScript

void setScript(FBScript script)
For initialization purposes, the represented script.

Parameters:
script -

getDataMap

Map<String,Object> getDataMap()

setDataMap

void setDataMap(Map<String,Object> dataMap)

Form Builder NG Model 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.