|
||||||||||
| 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.ComplexPanel
com.google.gwt.user.client.ui.AbsolutePanel
org.jbpm.formapi.client.menu.FBMenuItem
org.jbpm.formbuilder.client.menu.items.CustomMenuItem
public class CustomMenuItem
This class is used to store a POJO representation of a complex item that can be extrapolated from other simpler items, and allow the user to use them by having it as a custom menu option
| 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.InsertPanel |
|---|
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
| 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 | |
|---|---|
CustomMenuItem()
|
|
CustomMenuItem(FormItemRepresentation representation,
String optionName,
List<FBFormEffect> formEffects,
String groupName)
|
|
| Method Summary | |
|---|---|
void |
addEffect(FBFormEffect effect)
|
FBFormItem |
buildWidget()
|
FBMenuItem |
cloneWidget()
|
com.google.gwt.user.client.ui.Label |
getDescription()
|
String |
getGroupName()
|
protected com.google.gwt.resources.client.ImageResource |
getIconUrl()
|
String |
getItemId()
|
String |
getOptionName()
|
FormItemRepresentation |
getRepresentation()
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
setGroupName(String groupName)
|
void |
setOptionName(String optionName)
|
void |
setRepresentation(FormItemRepresentation representation)
|
| Methods inherited from class org.jbpm.formapi.client.menu.FBMenuItem |
|---|
addAllowedEvent, build, clone, getAllowedEvents, getAllowedEventsAsMap, getDragHandle, getFormEffects, onLoad, onUnload, repaint, setPixelSize, setSize |
| Methods inherited from class com.google.gwt.user.client.ui.AbsolutePanel |
|---|
add, add, add, getWidgetLeft, getWidgetTop, insert, insert, insert, remove, setWidgetPosition, setWidgetPositionImpl |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
|---|
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove |
| 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, 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, setHeight, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, 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.user.client.ui.InsertPanel.ForIsWidget |
|---|
add |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
|---|
getWidgetIndex |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
|---|
getWidget, getWidgetCount, getWidgetIndex, remove |
| Constructor Detail |
|---|
public CustomMenuItem()
public CustomMenuItem(FormItemRepresentation representation,
String optionName,
List<FBFormEffect> formEffects,
String groupName)
| Method Detail |
|---|
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetpublic String getOptionName()
public FormItemRepresentation getRepresentation()
public void setRepresentation(FormItemRepresentation representation)
public void setOptionName(String optionName)
public String getGroupName()
public void setGroupName(String groupName)
protected com.google.gwt.resources.client.ImageResource getIconUrl()
getIconUrl in class FBMenuItempublic com.google.gwt.user.client.ui.Label getDescription()
getDescription in class FBMenuItempublic FBMenuItem cloneWidget()
cloneWidget in class FBMenuItempublic void addEffect(FBFormEffect effect)
addEffect in class FBMenuItempublic FBFormItem buildWidget()
buildWidget in class FBMenuItempublic String getItemId()
getItemId in class FBMenuItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||