Updated Branches: refs/heads/release4.11.0 0d69cbea6 -> 782bbbc5b
Made Apache headers more in the style of other headers Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/782bbbc5 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/782bbbc5 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/782bbbc5 Branch: refs/heads/release4.11.0 Commit: 782bbbc5b56cf5d6631a1159bdd5ffed2ce8b686 Parents: 0d69cbe Author: Justin Mclean <jmcl...@apache.org> Authored: Mon Oct 7 11:02:35 2013 +1100 Committer: Justin Mclean <jmcl...@apache.org> Committed: Mon Oct 7 11:02:35 2013 +1100 ---------------------------------------------------------------------- .../itemRenderers/MenuBarItemRenderer.mxml | 41 ++++++++++--------- .../itemRenderers/MenuCoreItemRenderer.as | 2 + .../itemRenderers/MenuItemRenderer.mxml | 41 ++++++++++--------- .../experimental/src/spark/skins/AlertSkin.mxml | 41 ++++++++++--------- .../src/spark/skins/ColorPickerButtonSkin.mxml | 41 ++++++++++--------- .../src/spark/skins/ColorPickerSkin.mxml | 42 ++++++++++---------- .../src/spark/skins/MenuBarSkin.mxml | 41 ++++++++++--------- .../experimental/src/spark/skins/MenuSkin.mxml | 41 ++++++++++--------- .../src/spark/skins/ProgressBarSkin.mxml | 41 ++++++++++--------- 9 files changed, 163 insertions(+), 168 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuBarItemRenderer.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuBarItemRenderer.mxml b/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuBarItemRenderer.mxml index 64b65cd..baff180 100644 --- a/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuBarItemRenderer.mxml +++ b/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuBarItemRenderer.mxml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// +--> <itemRenderers:MenuCoreItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" @@ -6,27 +26,6 @@ minWidth="100" minHeight="20" rollOut="onRollOut(event)" useHandCursor="true" mouseChildren="false" buttonMode="true"> - <!-- - //////////////////////////////////////////////////////////////////////////////// - // - // 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. - // - //////////////////////////////////////////////////////////////////////////////// - @author Bogdan Dinu (http://www.badu.ro) - --> <s:BitmapImage left="0" top="0" id="icon" source="{iconSource}" includeInLayout="{hasIcon}" visible="{hasIcon}"/> <s:Label id="labelDisplay" textAlign="center" height="100%" width="100%" verticalAlign="middle"/> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuCoreItemRenderer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuCoreItemRenderer.as b/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuCoreItemRenderer.as index 4204fdc..06c32fe 100644 --- a/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuCoreItemRenderer.as +++ b/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuCoreItemRenderer.as @@ -36,6 +36,8 @@ package spark.components.itemRenderers { import spark.layouts.HorizontalLayout; import spark.layouts.VerticalLayout; + [Experimental] + /** * */ http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuItemRenderer.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuItemRenderer.mxml b/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuItemRenderer.mxml index 1b42fea..df6b2c3 100644 --- a/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuItemRenderer.mxml +++ b/frameworks/projects/experimental/src/spark/components/itemRenderers/MenuItemRenderer.mxml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// +--> <itemRenderers:MenuCoreItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" @@ -6,27 +26,6 @@ autoDrawBackground="{!isSeparator}" minWidth="150" minHeight="20" useHandCursor="true" mouseChildren="false" buttonMode="true"> - <!-- - //////////////////////////////////////////////////////////////////////////////// - // - // 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. - // - //////////////////////////////////////////////////////////////////////////////// - @author Bogdan Dinu (http://www.badu.ro) - --> <s:Group visible="{!isSeparator}" includeInLayout="{!isSeparator}" left="0" right="0" height="100%"> <s:BitmapImage left="0" top="0" id="icon" source="{iconSource}" includeInLayout="{hasIcon}" visible="{hasIcon}"/> <s:Label id="labelDisplay" left="16" right="10" height="100%" verticalAlign="middle"/> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml b/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml index dae14be..67afe58 100644 --- a/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml +++ b/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// +--> <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false" minWidth="131" minHeight="30" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5"> - <!-- - //////////////////////////////////////////////////////////////////////////////// - // - // 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. - // - //////////////////////////////////////////////////////////////////////////////// - @author Bogdan Dinu (http://www.badu.ro) - --> <fx:Metadata> <![CDATA[ [HostComponent("spark.components.Alert")] http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/skins/ColorPickerButtonSkin.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/skins/ColorPickerButtonSkin.mxml b/frameworks/projects/experimental/src/spark/skins/ColorPickerButtonSkin.mxml index 0b0dc3c..7651b4d 100644 --- a/frameworks/projects/experimental/src/spark/skins/ColorPickerButtonSkin.mxml +++ b/frameworks/projects/experimental/src/spark/skins/ColorPickerButtonSkin.mxml @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// +--> <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="24" minHeight="24"> - <!-- - //////////////////////////////////////////////////////////////////////////////// - // - // 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. - // - //////////////////////////////////////////////////////////////////////////////// - @author Bogdan Dinu (http://www.badu.ro) - --> <fx:Metadata> <![CDATA[ [HostComponent("spark.components.Button")] http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/skins/ColorPickerSkin.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/skins/ColorPickerSkin.mxml b/frameworks/projects/experimental/src/spark/skins/ColorPickerSkin.mxml index 21e15cb..c4e8544 100644 --- a/frameworks/projects/experimental/src/spark/skins/ColorPickerSkin.mxml +++ b/frameworks/projects/experimental/src/spark/skins/ColorPickerSkin.mxml @@ -1,27 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// +--> <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5" minWidth="24" currentStateChange="onStateChange(event)"> - <!-- - //////////////////////////////////////////////////////////////////////////////// - // - // 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. - // - //////////////////////////////////////////////////////////////////////////////// - @author Bogdan Dinu (http://www.badu.ro) - --> <fx:Metadata> <![CDATA[ [HostComponent("spark.components.ColorPicker")] http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/skins/MenuBarSkin.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/skins/MenuBarSkin.mxml b/frameworks/projects/experimental/src/spark/skins/MenuBarSkin.mxml index ed084cd..abee0da 100644 --- a/frameworks/projects/experimental/src/spark/skins/MenuBarSkin.mxml +++ b/frameworks/projects/experimental/src/spark/skins/MenuBarSkin.mxml @@ -1,29 +1,28 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// +--> <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="112" minHeight="30" alpha.disabled="0.5" blendMode="normal"> - <!-- - //////////////////////////////////////////////////////////////////////////////// - // - // 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. - // - //////////////////////////////////////////////////////////////////////////////// - @author Bogdan Dinu (http://www.badu.ro) - --> <fx:Metadata> <![CDATA[ /** http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/skins/MenuSkin.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/skins/MenuSkin.mxml b/frameworks/projects/experimental/src/spark/skins/MenuSkin.mxml index 2b174fc..b3493e9 100644 --- a/frameworks/projects/experimental/src/spark/skins/MenuSkin.mxml +++ b/frameworks/projects/experimental/src/spark/skins/MenuSkin.mxml @@ -1,29 +1,28 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// +--> <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="112" minHeight="30" alpha.disabled="0.5" blendMode="normal"> - <!-- - //////////////////////////////////////////////////////////////////////////////// - // - // 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. - // - //////////////////////////////////////////////////////////////////////////////// - @author Bogdan Dinu (http://www.badu.ro) - --> <fx:Metadata> <![CDATA[ /** http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/782bbbc5/frameworks/projects/experimental/src/spark/skins/ProgressBarSkin.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/experimental/src/spark/skins/ProgressBarSkin.mxml b/frameworks/projects/experimental/src/spark/skins/ProgressBarSkin.mxml index 4c24ac8..a38fe60 100644 --- a/frameworks/projects/experimental/src/spark/skins/ProgressBarSkin.mxml +++ b/frameworks/projects/experimental/src/spark/skins/ProgressBarSkin.mxml @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// +--> <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> - <!-- - //////////////////////////////////////////////////////////////////////////////// - // - // 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. - // - //////////////////////////////////////////////////////////////////////////////// - @author Bogdan Dinu (http://www.badu.ro) - --> <fx:Metadata> [HostComponent("spark.components.ProgressBar")] </fx:Metadata>