org.jbpm.formbuilder.client.effect
Class AddItemFormEffect

java.lang.Object
  extended by org.jbpm.formapi.client.effect.FBFormEffect
      extended by org.jbpm.formbuilder.client.effect.AddItemFormEffect

public class AddItemFormEffect
extends FBFormEffect

Allows to add an item to a related OptionsFormItem (for example, a combobox)


Constructor Summary
AddItemFormEffect()
           
 
Method Summary
 com.google.gwt.user.client.ui.PopupPanel createPanel()
           
protected  void createStyles()
           
 String getNewLabel()
           
 String getNewValue()
           
 boolean isValidForItem(FBFormItem item)
           
protected  void revertStyles(String label, FBFormItem item)
           
 void setNewLabel(String newLabel)
           
 void setNewValue(String newValue)
           
 
Methods inherited from class org.jbpm.formapi.client.effect.FBFormEffect
apply, getItem, getName, getParent, getWidget, remove, setParent, setWidget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddItemFormEffect

public AddItemFormEffect()
Method Detail

getNewLabel

public String getNewLabel()

setNewLabel

public void setNewLabel(String newLabel)

getNewValue

public String getNewValue()

setNewValue

public void setNewValue(String newValue)

createStyles

protected void createStyles()
Specified by:
createStyles in class FBFormEffect

revertStyles

protected void revertStyles(String label,
                            FBFormItem item)

createPanel

public com.google.gwt.user.client.ui.PopupPanel createPanel()
Overrides:
createPanel in class FBFormEffect

isValidForItem

public boolean isValidForItem(FBFormItem item)
Overrides:
isValidForItem in class FBFormEffect


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