|
||||||||||
| 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.ImageFormItem
public class ImageFormItem
UI form item. Represents an image
| 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 org.jbpm.model.formapi.client.form.I18NFormItem |
|---|
I18NFormItem.Format |
| 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 | |
|---|---|
ImageFormItem()
|
|
ImageFormItem(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 |
boolean |
containsLocale(String localeName)
|
List<String> |
getAllowedTypes()
|
I18NFormItem.Format |
getFormat()
|
Map<String,Object> |
getFormItemPropertiesMap()
This method must be defined to tell outside default editors what properties this UI component has. |
String |
getI18n(String key)
|
Map<String,String> |
getI18nMap()
|
FormItemRepresentation |
getRepresentation()
This method is used to create a POJO representation of the UI component that any java service can understand. |
String |
getSourceReference()
|
void |
populate(FormItemRepresentation rep)
This method must be overriden by each FBFormItem subclass to
repopulate its properties from an outside POJO representation. |
void |
saveI18nMap(Map<String,String> i18nMap)
|
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. |
void |
setFormat(I18NFormItem.Format format)
|
void |
setSourceReference(String sourceReference)
|
| 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 ImageFormItem()
public ImageFormItem(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 FBFormItempublic boolean containsLocale(String localeName)
containsLocale in interface I18NFormItempublic String getI18n(String key)
getI18n in interface I18NFormItempublic Map<String,String> getI18nMap()
getI18nMap in interface I18NFormItempublic void saveI18nMap(Map<String,String> i18nMap)
saveI18nMap in interface I18NFormItempublic void setFormat(I18NFormItem.Format format)
setFormat in interface I18NFormItempublic I18NFormItem.Format getFormat()
getFormat in interface I18NFormItempublic void setSourceReference(String sourceReference)
setSourceReference in interface HasSourceReferencepublic String getSourceReference()
getSourceReference in interface HasSourceReferencepublic List<String> getAllowedTypes()
getAllowedTypes in interface HasSourceReference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||