{ "type": "class", | |
"qname": "org.apache.royale.textLayout.edit.ModelEdit", | |
"baseClassname": "" | |
, | |
"description": "The ModelEdit class contains static functions for performing speficic suboperations. Each suboperation returns a "memento" for undo/redo.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"members": [ | |
{ "type": "method", | |
"qname": "splitElement", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"return": "org.apache.royale.textLayout.edit.IMemento", | |
"params": [{ "name": "textFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}, | |
{ "name": "elemToSplit", "type": "org.apache.royale.textLayout.elements.IFlowGroupElement"}, | |
{ "name": "relativePosition", "type": "int"}]} | |
, | |
{ "type": "method", | |
"qname": "joinElement", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"return": "org.apache.royale.textLayout.edit.IMemento", | |
"params": [{ "name": "textFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}, | |
{ "name": "element1", "type": "org.apache.royale.textLayout.elements.IFlowGroupElement"}, | |
{ "name": "element2", "type": "org.apache.royale.textLayout.elements.IFlowGroupElement"}]} | |
, | |
{ "type": "method", | |
"qname": "addElement", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"return": "org.apache.royale.textLayout.edit.IMemento", | |
"params": [{ "name": "textFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}, | |
{ "name": "elemToAdd", "type": "org.apache.royale.textLayout.elements.IFlowElement"}, | |
{ "name": "parent", "type": "org.apache.royale.textLayout.elements.IFlowGroupElement"}, | |
{ "name": "index", "type": "int"}]} | |
, | |
{ "type": "method", | |
"qname": "moveElement", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"return": "org.apache.royale.textLayout.edit.IMemento", | |
"params": [{ "name": "textFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}, | |
{ "name": "elemToMove", "type": "org.apache.royale.textLayout.elements.IFlowElement"}, | |
{ "name": "parent", "type": "org.apache.royale.textLayout.elements.IFlowGroupElement"}, | |
{ "name": "index", "type": "int"}]} | |
, | |
{ "type": "method", | |
"qname": "removeElements", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"return": "org.apache.royale.textLayout.edit.IMemento", | |
"params": [{ "name": "textFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}, | |
{ "name": "elemtToRemoveParent", "type": "org.apache.royale.textLayout.elements.IFlowGroupElement"}, | |
{ "name": "startIndex", "type": "int"}, | |
{ "name": "numElements", "type": "int"}]} | |
, | |
{ "type": "method", | |
"qname": "deleteText", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"return": "org.apache.royale.textLayout.edit.IMemento", | |
"params": [{ "name": "textFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}, | |
{ "name": "absoluteStart", "type": "int"}, | |
{ "name": "absoluteEnd", "type": "int"}, | |
{ "name": "createMemento", "type": "Boolean"}]} | |
, | |
{ "type": "method", | |
"qname": "saveCurrentState", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"return": "org.apache.royale.textLayout.edit.IMemento", | |
"params": [{ "name": "textFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}, | |
{ "name": "absoluteStart", "type": "int"}, | |
{ "name": "absoluteEnd", "type": "int"}]} | |
] | |
} |