You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/04/25 13:19:32 UTC

git commit: [flex-asjs] [refs/heads/dual] - Adding VGroup and HGroup classes to dual branch.

Repository: flex-asjs
Updated Branches:
  refs/heads/dual 8d8ba2f25 -> f22668baa


Adding VGroup and HGroup classes to dual branch.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f22668ba
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f22668ba
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f22668ba

Branch: refs/heads/dual
Commit: f22668baa44a9b6aca68493bde9cfd9b2a3c1a17
Parents: 8d8ba2f
Author: Peter Ent <pe...@apache.org>
Authored: Tue Apr 25 09:19:30 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Apr 25 09:19:30 2017 -0400

----------------------------------------------------------------------
 .../main/flex/org/apache/flex/html/HGroup.as    | 46 ++++++++++++++++++++
 .../main/flex/org/apache/flex/html/VGroup.as    | 46 ++++++++++++++++++++
 .../Basic/src/main/resources/basic-manifest.xml |  2 +
 .../Basic/src/main/resources/defaults.css       | 10 +++++
 4 files changed, 104 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f22668ba/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/HGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/HGroup.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/HGroup.as
new file mode 100644
index 0000000..c228d26
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/HGroup.as
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html
+{
+    /**
+     *  This Group subclass uses HorizontalLayout as its default layout.
+     *
+     *  @toplevel
+     *  @see org.apache.flex.html.beads.layout
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.8
+     */
+	public class HGroup extends Group
+	{
+        /**
+         *  Constructor.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
+		public function HGroup()
+		{
+			super();
+		}
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f22668ba/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/VGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/VGroup.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/VGroup.as
new file mode 100644
index 0000000..03d3e4f
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/VGroup.as
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html
+{
+    /**
+     *  This Group subclass uses VerticalLayout as its default layout.
+     *
+     *  @toplevel
+     *  @see org.apache.flex.html.beads.layout
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.8
+     */
+	public class VGroup extends Group
+	{
+        /**
+         *  Constructor.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
+		public function VGroup()
+		{
+			super();
+		}
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f22668ba/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
index 4e3d261..c9b49b8 100644
--- a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
@@ -47,6 +47,8 @@
     <component id="ComboBoxList" class="org.apache.flex.html.supportClasses.ComboBoxList"/>
     <component id="Container" class="org.apache.flex.html.Container"/>
     <component id="Group" class="org.apache.flex.html.Group"/>
+    <component id="HGroup" class="org.apache.flex.html.HGroup"/>
+    <component id="VGroup" class="org.apache.flex.html.VGroup"/>
     <component id="Accordion" class="org.apache.flex.html.Accordion"/>
     <component id="Form" class="org.apache.flex.html.Form"/>
     <component id="HContainer" class="org.apache.flex.html.HContainer"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f22668ba/frameworks/projects/Basic/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/defaults.css b/frameworks/projects/Basic/src/main/resources/defaults.css
index 1a944dd..f2893ce 100644
--- a/frameworks/projects/Basic/src/main/resources/defaults.css
+++ b/frameworks/projects/Basic/src/main/resources/defaults.css
@@ -267,6 +267,16 @@ DateField {
 	IFormatBead: ClassReference("org.apache.flex.html.accessories.DateFormatYYYYMMDDBead");
 }
 
+/* Groups */
+
+HGroup {
+	IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.HorizontalLayout");
+}
+
+VGroup {
+	IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.VerticalLayout");
+}
+
 /* RangeStepper */
 
 RangeStepper {