org.jbpm.model.formbuilder.client.form.items
Class FieldSetLayoutFormItem
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.SimplePanel
com.google.gwt.user.client.ui.FocusPanel
org.jbpm.model.formapi.client.form.FBFormItem
org.jbpm.model.formapi.client.form.LayoutFormItem
org.jbpm.model.formbuilder.client.form.items.FieldSetLayoutFormItem
- All Implemented Interfaces:
- com.google.gwt.event.dom.client.HasAllDragAndDropHandlers, com.google.gwt.event.dom.client.HasAllFocusHandlers, com.google.gwt.event.dom.client.HasAllGestureHandlers, com.google.gwt.event.dom.client.HasAllKeyHandlers, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasAllTouchHandlers, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasDoubleClickHandlers, com.google.gwt.event.dom.client.HasDragEndHandlers, com.google.gwt.event.dom.client.HasDragEnterHandlers, com.google.gwt.event.dom.client.HasDragHandlers, com.google.gwt.event.dom.client.HasDragLeaveHandlers, com.google.gwt.event.dom.client.HasDragOverHandlers, com.google.gwt.event.dom.client.HasDragStartHandlers, com.google.gwt.event.dom.client.HasDropHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasGestureChangeHandlers, com.google.gwt.event.dom.client.HasGestureEndHandlers, com.google.gwt.event.dom.client.HasGestureStartHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.dom.client.HasTouchCancelHandlers, com.google.gwt.event.dom.client.HasTouchEndHandlers, com.google.gwt.event.dom.client.HasTouchMoveHandlers, com.google.gwt.event.dom.client.HasTouchStartHandlers, 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.AcceptsOneWidget, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasFocus, com.google.gwt.user.client.ui.HasOneWidget, 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.IsWidget, com.google.gwt.user.client.ui.SourcesClickEvents, com.google.gwt.user.client.ui.SourcesFocusEvents, com.google.gwt.user.client.ui.SourcesKeyboardEvents, com.google.gwt.user.client.ui.SourcesMouseEvents, com.google.gwt.user.client.ui.SourcesMouseWheelEvents, Iterable<com.google.gwt.user.client.ui.Widget>, FBCompositeItem, I18NFormItem
public class FieldSetLayoutFormItem
- extends LayoutFormItem
- implements I18NFormItem
| 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 |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| Methods inherited from class org.jbpm.model.formapi.client.form.LayoutFormItem |
formItemIterator, formItemListIterator, get, getItems, getUnderlyingLayout, insert, isWhiteSpace, remove, remove, remove, removeItem, setItems, size |
| Methods inherited from class org.jbpm.model.formapi.client.form.FBFormItem |
addEffect, cloneItem, createInplaceEditor, createItem, extractBoolean, extractDouble, extractInt, extractString, fireSelectionEvent, getDesiredX, getDesiredY, getEventActions, getExternal, getFormEffects, getHeight, getInput, getInputValue, getOutput, getRepresentation, getValidations, getWidth, hasEffectOfType, isAlreadyEditing, onBrowserEvent, populateActions, removeEffect, removeEffectOfType, reset, 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 interface com.google.gwt.event.shared.HasHandlers |
fireEvent |
FieldSetLayoutFormItem
public FieldSetLayoutFormItem()
FieldSetLayoutFormItem
public FieldSetLayoutFormItem(List<FBFormEffect> formEffects)
replacePhantom
public void replacePhantom(FBFormItem item)
- Specified by:
replacePhantom in interface FBCompositeItem
add
public boolean add(FBFormItem item)
- Overrides:
add in class LayoutFormItem
add
public void add(PhantomPanel phantom,
int x,
int y)
- Specified by:
add in interface FBCompositeItem- Specified by:
add in class LayoutFormItem
getPanel
public com.google.gwt.user.client.ui.HasWidgets getPanel()
- Specified by:
getPanel in class LayoutFormItem
getFormItemPropertiesMap
public Map<String,Object> getFormItemPropertiesMap()
- Description copied from class:
FBFormItem
- This method must be defined to tell outside default editors what
properties this UI component has. Outside editors will then provide
functionality to edit these properties and invoke
FBFormItem.saveValues(Map)
- Specified by:
getFormItemPropertiesMap in class FBFormItem
- Returns:
- a map of the properties of this UI component
saveValues
public void saveValues(Map<String,Object> asPropertiesMap)
- Description copied from class:
FBFormItem
- This method must be defined so that outside default editor can tell this
UI component the new value of its properties. It's the entire
responsibility of this UI component to repopulate itself from these
properties
- Specified by:
saveValues in class FBFormItem
- Parameters:
asPropertiesMap - a map of the proeprties to set on this UI component
populate
public void populate(FormItemRepresentation rep)
throws FormBuilderException
- Description copied from class:
FBFormItem
- This method must be overriden by each
FBFormItem subclass to
repopulate its properties from an outside POJO representation.
- Overrides:
populate in class FBFormItem
- Parameters:
rep - the POJO representation of this UI component. It's the
responsibility of each FBFormItem instance to validate
the POJO representation for itself, call the superclass
method, and define what and how properties of its UI component
should be updated.
- Throws:
FormBuilderException - in case of error or invalid content
getRepresentation
public FormItemRepresentation getRepresentation()
- Description copied from class:
FBFormItem
- This method is used to create a POJO representation of the UI component
that any java service can understand.
- Specified by:
getRepresentation in class FBFormItem
- Returns:
- a POJO representation of this UI component
cloneItem
public FBFormItem cloneItem()
- Description copied from class:
FBFormItem
- This methods is similar to
Object.clone(), but returns a proper type
and forces implementation
- Specified by:
cloneItem in class FBFormItem
- Returns:
- a clone of this very object
cloneDisplay
public com.google.gwt.user.client.ui.Widget cloneDisplay(Map<String,Object> formData)
- Description copied from class:
FBFormItem
- Similar to
FBFormItem.cloneItem(), but only clones the underlying UI GWT
component.
- Specified by:
cloneDisplay in class FBFormItem
- Returns:
containsLocale
public boolean containsLocale(String localeName)
- Specified by:
containsLocale in interface I18NFormItem
getFormat
public I18NFormItem.Format getFormat()
- Specified by:
getFormat in interface I18NFormItem
getI18n
public String getI18n(String key)
- Specified by:
getI18n in interface I18NFormItem
getI18nMap
public Map<String,String> getI18nMap()
- Specified by:
getI18nMap in interface I18NFormItem
saveI18nMap
public void saveI18nMap(Map<String,String> i18nMap)
- Specified by:
saveI18nMap in interface I18NFormItem
setFormat
public void setFormat(I18NFormItem.Format format)
- Specified by:
setFormat in interface I18NFormItem
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.