{ "type": "interface", | |
"qname": "org.apache.royale.textLayout.elements.IFormatResolver", | |
"description": "Interface to a format resolver. An implementation allows you to attach a styling mechanism of your choosing, such as Flex CSS styling and named styles, to a ITextFlow.", | |
"tags": [ | |
{ "tagName": "see", | |
"values": ["org.apache.royale.textLayout.elements.ITextFlow#formatResolver ITextFlow.formatResolver"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"members": [ | |
{ "type": "method", | |
"qname": "invalidateAll", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Invalidates any cached formatting information for a ITextFlow so that formatting must be recomputed.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "void", | |
"params": [{ "name": "textFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}]} | |
, | |
{ "type": "method", | |
"qname": "invalidate", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Invalidates cached formatting information on this element because, for example, the <code>parent</code> changed, or the <code>id</code> or the <code>styleName</code> changed or the <code>typeName</code> changed.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]} ], | |
"return": "void", | |
"params": [{ "name": "target", "type": "Object"}]} | |
, | |
{ "type": "method", | |
"qname": "resolveFormat", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Given a FlowElement or ContainerController object, return any format settings for it.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "return", | |
"values": ["format settings for the specified object."]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "org.apache.royale.textLayout.formats.ITextLayoutFormat", | |
"params": [{ "name": "target", "type": "Object"}]} | |
, | |
{ "type": "method", | |
"qname": "resolveUserFormat", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Given a FlowElement or ContainerController object and the name of a format property, return the format value or <code>undefined</code> if the value is not found.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "return", | |
"values": ["the value of the specified format for the specified object."]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "*", | |
"params": [{ "name": "target", "type": "Object"}, | |
{ "name": "userFormat", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "getResolverForNewFlow", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Returns the format resolver when a ITextFlow is copied.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "return", | |
"values": ["the format resolver for the copy of the ITextFlow."]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "org.apache.royale.textLayout.elements.IFormatResolver", | |
"params": [{ "name": "oldFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}, | |
{ "name": "newFlow", "type": "org.apache.royale.textLayout.elements.ITextFlow"}]} | |
] | |
} |