|
Form Builder NG Model 6.0.0-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.SimplePanel
com.google.gwt.user.client.ui.FocusPanel
org.jbpm.form.builder.ng.model.client.form.FBFormItem
org.jbpm.form.builder.ng.model.client.form.LayoutFormItem
org.jbpm.form.builder.ng.model.client.form.items.ConditionalBlockFormItem
public class ConditionalBlockFormItem
server-side form item. Represents a conditional block (if-else)
| 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.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 | |
|---|---|
ConditionalBlockFormItem()
|
|
ConditionalBlockFormItem(List<FBFormEffect> formEffects)
|
|
| Method Summary | |
|---|---|
boolean |
add(FBFormItem item)
|
void |
add(PhantomPanel phantom,
int x,
int y)
|
com.google.gwt.user.client.ui.Widget |
cloneDisplay(Map<String,Object> data)
Similar to FBFormItem.cloneItem(), but only clones the underlying UI GWT
component. |
FBFormItem |
cloneItem()
This methods is similar to Object.clone(), but returns a proper type
and forces implementation |
Map<String,Object> |
getFormItemPropertiesMap()
This method must be defined to tell outside default editors what properties this UI component has. |
com.google.gwt.user.client.ui.HasWidgets |
getPanel()
|
FormBuilderDTO |
getRepresentation()
|
void |
populate(FormBuilderDTO dto)
This method must be overriden by each FBFormItem subclass to
repopulate its properties from an outside POJO representation. |
void |
replacePhantom(FBFormItem item)
|
void |
saveValues(Map<String,Object> asPropertiesMap)
This method must be defined so that outside default editor can tell this UI component the new value of its properties. |
| Methods inherited from class org.jbpm.form.builder.ng.model.client.form.LayoutFormItem |
|---|
formItemIterator, formItemListIterator, get, getItems, getUnderlyingLayout, insert, isWhiteSpace, remove, remove, remove, removeItem, setItems, setItemSelectionHandler, size |
| Methods inherited from class org.jbpm.form.builder.ng.model.client.form.FBFormItem |
|---|
addEffect, cloneItem, createInplaceEditor, createItem, extractBoolean, extractDouble, extractInt, extractString, fireSelectionEvent, getContext, getDesiredX, getDesiredY, getEventActions, getExternal, getFormEffects, getHeight, getInput, getInputValue, getOutput, getValidations, getWidth, hasEffectOfType, isAlreadyEditing, onBrowserEvent, populateActions, removeEffect, removeEffectOfType, reset, save, setAlreadyEditing, setDesiredPosition, setDesiredX, setDesiredY, setEffects, setEventActions, setExternal, setHeight, setInput, setOutput, setValidations, setWidgetHeight, setWidgetWidth, setWidth |
| Methods inherited from class com.google.gwt.user.client.ui.FocusPanel |
|---|
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getTabIndex, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setFocus, setTabIndex |
| Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
|---|
add, getContainerElement, getWidget, iterator, setWidget, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
|---|
add, adopt, adopt, clear, 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, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, 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.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public ConditionalBlockFormItem()
public ConditionalBlockFormItem(List<FBFormEffect> formEffects)
| Method Detail |
|---|
public Map<String,Object> getFormItemPropertiesMap()
FBFormItemFBFormItem.saveValues(Map)
getFormItemPropertiesMap in class FBFormItempublic void saveValues(Map<String,Object> asPropertiesMap)
FBFormItem
saveValues in class FBFormItemasPropertiesMap - a map of the proeprties to set on this UI componentpublic FormBuilderDTO getRepresentation()
getRepresentation in class FBFormItem
public void populate(FormBuilderDTO dto)
throws FormBuilderException
FBFormItemFBFormItem subclass to
repopulate its properties from an outside POJO representation.
populate in class FBFormItemFormBuilderException - in case of error or invalid contentpublic FBFormItem cloneItem()
FBFormItemObject.clone(), but returns a proper type
and forces implementation
cloneItem in class FBFormItempublic com.google.gwt.user.client.ui.Widget cloneDisplay(Map<String,Object> data)
FBFormItemFBFormItem.cloneItem(), but only clones the underlying UI GWT
component.
cloneDisplay in class FBFormItempublic com.google.gwt.user.client.ui.HasWidgets getPanel()
getPanel in class LayoutFormItem
public void add(PhantomPanel phantom,
int x,
int y)
add in interface FBCompositeItemadd in class LayoutFormItempublic boolean add(FBFormItem item)
add in class LayoutFormItempublic void replacePhantom(FBFormItem item)
|
Form Builder NG Model 6.0.0-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||