Form Builder NG Model 6.0.0-SNAPSHOT

org.jbpm.form.builder.ng.model.client.effect.scripthandlers
Class ToggleScriptHelper

java.lang.Object
  extended by org.jbpm.form.builder.ng.model.client.effect.scripthandlers.AbstractScriptHelper
      extended by org.jbpm.form.builder.ng.model.client.effect.scripthandlers.ToggleScriptHelper
All Implemented Interfaces:
FBScriptHelper

public class ToggleScriptHelper
extends AbstractScriptHelper


Field Summary
static String HIDE
           
static String HIDING_STRATEGY_COLLAPSE
           
static String HIDING_STRATEGY_HIDDEN
           
static String SHOW
           
static String TOGGLE
           
 
Constructor Summary
ToggleScriptHelper()
           
 
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
 String getActionOnEvent()
           
 Map<String,Object> getDataMap()
           
 String getHidingStrategy()
           
 String getIdField()
           
 String getName()
          Returns the name of the UI script helper
 void setActionOnEvent(String actionOnEvent)
           
 void setDataMap(Map<String,Object> dataMap)
           
 void setHidingStrategy(String hidingStrategy)
           
 void setIdField(String idField)
           
 
Methods inherited from class org.jbpm.form.builder.ng.model.client.effect.scripthandlers.AbstractScriptHelper
setScript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOGGLE

public static final String TOGGLE
See Also:
Constant Field Values

SHOW

public static final String SHOW
See Also:
Constant Field Values

HIDE

public static final String HIDE
See Also:
Constant Field Values

HIDING_STRATEGY_COLLAPSE

public static final String HIDING_STRATEGY_COLLAPSE
See Also:
Constant Field Values

HIDING_STRATEGY_HIDDEN

public static final String HIDING_STRATEGY_HIDDEN
See Also:
Constant Field Values
Constructor Detail

ToggleScriptHelper

public ToggleScriptHelper()
Method Detail

getDataMap

public Map<String,Object> getDataMap()

setDataMap

public void setDataMap(Map<String,Object> dataMap)

asScriptContent

public String asScriptContent()
Description copied from interface: FBScriptHelper
Transform any UI loaded content into a script implementation

Returns:
a script

draw

public com.google.gwt.user.client.ui.Widget draw()
Description copied from interface: FBScriptHelper
Returns a UI component that implements visual contents

Returns:

getName

public String getName()
Description copied from interface: FBScriptHelper
Returns the name of the UI script helper


getIdField

public String getIdField()

setIdField

public void setIdField(String idField)

getActionOnEvent

public String getActionOnEvent()

setActionOnEvent

public void setActionOnEvent(String actionOnEvent)

getHidingStrategy

public String getHidingStrategy()

setHidingStrategy

public void setHidingStrategy(String hidingStrategy)

Form Builder NG Model 6.0.0-SNAPSHOT

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