You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/07/28 14:29:43 UTC

[royale-asjs] branch develop updated: Core: add ITableView

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 3ca535a  Core: add ITableView
3ca535a is described below

commit 3ca535a1c4587f6c0fc23acd740761613c0e2f37
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Jul 28 16:29:30 2020 +0200

    Core: add ITableView
---
 .../projects/Core/src/main/royale/CoreClasses.as   |  1 +
 .../org/apache/royale/html/beads/ITableView.as     | 67 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/frameworks/projects/Core/src/main/royale/CoreClasses.as b/frameworks/projects/Core/src/main/royale/CoreClasses.as
index 0c31d05..d4b8e63 100644
--- a/frameworks/projects/Core/src/main/royale/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/royale/CoreClasses.as
@@ -40,6 +40,7 @@ internal class CoreClasses
 	import org.apache.royale.core.IIconSupport; IIconSupport;
 	import org.apache.royale.core.ITextInput; ITextInput;
 	import org.apache.royale.html.beads.IListView; IListView;
+	import org.apache.royale.html.beads.ITableView; ITableView;
 	import org.apache.royale.events.ItemAddedEvent; ItemAddedEvent;
 	import org.apache.royale.events.ItemRemovedEvent; ItemRemovedEvent;
 	import org.apache.royale.html.beads.IDropDownListView; IDropDownListView;
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/html/beads/ITableView.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/html/beads/ITableView.as
new file mode 100644
index 0000000..5f088f8
--- /dev/null
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/html/beads/ITableView.as
@@ -0,0 +1,67 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.royale.html.beads
+{	
+	import org.apache.royale.core.IBeadView;
+	import org.apache.royale.core.IItemRendererOwnerView;
+	import org.apache.royale.core.IParent;
+	
+	/**
+	 *  The ITableView interface provides the protocol for any bead that
+	 *  creates the visual parts for a Table control lie Jewel Table
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion Royale 0.10.0
+	 */
+	public interface ITableView extends IBeadView
+	{
+		/**
+		 *  The component which parents all of the itemRenderers for each
+		 *  datum being displayed by the List component.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion Royale 0.10.0
+		 */
+		function get dataGroup():IItemRendererOwnerView;
+		
+		/**
+		 *  The component which parents the header elements
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion Royale 0.10.0
+		 */
+		function get header():IParent;
+		
+		/**
+		 *  The component which parents the footer elements
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion Royale 0.10.0
+		 */
+		function get footer():IParent;
+	}
+}