org.jbpm.formbuilder.client.form
Class FBForm
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
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 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 |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| 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 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 |
FBForm
public FBForm()
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-2012 JBoss by Red Hat. All Rights Reserved.