|
||||||||||
| 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.model.formapi.client.form.FBFormItem
org.jbpm.model.formbuilder.client.form.items.FileInputFormItem
public class FileInputFormItem
UI form item. Represents a file input
| 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 | |
|---|---|
FileInputFormItem()
|
|
FileInputFormItem(List<FBFormEffect> formEffects)
|
|
| Method Summary | |
|---|---|
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. |
FormItemRepresentation |
getRepresentation()
This method is used to create a POJO representation of the UI component that any java service can understand. |
void |
populate(FormItemRepresentation rep)
This method must be overriden by each FBFormItem subclass to
repopulate its properties from an outside POJO representation. |
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.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, remove, 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 FileInputFormItem()
public FileInputFormItem(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 FormItemRepresentation getRepresentation()
FBFormItem
getRepresentation in class FBFormItem
public void populate(FormItemRepresentation rep)
throws FormBuilderException
FBFormItemFBFormItem subclass to
repopulate its properties from an outside POJO representation.
populate in class FBFormItemrep - 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.
FormBuilderException - 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 FBFormItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||