Merge branch 'containerwork' into develop * containerwork: "layoutComplete" event now dispatched by GroupView rather than individual layouts. SWF-side border and background beads now listen for layout changes as another indicator they need to redraw. Renamed ILayoutObject to ILayoutView which is more descriptive. Updated Effects package to use new interfaces. Tweaked the horizontal scrollbar layout. Fixed scrolling for Panels. List now extends DataContainer; ListView extends DataContainerView. Fixed DateChooser and DataContainer. Updates to some layouts. Major overhaul of containers and layouts.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6cac2118 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6cac2118 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6cac2118 Branch: refs/heads/tlf Commit: 6cac21189380cc5046817d8f2249512e3509bf72 Parents: 405fe49 e3a883a Author: Peter Ent <[email protected]> Authored: Thu Mar 23 11:59:08 2017 -0400 Committer: Peter Ent <[email protected]> Committed: Thu Mar 23 11:59:08 2017 -0400 ---------------------------------------------------------------------- frameworks/build.xml | 6 +- .../src/main/flex/org/apache/flex/html/VRule.as | 14 +- .../projects/Core/src/main/flex/CoreClasses.as | 1 + .../flex/org/apache/flex/core/IContainer.as | 6 + .../org/apache/flex/core/IItemRendererParent.as | 4 +- .../flex/org/apache/flex/core/ILayoutHost.as | 6 +- .../flex/org/apache/flex/core/ILayoutView.as | 86 +++ .../main/flex/org/apache/flex/core/IViewport.as | 2 +- .../org/apache/flex/core/SimpleCSSStyles.as | 8 +- .../flex/org/apache/flex/utils/LayoutTweener.as | 31 +- .../org/apache/flex/utils/MockContentView.as | 101 ++-- .../org/apache/flex/utils/MockLayoutHost.as | 12 +- .../org/apache/flex/utils/MockLayoutParent.as | 131 ++--- .../projects/HTML/src/main/flex/HTMLClasses.as | 5 +- .../flex/org/apache/flex/core/ContainerBase.as | 21 +- .../main/flex/org/apache/flex/core/GroupBase.as | 28 +- .../src/main/flex/org/apache/flex/core/IList.as | 48 ++ .../main/flex/org/apache/flex/core/ListBase.as | 100 ++-- .../main/flex/org/apache/flex/core/UIBase.as | 10 +- .../flex/org/apache/flex/core/UIButtonBase.as | 2 +- .../src/main/flex/org/apache/flex/core/View.as | 5 +- .../main/flex/org/apache/flex/core/ViewBase.as | 28 +- .../main/flex/org/apache/flex/html/ButtonBar.as | 38 +- .../flex/org/apache/flex/html/ButtonBase.as | 1 - .../main/flex/org/apache/flex/html/CheckBox.as | 2 +- .../main/flex/org/apache/flex/html/Container.as | 121 ++-- .../flex/org/apache/flex/html/ControlBar.as | 39 +- .../flex/org/apache/flex/html/DataContainer.as | 187 +++++-- .../flex/org/apache/flex/html/DateChooser.as | 4 +- .../flex/org/apache/flex/html/DropDownList.as | 54 +- .../src/main/flex/org/apache/flex/html/Form.as | 22 +- .../src/main/flex/org/apache/flex/html/Group.as | 34 +- .../flex/org/apache/flex/html/HContainer.as | 2 +- .../src/main/flex/org/apache/flex/html/HRule.as | 16 +- .../src/main/flex/org/apache/flex/html/Image.as | 14 +- .../org/apache/flex/html/ImageAndTextButton.as | 34 +- .../flex/org/apache/flex/html/ImageButton.as | 12 +- .../src/main/flex/org/apache/flex/html/List.as | 184 +------ .../flex/org/apache/flex/html/MXMLBeadView.as | 4 +- .../flex/org/apache/flex/html/NumericStepper.as | 2 +- .../src/main/flex/org/apache/flex/html/Panel.as | 86 ++- .../org/apache/flex/html/PanelWithControlBar.as | 48 +- .../flex/org/apache/flex/html/RadioButton.as | 2 +- .../flex/org/apache/flex/html/SimpleList.as | 18 +- .../main/flex/org/apache/flex/html/Slider.as | 40 +- .../main/flex/org/apache/flex/html/Spinner.as | 2 +- .../main/flex/org/apache/flex/html/TextArea.as | 26 +- .../main/flex/org/apache/flex/html/TextInput.as | 44 +- .../main/flex/org/apache/flex/html/TitleBar.as | 5 +- .../flex/org/apache/flex/html/VContainer.as | 2 +- .../src/main/flex/org/apache/flex/html/VRule.as | 14 +- .../html/beads/AccordionItemRendererView.as | 4 +- .../org/apache/flex/html/beads/AccordionView.as | 1 + .../org/apache/flex/html/beads/ContainerView.as | 420 +++++--------- .../apache/flex/html/beads/DataContainerView.as | 115 ++-- .../org/apache/flex/html/beads/DataGridView.as | 13 +- .../DataItemRendererFactoryForArrayData.as | 31 +- .../DataItemRendererFactoryForArrayList.as | 46 +- .../DataItemRendererFactoryForColumnData.as | 26 +- .../apache/flex/html/beads/DateChooserView.as | 120 ++-- .../apache/flex/html/beads/DropDownListView.as | 1 + .../org/apache/flex/html/beads/GroupView.as | 241 ++++++-- .../flex/html/beads/HScrollBarTrackView.as | 5 +- .../flex/org/apache/flex/html/beads/ListView.as | 117 ++-- .../org/apache/flex/html/beads/PanelView.as | 225 +++++--- .../flex/html/beads/PanelWithControlBarView.as | 154 ++---- .../flex/html/beads/SingleLineBorderBead.as | 6 +- .../flex/html/beads/SolidBackgroundBead.as | 9 +- .../TextItemRendererFactoryForArrayData.as | 12 +- ...extItemRendererFactoryForStringVectorData.as | 24 +- .../apache/flex/html/beads/TitleBarView.mxml | 8 +- .../flex/html/beads/layouts/BasicLayout.as | 68 ++- .../flex/html/beads/layouts/ButtonBarLayout.as | 110 ++-- .../flex/html/beads/layouts/DataGridLayout.as | 63 ++- .../beads/layouts/DataGridPercentageLayout.as | 167 ++++-- .../FlexibleFirstChildHorizontalLayout.as | 228 ++++---- .../flex/html/beads/layouts/HScrollBarLayout.as | 12 +- .../html/beads/layouts/HorizontalFlexLayout.as | 188 +++++-- .../html/beads/layouts/HorizontalFlowLayout.as | 45 +- .../flex/html/beads/layouts/HorizontalLayout.as | 333 ++++------- .../layouts/OneFlexibleChildHorizontalLayout.as | 389 ++++++------- .../layouts/OneFlexibleChildVerticalLayout.as | 547 +++++++------------ .../flex/html/beads/layouts/TileLayout.as | 11 +- .../html/beads/layouts/VerticalColumnLayout.as | 43 +- .../html/beads/layouts/VerticalFlexLayout.as | 190 +++++-- .../flex/html/beads/layouts/VerticalLayout.as | 306 +++-------- .../flex/html/beads/models/ButtonBarModel.as | 102 ++++ .../ButtonBarButtonItemRenderer.as | 1 + .../flex/html/supportClasses/CheckBoxIcon.as | 2 +- .../html/supportClasses/ClippingViewport.as | 11 +- .../html/supportClasses/ContainerContentArea.as | 48 +- .../flex/html/supportClasses/DataContentBead.as | 124 +++++ .../DataGridButtonBarButtonItemRenderer.as | 11 + .../flex/html/supportClasses/DataGroup.as | 10 +- .../html/supportClasses/DataItemRenderer.as | 2 +- .../html/supportClasses/DateChooserHeader.as | 10 +- .../html/supportClasses/GroupContentProxy.as | 91 +++ .../html/supportClasses/MXMLItemRenderer.as | 15 +- .../html/supportClasses/PanelLayoutProxy.as | 132 +++++ .../flex/html/supportClasses/RadioButtonIcon.as | 2 +- .../html/supportClasses/ScrollingViewport.as | 317 +++++------ .../html/supportClasses/StringItemRenderer.as | 54 +- .../apache/flex/html/supportClasses/Viewport.as | 56 +- .../main/flex/org/apache/flex/svg/DOMWrapper.as | 6 +- .../org/apache/flex/svg/GraphicContainer.as | 60 +- .../flex/org/apache/flex/svg/GraphicShape.as | 8 +- .../src/main/flex/org/apache/flex/svg/Image.as | 24 +- .../HTML/src/main/resources/defaults.css | 147 +++-- 108 files changed, 3967 insertions(+), 3256 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6cac2118/frameworks/projects/Core/src/main/flex/CoreClasses.as ----------------------------------------------------------------------
