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 1e207a6 jewel-group: docs and clean along with royale-docs page just
added
1e207a6 is described below
commit 1e207a677f67d43c7b519a557df15b80abccf495
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu Aug 13 10:57:37 2020 +0200
jewel-group: docs and clean along with royale-docs page just added
---
.../src/main/royale/org/apache/royale/jewel/Group.as | 20 +++++---------------
.../royale/jewel/supportClasses/group/GroupBase.as | 19 +++++++++++--------
2 files changed, 16 insertions(+), 23 deletions(-)
diff --git
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Group.as
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Group.as
index 4712e69..1a25859 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Group.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Group.as
@@ -25,16 +25,6 @@ package org.apache.royale.jewel
import org.apache.royale.utils.MXMLDataInterpreter;
/**
- * Indicates that the children of the container is have been added.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion Royale 0.8
- */
- [Event(name="childrenAdded", type="org.apache.royale.events.Event")]
-
- /**
* The default property uses when additional MXML content appears
within an element's
* definition in an MXML file.
*/
@@ -42,12 +32,12 @@ package org.apache.royale.jewel
/**
* The Jewel Group class provides a light-weight container for visual
elements. By default
- * the Group does not have a layout, allowing its children to be sized
and positioned
- * using styles or CSS.
+ * the Group have a Basiclayout, allowing its children to be sized and
positioned using absolute
+ * values.
*
* @toplevel
* @see org.apache.royale.jewel.beads.layout
- * @see org.apache.royale.jewel.supportClasses.jewel.ScrollingViewport
+ * @see org.apache.royale.jewel.supportClasses.Viewport
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -93,8 +83,6 @@ package org.apache.royale.jewel
dispatchEvent(new Event("initBindings"));
dispatchEvent(new Event("initComplete"));
_initialized = true;
-
- //?? why was this added here? childrenAdded();
//?? Is this needed since MXMLDataInterpreter will already have called it
}
}
@@ -134,6 +122,8 @@ package org.apache.royale.jewel
}
/**
+ * The array of childs for this group. Is the
`DefaultProperty`.
+ *
* @copy
org.apache.royale.core.ItemRendererClassFactory#mxmlContent
*
* @langversion 3.0
diff --git
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/group/GroupBase.as
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/group/GroupBase.as
index 6db9f15..a139e62 100644
---
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/group/GroupBase.as
+++
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/group/GroupBase.as
@@ -79,6 +79,9 @@ package org.apache.royale.jewel.supportClasses.group
* in Royale. It is usable as the root tag of MXML
* documents and UI controls and containers are added to it.
*
+ * Unlike Basic version that inherits from UIBase, this class inherits
from
+ * StyledUIBase that's the main class for Jewel components and containers
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -108,6 +111,9 @@ package org.apache.royale.jewel.supportClasses.group
return addElementToWrapper(this,'div');
}
+ /**
+ * @private
+ */
override public function addedToParent():void
{
super.addedToParent();
@@ -177,7 +183,6 @@ package org.apache.royale.jewel.supportClasses.group
}
private var _states:Array;
-
/**
* The array of view states. These should
* be instances of org.apache.royale.states.State.
@@ -191,7 +196,6 @@ package org.apache.royale.jewel.supportClasses.group
{
return _states;
}
-
/**
* @private
* @royaleignorecoercion Class
@@ -213,7 +217,6 @@ package org.apache.royale.jewel.supportClasses.group
trace(e.message);
}
}
-
}
/**
@@ -239,8 +242,6 @@ package org.apache.royale.jewel.supportClasses.group
}
private var _currentState:String;
-
- [Bindable("currentStateChange")]
/**
* The name of the current state.
*
@@ -249,11 +250,11 @@ package org.apache.royale.jewel.supportClasses.group
* @playerversion AIR 2.6
* @productversion Royale 0.9.7
*/
+ [Bindable("currentStateChange")]
public function get currentState():String
{
return _currentState;
}
-
/**
* @private
*/
@@ -266,7 +267,6 @@ package org.apache.royale.jewel.supportClasses.group
}
private var _transitions:Array;
-
/**
* The array of transitions.
*
@@ -279,7 +279,6 @@ package org.apache.royale.jewel.supportClasses.group
{
return _transitions;
}
-
/**
* @private
*/
@@ -288,6 +287,10 @@ package org.apache.royale.jewel.supportClasses.group
_transitions = value;
}
+ /*
+ * IParent
+ */
+
/**
* @private
*/