Fixed FlexJSStore
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2ce4db35 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2ce4db35 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2ce4db35 Branch: refs/heads/feature/dragAndDrop Commit: 2ce4db356053482fb618256ae50b3d6fd300571c Parents: d104a2e Author: Harbs <[email protected]> Authored: Mon Aug 21 14:02:38 2017 +0300 Committer: Harbs <[email protected]> Committed: Mon Aug 21 14:02:38 2017 +0300 ---------------------------------------------------------------------- .../html/beads/layouts/VerticalFlexLayout.as | 1 + .../html/supportClasses/PanelLayoutProxy.as | 27 ++++++++++++++++++++ 2 files changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2ce4db35/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as index d0b1c23..436423d 100644 --- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as +++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as @@ -246,6 +246,7 @@ package org.apache.flex.html.beads.layouts /** * * @flexjsignorecoercion org.apache.flex.core.ILayoutHost + * @flexjsignorecoercion org.apache.flex.core.UIBase * * @langversion 3.0 * @playerversion Flash 10.2 http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2ce4db35/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/PanelLayoutProxy.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/PanelLayoutProxy.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/PanelLayoutProxy.as index 4ebc174..8189029 100644 --- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/PanelLayoutProxy.as +++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/PanelLayoutProxy.as @@ -66,6 +66,7 @@ package org.apache.flex.html.supportClasses } /** + * @flexjsignorecoercion org.apache.flex.html.Panel * The width of the bounding box. * * @langversion 3.0 @@ -78,6 +79,7 @@ package org.apache.flex.html.supportClasses } /** + * @flexjsignorecoercion org.apache.flex.html.Panel * The height of the bounding box. * * @langversion 3.0 @@ -90,6 +92,7 @@ package org.apache.flex.html.supportClasses } /** + * @flexjsignorecoercion org.apache.flex.html.Panel * The number of elements in the parent. * * @langversion 3.0 @@ -103,6 +106,7 @@ package org.apache.flex.html.supportClasses } /** + * @flexjsignorecoercion org.apache.flex.html.Panel * Get a component from the parent. * * @param c The index of the subcomponent. @@ -117,16 +121,39 @@ package org.apache.flex.html.supportClasses return (host as Panel).$getElementAt(index); } + /** + * @flexjsignorecoercion org.apache.flex.html.Panel + */ COMPILE::JS public function get somethingelse():WrappedHTMLElement { return (host as Panel).element; } + /** + * @flexjsignorecoercion org.apache.flex.html.Panel + */ COMPILE::JS public function get element():WrappedHTMLElement { return (host as Panel).element; } + + /** + * @flexjsignorecoercion org.apache.flex.html.Panel + * The display style is used for both visible + * and layout so is managed as a special case. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ + COMPILE::JS + public function setDisplayStyleForLayout(value:String):void + { + (host as Panel).setDisplayStyleForLayout(value); + } + } }
