|
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.items.HTMLFormItem
public class HTMLFormItem
UI form item. Represents a piece of user entered HTML
| 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 | |
|---|---|
HTMLFormItem()
|
|
HTMLFormItem(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 |
FBInplaceEditor |
createInplaceEditor()
If you wish that on clicking your UI component, it becomes replaced by a custom editor, this is where you must create it |
Map<String,Object> |
getFormItemPropertiesMap()
This method must be defined to tell outside default editors what properties this UI component has. |
String |
getHtmlContent()
|
FormBuilderDTO |
getRepresentation()
|
String |
getTextContent()
|
void |
populate(FormBuilderDTO dto)
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. |
void |
setContent(String html)
|
void |
setHtmlContent(String htmlContent)
|
void |
setTextContent(String textContent)
|
| Methods inherited from class org.jbpm.form.builder.ng.model.client.form.FBFormItem |
|---|
addEffect, cloneItem, 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, setItemSelectionHandler, 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 HTMLFormItem()
public HTMLFormItem(List<FBFormEffect> formEffects)
| Method Detail |
|---|
public Map<String,Object> getFormItemPropertiesMap()
FBFormItemFBFormItem.saveValues(Map)
getFormItemPropertiesMap in class FBFormItempublic FBInplaceEditor createInplaceEditor()
FBFormItem
createInplaceEditor in class FBFormItemFBInplaceEditor to replace component
and be rechanged after lost of focus. Default returns nullpublic void saveValues(Map<String,Object> asPropertiesMap)
FBFormItem
saveValues in class FBFormItemasPropertiesMap - a map of the proeprties to set on this UI componentpublic void setContent(String html)
public 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 String getTextContent()
public String getHtmlContent()
public void setTextContent(String textContent)
public void setHtmlContent(String htmlContent)
public 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
|
Form Builder NG Model 6.0.0-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||