org.jbpm.formbuilder.client.form
Class FBForm

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.FlowPanel
                      extended by org.jbpm.formbuilder.client.form.FBForm
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>, FBCompositeItem

public class FBForm
extends com.google.gwt.user.client.ui.FlowPanel
implements FBCompositeItem

Display class for a FormRepresentation


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
FBForm()
           
 
Method Summary
 void add(PhantomPanel phantom, int x, int y)
           
 void add(com.google.gwt.user.client.ui.Widget w)
           
 void addValidation(FBValidationItem item)
           
 com.google.gwt.user.client.ui.FormPanel asFormPanel(Map<String,Object> data)
           
 FormRepresentation createRepresentation()
           
protected  void ensureMinimumSize(FBFormItem item)
           
 String getAction()
           
 String getEnctype()
           
 Map<String,InputData> getInputs()
           
protected  int getItemPosition(FBFormItem newItem)
           
 List<FBFormItem> getItems()
           
 String getMethod()
           
 String getName()
           
 Map<String,OutputData> getOutputs()
           
 String getProcessId()
           
 String getTaskId()
           
 List<FBValidationItem> getValidationItems()
           
 void insert(com.google.gwt.user.client.ui.Widget widget, int beforeIndex)
           
 void onBrowserEvent(com.google.gwt.user.client.Event event)
           
 void onFormLoad()
           
 void onFormSubmit()
           
 void populate(FormRepresentation rep)
           
 boolean remove(com.google.gwt.user.client.ui.Widget w)
           
 void replacePhantom(FBFormItem item)
           
 void setAction(String action)
           
 void setEnctype(String enctype)
           
 void setInputs(Map<String,InputData> inputs)
           
 void setItems(List<FBFormItem> items)
           
 void setMethod(String method)
           
 void setName(String name)
           
 void setOutputs(Map<String,OutputData> outputs)
           
 void setProcessId(String processId)
           
 void setSaved(boolean saved)
           
 void setTaskId(String taskId)
           
 void setValidationItems(List<FBValidationItem> validationItems)
           
 
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
clear, insert
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Constructor Detail

FBForm

public FBForm()
Method Detail

onBrowserEvent

public void onBrowserEvent(com.google.gwt.user.client.Event event)
Specified by:
onBrowserEvent in interface com.google.gwt.user.client.EventListener
Overrides:
onBrowserEvent in class com.google.gwt.user.client.ui.Widget

getName

public String getName()

setName

public void setName(String name)

getTaskId

public String getTaskId()

setTaskId

public void setTaskId(String taskId)

getProcessId

public String getProcessId()

setProcessId

public void setProcessId(String processId)

getAction

public String getAction()

setAction

public void setAction(String action)

getEnctype

public String getEnctype()

setEnctype

public void setEnctype(String enctype)

getMethod

public String getMethod()

setMethod

public void setMethod(String method)

getItems

public List<FBFormItem> getItems()
Specified by:
getItems in interface FBCompositeItem

setItems

public void setItems(List<FBFormItem> items)
Specified by:
setItems in interface FBCompositeItem

getValidationItems

public List<FBValidationItem> getValidationItems()

setValidationItems

public void setValidationItems(List<FBValidationItem> validationItems)

remove

public boolean remove(com.google.gwt.user.client.ui.Widget w)
Specified by:
remove in interface com.google.gwt.user.client.ui.HasWidgets
Overrides:
remove in class com.google.gwt.user.client.ui.ComplexPanel

add

public void add(com.google.gwt.user.client.ui.Widget w)
Specified by:
add in interface com.google.gwt.user.client.ui.HasWidgets
Specified by:
add in interface com.google.gwt.user.client.ui.InsertPanel
Overrides:
add in class com.google.gwt.user.client.ui.FlowPanel

add

public void add(PhantomPanel phantom,
                int x,
                int y)
Specified by:
add in interface FBCompositeItem

insert

public void insert(com.google.gwt.user.client.ui.Widget widget,
                   int beforeIndex)
Specified by:
insert in interface com.google.gwt.user.client.ui.InsertPanel
Overrides:
insert in class com.google.gwt.user.client.ui.FlowPanel

getItemPosition

protected int getItemPosition(FBFormItem newItem)

addValidation

public void addValidation(FBValidationItem item)

onFormLoad

public void onFormLoad()

onFormSubmit

public void onFormSubmit()

setInputs

public void setInputs(Map<String,InputData> inputs)

getInputs

public Map<String,InputData> getInputs()

setOutputs

public void setOutputs(Map<String,OutputData> outputs)

getOutputs

public Map<String,OutputData> getOutputs()

setSaved

public void setSaved(boolean saved)

createRepresentation

public FormRepresentation createRepresentation()

populate

public void populate(FormRepresentation rep)
              throws FormBuilderException
Throws:
FormBuilderException

ensureMinimumSize

protected void ensureMinimumSize(FBFormItem item)

replacePhantom

public void replacePhantom(FBFormItem item)
Specified by:
replacePhantom in interface FBCompositeItem

asFormPanel

public com.google.gwt.user.client.ui.FormPanel asFormPanel(Map<String,Object> data)


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