public class MenuEditProxy extends StatefulCanvasEditProxy
config, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
MenuEditProxy() |
MenuEditProxy(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
JavaScriptObject |
create() |
void |
getInlineEditText()
Returns the text based on the current component state to be edited inline.
|
static MenuEditProxy |
getOrCreateRef(JavaScriptObject jsObj) |
void |
setInlineEditText(java.lang.String newValue)
Save the new value into the component's state.
|
getAllowNestedDrops, getAutoMaskChildren, getBringToFrontOnSelect, getCanSelect, getCanSelectChildren, getChildrenSnapResizeToGrid, getChildrenSnapToGrid, getEditMask, getHoopSelector, getInlineEditEvent, getInlineEditForm, getInlineEditInstructionLabel, getInlineEditInstructions, getInlineEditMultiline, getInlineEditOnDrop, getJsObj, getOrCreateJsObj, getPersistCoordinates, getSelectedAppearance, getSelectedBorder, getSelectedLabelBackgroundColor, getSelectedTintColor, getSelectedTintOpacity, getSupportsInlineEdit, isCreated, setAllowNestedDrops, setAutoMaskChildren, setBringToFrontOnSelect, setCanSelect, setCanSelectChildren, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setInlineEditEvent, setInlineEditInstructions, setInlineEditMultiline, setInlineEditOnDrop, setJavaScriptObject, setPersistCoordinates, setSelectedAppearance, setSelectedBorder, setSelectedLabelBackgroundColor, setSelectedTintColor, setSelectedTintOpacity, setSupportsInlineEdit, showSelectedAppearance, startInlineEditing, startInlineEditing
applyFactoryProperties, asSGWTComponent, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getID, getRef, getScClassName, getTestInstance, hasAutoAssignedID, internalSetID, internalSetID, isFactoryCreated, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setFactoryCreated, setID, setProperty, setProperty, setProperty, setProperty, setScClassName
public MenuEditProxy()
public MenuEditProxy(JavaScriptObject jsObj)
public static MenuEditProxy getOrCreateRef(JavaScriptObject jsObj)
public JavaScriptObject create()
create
in class StatefulCanvasEditProxy
public void getInlineEditText()
inlineEditForm
to obtain the starting edit value. Returns the component's menu definition in wiki-style.
getInlineEditText
in class StatefulCanvasEditProxy
public void setInlineEditText(java.lang.String newValue)
inlineEditForm
to commit the change. Updates the component's menu.
Lines starting with "--", "==" or "title:" are considered titles for the MenuButtons. The menuItem definitions follow the title to define the menu contents.
Each menuItem title is entered on its own line. A keyTitle can follow the title separated by a comma. A leading "x" or "o" marks the menuItem as checked. MenuItems can be marked as disabled with a leading or trailing dash (-). A sub-menu is indicated with a trailing >. Any line consisting entirely of one or�more dashes (-) or equals (=) indicates a separator line.
setInlineEditText
in class StatefulCanvasEditProxy
newValue
- the new component menu