@Component(tag="mxeditor",
widgetModule="fujion-mxgraph",
widgetClass="MXEditor",
parentTag="*",
content=AS_ATTRIBUTE,
description="Fujion wrapper for mxEditor component.")
public class MXEditor
extends MXGraph
| Constructor and Description |
|---|
MXEditor() |
| Modifier and Type | Method and Description |
|---|---|
org.fujion.ancillary.JavaScript |
addAction(String action,
org.fujion.ancillary.JavaScript code)
Add an editor action.
|
org.fujion.ancillary.JavaScript |
addAction(String action,
String code)
Add an editor action.
|
void |
addToolbarItem(String label,
String action,
String image)
Creates a toolbar item.
|
void |
execute(String action)
Executes a registered action.
|
void |
execute(String action,
MXCell<?> cell)
Executes a registered action.
|
void |
resetHistory()
Clears the undo history.
|
void |
setStatus(String message) |
beginUpdate, clear, createEdge, createVertex, endUpdate, getAllowDanglingEdges, getContent, getDisconnectOnMove, getEdge, getEdges, getGridEnabled, getGridSize, getPanning, getTooltips, getVertex, getVertices, insertEdge, insertVertex, isPortsEnabled, isPrettyXML, isReadonly, mxInvoke, mxInvoke, nextId, refresh, refresh, setAllowDanglingEdges, setContent, setDisconnectOnMove, setGridEnabled, setGridSize, setPanning, setPortsEnabled, setPrettyXML, setReadonly, setTooltips_syncClasses, _syncStyles, addClass, addMask, addMask, addMask, addStyle, addStyles, afterRemoveChild, focus, getBalloon, getClasses, getContext, getCss, getDragid, getDropid, getFirstVisibleChild, getFirstVisibleChild, getFlex, getHeight, getHint, getKeycapture, getPopup, getStyle, getStyles, getTabindex, getWidth, hide, isDisabled, isVisible, print, print, removeClass, removeMask, removeStyle, reportSize, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _initProps, addChild, addChild, addChild, addChildren, addComposite, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, detachChildren, disableChildren, disableChildren, finalize, findAllNamed, findAttribute, findByName, findByName, findChild, findChildByData, findChildByLabel, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttributes, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getControllers, getData, getData, getDefinition, getFirstChild, getFirstChild, getId, getIndex, getLastChild, getLastController, getLastController, getName, getNamespace, getNextSibling, getNextSibling, getPage, getParent, getPreviousSibling, getPreviousSibling, getRoot, hasChildren, hasEventListener, hasEventListener, initialize, invoke, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isInitializing, isNamespace, isRendered, loadModule, loadModule, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, propertyChange, propertyChange, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setContentSynced, setData, setIndex, setName, setNamespace, setParent, sub, swapChildren, sync, toString, trimify, validate, validate, validateChild, validateIsChild, validateName, validatePage, validateParent, wireController, wireControllerpublic void addToolbarItem(String label, String action, String image)
getUrlImage.label - The toolbar label. If "-" and action is null, creates a separator.action - The associated action (see above).image - Optional image.public org.fujion.ancillary.JavaScript addAction(String action, String code)
action - The action name.code - JavaScript code to execute.public org.fujion.ancillary.JavaScript addAction(String action, org.fujion.ancillary.JavaScript code)
action - The action name.code - JavaScript code to execute.public void resetHistory()
public void execute(String action)
action - A registered action.public void execute(String action, MXCell<?> cell)
action - A registered action.cell - Optional target of the action.@Component.PropertySetter(value="status",
description="Message for display on status bar.")
public void setStatus(String message)
Copyright © 2023 Fujion Framework. All rights reserved.