http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0d6e7b32/frameworks/projects/spark/src/spark/components/ContentBackgroundAppearance.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/spark/src/spark/components/ContentBackgroundAppearance.as b/frameworks/projects/spark/src/spark/components/ContentBackgroundAppearance.as new file mode 100644 index 0000000..13f0f0a --- /dev/null +++ b/frameworks/projects/spark/src/spark/components/ContentBackgroundAppearance.as @@ -0,0 +1,72 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 spark.components +{ + +/** + * The ContentBackgroundAppearance class defines the constants for the + * allowed values of the <code>contentBackgroundAppearance</code> style of + * Callout. + * + * @see spark.components.Callout#style:contentBackgroundAppearance + * + * @langversion 3.0 + * @playerversion AIR 3 + * @productversion Flex 4.6 + */ +public final class ContentBackgroundAppearance +{ + //-------------------------------------------------------------------------- + // + // Class constants + // + //-------------------------------------------------------------------------- + + /** + * Applies a shadow and mask to the contentGroup. + * + * @langversion 3.0 + * @playerversion AIR 3 + * @productversion Flex 4.6 + */ + public static const INSET:String = "inset"; + + /** + * Applies mask to the contentGroup. + * + * @langversion 3.0 + * @playerversion AIR 3 + * @productversion Flex 4.6 + */ + public static const FLAT:String = "flat"; + + /** + * Disables both the <code>contentBackgroundColor</code> style and + * contentGroup masking. Use this value when Callout's contents should + * appear directly on top of the <code>backgroundColor</code> or when + * contents provide their own masking. + * + * @langversion 3.0 + * @playerversion AIR 3 + * @productversion Flex 4.6 + */ + public static const NONE:String = "none"; +} +} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0d6e7b32/frameworks/projects/spark/src/spark/core/ContainerDestructionPolicy.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/spark/src/spark/core/ContainerDestructionPolicy.as b/frameworks/projects/spark/src/spark/core/ContainerDestructionPolicy.as new file mode 100644 index 0000000..2ae91f1 --- /dev/null +++ b/frameworks/projects/spark/src/spark/core/ContainerDestructionPolicy.as @@ -0,0 +1,62 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 spark.core +{ +/** + * The ContainerCreationPolicy class defines the constant values + * for the <code>destructionPolicy</code> property of spark view + * classes. + * + * @see spark.components.supportClasses.ViewNavigatorBase#destructionPolicy + * @see spark.components.View#destructionPolicy + * + * @langversion 3.0 + * @playerversion AIR 2.5 + * @productversion Flex 4.5 + */ +public final class ContainerDestructionPolicy +{ + //-------------------------------------------------------------------------- + // + // Class constants + // + //-------------------------------------------------------------------------- + + /** + * The lifespan of the container's children is automatically + * managed by the container based on the container's own + * heuristic. + * + * @langversion 3.0 + * @playerversion AIR 2.5 + * @productversion Flex 4.5 + */ + public static const AUTO:String = "auto"; + + /** + * The container never destroys its children. + * + * @langversion 3.0 + * @playerversion AIR 2.5 + * @productversion Flex 4.5 + */ + public static const NEVER:String = "never"; +} +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0d6e7b32/frameworks/spark-manifest.xml ---------------------------------------------------------------------- diff --git a/frameworks/spark-manifest.xml b/frameworks/spark-manifest.xml index 5574a7d..5ae7f02 100644 --- a/frameworks/spark-manifest.xml +++ b/frameworks/spark-manifest.xml @@ -53,6 +53,8 @@ <component id="ButtonBarHorizontalLayout" class="spark.components.supportClasses.ButtonBarHorizontalLayout"/> <component id="ButtonBase" class="spark.components.supportClasses.ButtonBase"/> <component id="CallAction" class="spark.effects.CallAction"/> + <component id="Callout" class="spark.components.Callout"/> + <component id="CalloutButton" class="spark.components.CalloutButton"/> <component id="CellPosition" class="spark.components.gridClasses.CellPosition"/> <component id="CellRegion" class="spark.components.gridClasses.CellRegion"/> <component id="CheckBox" class="spark.components.CheckBox"/>
