blob: 8a3dc125f6b7975f6f72934239a89317a4350b98 [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.core.LayoutBase",
"baseClassname": "org.apache.royale.core.Bead"
,
"description": "This class is the base class for most, if not all, layouts.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "org.apache.royale.core.LayoutBase",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructor.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": []}
,
{ "type": "field",
"qname": "host",
"return": "org.apache.royale.core.ILayoutChild",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The strand/host container is also an ILayoutChild because it can have its size dictated by the host's parent which is important to know for layout optimization.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "write-only",
"return": "org.apache.royale.core.IStrand",
"qname": "strand",
"namespace": "public",
"bindable": [],
"details": ["override"],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "copy",
"values": ["org.apache.royale.core.IBead#strand"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.ILayoutChild"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "method",
"qname": "handleSizeChange",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Changes in size to the host strand are handled (by default) by running the layout sequence. Subclasses can override this function and use event.type to handle specific changes in dimension.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "event", "type": "org.apache.royale.events.Event"}]}
,
{ "type": "method",
"qname": "handleChildrenAdded",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Handles the addition of children to the host's layoutView by listening for size changes in the children.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "event", "type": "org.apache.royale.events.Event"}]}
,
{ "type": "method",
"qname": "childResizeHandler",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "If changes happen to a layoutView's child, this function will perform the layout again.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.ILayoutParent"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "event", "type": "org.apache.royale.events.Event"}]}
,
{ "type": "method",
"qname": "handleLayoutNeeded",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Called whenever "layoutNeeded" event is dispatched against the host strand.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "event", "type": "org.apache.royale.events.Event"}]}
,
{ "type": "method",
"qname": "handleInitComplete",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Handles the final start-up condition by running the layout an initial time.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "event", "type": "org.apache.royale.events.Event"}]}
,
{ "type": "method",
"qname": "childMargins",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Returns an object of margins for the given child.",
"tags": [
{ "tagName": "param",
"values": ["child Object The element whose margins are required.", "hostWidth Number The usable width dimension of the host.", "hostHeight Number The usable height dimension of the host."]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.IBorderPaddingMarginValuesImpl", "org.apache.royale.core.IUIBase"]},
{ "tagName": "return",
"values": ["Object A structure of {top:Number, left:Number, bottom:Number, right:Number}"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "org.apache.royale.core.layout.MarginData",
"params": [{ "name": "child", "type": "Object"},
{ "name": "hostWidth", "type": "Number"},
{ "name": "hostHeight", "type": "Number"}]}
,
{ "type": "method",
"qname": "childPositions",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Returns an object containing the child's positioning values.",
"tags": [
{ "tagName": "param",
"values": ["child Object The element whose positions are required."]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.IBorderPaddingMarginValuesImpl", "org.apache.royale.core.IUIBase"]},
{ "tagName": "return",
"values": ["Object A structure of {top:Number, left:Number, bottom:Number, right:Number}"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "org.apache.royale.core.layout.EdgeData",
"params": [{ "name": "child", "type": "Object"}]}
,
{ "type": "accessor",
"access": "read-only",
"return": "org.apache.royale.core.ILayoutView",
"qname": "layoutView",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Returns the ILayoutView for the host.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.ILayoutParent"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "isLayoutRunning",
"return": "Boolean",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {}},
{ "type": "method",
"qname": "performLayout",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Performs the layout in three parts: before, layout, after.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.ILayoutParent", "org.apache.royale.events.IEventDispatcher"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "layout",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "copy",
"values": ["org.apache.royale.core.IBeadLayout#layout"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "Boolean",
"params": []}
]
}