blob: 7cbeb8c678ad40235863d46635b331a42d83bece [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.textLayout.elements.GlobalSettings",
"baseClassname": ""
,
"description": "Configuration that applies to all TextFlow objects.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]} ],
"members": [
{ "type": "accessor",
"access": "read-write",
"return": "Function",
"qname": "fontMapperFunction",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "Specifies the callback used for font mapping. The callback takes a <code>org.apache.royale.text.engine.FontDescription</code> object and updates it as needed. After setting a new font mapping callback, or changing the behavior of the exisiting font mapping callback, the client must explicitly call <code>org.apache.royale.textLayout.elements.TextFlow.invalidateAllFormats</code> for each impacted text flow. This ensures that whenever a leaf element in the text flow is next recomposed, the FontDescription applied to it is recalculated, and the the callback is invoked.",
"tags": [
{ "tagName": "see",
"values": ["org.apache.royale.text.engine.FontDescription FontDescription", "TextFlow.invalidateAllFormats invalidateAllFormats"]},
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Boolean",
"qname": "enableSearch",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "Controls whether the text will be visible to a search engine indexer. Defaults to <code>true</code>.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Function",
"qname": "resolveFontLookupFunction",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "Specifies the callback used for changing the FontLookup based on swfcontext. The function will be called each time an ElementFormat is computed. It gives the client the opportunity to modify the FontLookup setting. The function is called with two parameters an ISWFContext and an ITextLayoutFormat. It must return a valid FontLookup.",
"tags": [
{ "tagName": "see",
"values": ["org.apache.royale.textLayout.compose.ISWFContext", "org.apache.royale.textLayout.formats.ITextLayoutFormat", "org.apache.royale.text.engine.ElementFormat", "org.apache.royale.text.engine.FontLookup"]},
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Function",
"qname": "resourceStringFunction",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "Function that takes two parameters, a resource id and an optional array of parameters to substitute into the string. The string is of form &quot;Content {0} more content {1}&quot;. The parameters are read from the optional array and substituted for the bracketed substrings. TLF provides a default implementation with default strings. Clients may replace this function with their own implementation for localization.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10", "AIR 1.5"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Boolean",
"qname": "enableDefaultTabStops",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "private",
"values": [""]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Boolean",
"qname": "alwaysCalculateWhitespaceBounds",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "private",
"values": [""]} ]},
{ "type": "field",
"qname": "playerEnablesSpicyFeatures",
"return": "Boolean",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {}},
{ "type": "field",
"qname": "hasTouchScreen",
"return": "Boolean",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {}}]
}