[27/36] git commit: [flex-asjs] [refs/heads/feature/mdl] - Disabled bead
Disabled bead Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1f28492f Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1f28492f Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1f28492f Branch: refs/heads/feature/mdl Commit: 1f28492f341be3105f28991bf38213c2aa53c21a Parents: 3cfdd6e Author: Carlos RoviraAuthored: Wed Oct 26 23:19:29 2016 +0200 Committer: Carlos Rovira Committed: Sat Nov 5 00:18:33 2016 +0100 -- .../flexjs/MDLExample/src/main/flex/App.mxml| 3 +- .../flex/org/apache/flex/mdl/beads/Disabled.as | 80 .../src/main/resources/mdl-manifest.xml | 1 + 3 files changed, 83 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f28492f/examples/flexjs/MDLExample/src/main/flex/App.mxml -- diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml b/examples/flexjs/MDLExample/src/main/flex/App.mxml index 0507f21..472f556 100644 --- a/examples/flexjs/MDLExample/src/main/flex/App.mxml +++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml @@ -65,10 +65,11 @@ limitations under the License. - + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f28492f/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as -- diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as new file mode 100644 index 000..46067ff --- /dev/null +++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as @@ -0,0 +1,80 @@ + +// +// 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.mdl.beads +{ + import org.apache.flex.core.IBead; + import org.apache.flex.core.IStrand; + import org.apache.flex.core.UIBase; + import org.apache.flex.events.Event; + import org.apache.flex.events.IEventDispatcher; + + /** +* The Disabled bead class is a specialty bead that can be used to disable a MDL control. +* +* @langversion 3.0 +* @playerversion Flash 10.2 +* @playerversion AIR 2.6 +* @productversion FlexJS 0.0 +*/ + public class Disabled implements IBead + { + /** +* constructor. +* +* @langversion 3.0 +* @playerversion Flash 10.2 +* @playerversion AIR 2.6 +* @productversion FlexJS 0.0 +*/ + public function Disabled() + { + } + + private var _strand:IStrand; + + /** +* @copy org.apache.flex.core.IBead#strand +* +* @langversion 3.0 +* @playerversion Flash 10.2 +* @playerversion AIR 2.6 +* @productversion FlexJS 0.0 +* @flexjsignorecoercion HTMLInputElement +* @flexjsignorecoercion org.apache.flex.core.UIBase; +*/ + public function set strand(value:IStrand):void + { + _strand = value; + + COMPILE::JS +
[27/36] git commit: [flex-asjs] [refs/heads/feature/mdl] - Disabled bead
Disabled bead Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/77e03cff Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/77e03cff Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/77e03cff Branch: refs/heads/feature/mdl Commit: 77e03cff7cfc4863cbd0643039242776aa3143b9 Parents: f5a37d4 Author: Carlos RoviraAuthored: Wed Oct 26 23:19:29 2016 +0200 Committer: Carlos Rovira Committed: Fri Nov 4 23:48:31 2016 +0100 -- .../flexjs/MDLExample/src/main/flex/App.mxml| 3 +- .../flex/org/apache/flex/mdl/beads/Disabled.as | 80 .../src/main/resources/mdl-manifest.xml | 1 + 3 files changed, 83 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77e03cff/examples/flexjs/MDLExample/src/main/flex/App.mxml -- diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml b/examples/flexjs/MDLExample/src/main/flex/App.mxml index 0507f21..472f556 100644 --- a/examples/flexjs/MDLExample/src/main/flex/App.mxml +++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml @@ -65,10 +65,11 @@ limitations under the License. - + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77e03cff/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as -- diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as new file mode 100644 index 000..46067ff --- /dev/null +++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as @@ -0,0 +1,80 @@ + +// +// 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.mdl.beads +{ + import org.apache.flex.core.IBead; + import org.apache.flex.core.IStrand; + import org.apache.flex.core.UIBase; + import org.apache.flex.events.Event; + import org.apache.flex.events.IEventDispatcher; + + /** +* The Disabled bead class is a specialty bead that can be used to disable a MDL control. +* +* @langversion 3.0 +* @playerversion Flash 10.2 +* @playerversion AIR 2.6 +* @productversion FlexJS 0.0 +*/ + public class Disabled implements IBead + { + /** +* constructor. +* +* @langversion 3.0 +* @playerversion Flash 10.2 +* @playerversion AIR 2.6 +* @productversion FlexJS 0.0 +*/ + public function Disabled() + { + } + + private var _strand:IStrand; + + /** +* @copy org.apache.flex.core.IBead#strand +* +* @langversion 3.0 +* @playerversion Flash 10.2 +* @playerversion AIR 2.6 +* @productversion FlexJS 0.0 +* @flexjsignorecoercion HTMLInputElement +* @flexjsignorecoercion org.apache.flex.core.UIBase; +*/ + public function set strand(value:IStrand):void + { + _strand = value; + + COMPILE::JS +