Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D201B200BD7 for ; Sat, 5 Nov 2016 08:46:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D0ACB160B11; Sat, 5 Nov 2016 07:46:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A8749160B19 for ; Sat, 5 Nov 2016 08:46:50 +0100 (CET) Received: (qmail 81999 invoked by uid 500); 5 Nov 2016 07:46:46 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 81211 invoked by uid 99); 5 Nov 2016 07:46:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2016 07:46:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2E24DF159D; Sat, 5 Nov 2016 07:46:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cdutz@apache.org To: commits@flex.apache.org Date: Sat, 05 Nov 2016 07:47:16 -0000 Message-Id: <937d74aeed054d1e8b5d62f19fe4b20f@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [32/50] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/closure-classpath-sources] - move ImageBase to HTML archived-at: Sat, 05 Nov 2016 07:46:52 -0000 move ImageBase to HTML Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ef2b90a1 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ef2b90a1 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ef2b90a1 Branch: refs/heads/feature-autobuild/closure-classpath-sources Commit: ef2b90a1022989dc923fb610461f4714120f555d Parents: e020ba8 Author: Alex Harui Authored: Mon Oct 31 09:32:05 2016 -0700 Committer: Alex Harui Committed: Tue Nov 1 08:02:15 2016 -0700 ---------------------------------------------------------------------- .../main/flex/org/apache/flex/core/ImageBase.as | 84 -------------------- .../main/flex/org/apache/flex/core/ImageBase.as | 84 ++++++++++++++++++++ 2 files changed, 84 insertions(+), 84 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef2b90a1/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as deleted file mode 100644 index 71454a7..0000000 --- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as +++ /dev/null @@ -1,84 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// 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.core -{ - import org.apache.flex.core.IImage; - import org.apache.flex.core.IImageModel; - import org.apache.flex.core.UIBase; - - /** - * The ImageBase class serves as a base class for components that displays a bitmap. The Image uses - * the following beads: - * - * org.apache.flex.core.IBeadModel: the data model for the Image, including the url/binary property. - * org.apache.flex.core.IBeadView: constructs the visual elements of the component. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public class ImageBase extends UIBase implements IImage - { - /** - * constructor. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function ImageBase() - { - super(); - } - - /** - * The location of the bitmap, usually a URL. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - * @flexjsignorecoercion org.apache.flex.core.IImageModel - */ - public function get url():String - { - return (model as IImageModel).url; - } - public function set url(value:String):void - { - (model as IImageModel).url = value; - } - - COMPILE::JS - public function get imageElement():Element - { - return null; - // override this - } - - COMPILE::JS - public function applyImageData(binaryDataAsString:String):void - { - // override this - } - - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef2b90a1/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as new file mode 100644 index 0000000..71454a7 --- /dev/null +++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as @@ -0,0 +1,84 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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.core +{ + import org.apache.flex.core.IImage; + import org.apache.flex.core.IImageModel; + import org.apache.flex.core.UIBase; + + /** + * The ImageBase class serves as a base class for components that displays a bitmap. The Image uses + * the following beads: + * + * org.apache.flex.core.IBeadModel: the data model for the Image, including the url/binary property. + * org.apache.flex.core.IBeadView: constructs the visual elements of the component. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ + public class ImageBase extends UIBase implements IImage + { + /** + * constructor. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ + public function ImageBase() + { + super(); + } + + /** + * The location of the bitmap, usually a URL. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + * @flexjsignorecoercion org.apache.flex.core.IImageModel + */ + public function get url():String + { + return (model as IImageModel).url; + } + public function set url(value:String):void + { + (model as IImageModel).url = value; + } + + COMPILE::JS + public function get imageElement():Element + { + return null; + // override this + } + + COMPILE::JS + public function applyImageData(binaryDataAsString:String):void + { + // override this + } + + } +}