blob: d9d706712adf8898668395077b7319030871570a [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.textLayout.operations.ApplyElementStyleNameOperation",
"baseClassname": "org.apache.royale.textLayout.operations.FlowElementOperation"
,
"description": "The ApplyElementStyleNameOperation class encapsulates a style name change.",
"tags": [
{ "tagName": "see",
"values": ["org.apache.royale.textLayout.elements.FlowElement#styleName", "org.apache.royale.textLayout.edit.EditManager", "org.apache.royale.textLayout.events.FlowOperationEvent"]},
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "org.apache.royale.textLayout.operations.ApplyElementStyleNameOperation",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Creates a ApplyElementStyleNameOperation object. <p>If the <code>relativeStart</code> and <code>relativeEnd</code> parameters are set, then the existing element is split into multiple elements, the selected portion using the new style name and the rest using the existing style name.</p>",
"tags": [
{ "tagName": "param",
"values": ["operationState Describes the current selection.", "targetElement Specifies the element to change.", "newStyleName The style name to assign.", "relativeStart An offset from the beginning of the target element.", "relativeEnd An offset from the end of the target element."]},
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": [{ "name": "operationState", "type": "org.apache.royale.textLayout.edit.SelectionState"},
{ "name": "targetElement", "type": "org.apache.royale.textLayout.elements.IFlowElement"},
{ "name": "newStyleName", "type": "String"},
{ "name": "relativeStart", "type": "int"},
{ "name": "relativeEnd", "type": "int"}]}
,
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "newStyleName",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The style name assigned by this operation.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}