Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 849C311383 for ; Sat, 23 Aug 2014 08:51:25 +0000 (UTC) Received: (qmail 45044 invoked by uid 500); 23 Aug 2014 08:51:25 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 45016 invoked by uid 500); 23 Aug 2014 08:51:25 -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 45008 invoked by uid 99); 23 Aug 2014 08:51:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 08:51:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 08:51:20 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D4FB42388C9B for ; Sat, 23 Aug 2014 08:50:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r920222 [7/9] - in /websites/staging/flex/trunk: cgi-bin/ content/ content/tourdeflex/ content/tourdeflex/mx/ content/tourdeflex/mx/charts/ content/tourdeflex/mx/containers/ content/tourdeflex/mx/containers/assets/ content/tourdeflex/mx/con... Date: Sat, 23 Aug 2014 08:50:32 -0000 To: commits@flex.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140823085035.D4FB42388C9B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: websites/staging/flex/trunk/content/tourdeflex/spark/tlf/flashx/textLayout/ui/inspectors/ParagraphPropertyEditor.as ============================================================================== --- websites/staging/flex/trunk/content/tourdeflex/spark/tlf/flashx/textLayout/ui/inspectors/ParagraphPropertyEditor.as (added) +++ websites/staging/flex/trunk/content/tourdeflex/spark/tlf/flashx/textLayout/ui/inspectors/ParagraphPropertyEditor.as Sat Aug 23 08:50:20 2014 @@ -0,0 +1,226 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 flashx.textLayout.ui.inspectors +{ + import flash.text.engine.*; + + import flashx.textLayout.formats.Direction; + import flashx.textLayout.formats.FormatValue; + import flashx.textLayout.formats.TextJustify; + import flashx.textLayout.formats.TextLayoutFormat; + import flashx.textLayout.tlf_internal; + import flashx.textLayout.formats.LeadingModel; + use namespace tlf_internal; + + public class ParagraphPropertyEditor extends DynamicTextPropertyEditor + { + [Embed(source="./assets/align_start_icon.png")] + private var alignStartIcon:Class; + + [Embed(source="./assets/align_end_icon.png")] + private var alignEndIcon:Class; + + [Embed(source="./assets/align_left_icon.png")] + private var alignLeftIcon:Class; + + [Embed(source="./assets/align_center_icon.png")] + private var alignCenterIcon:Class; + + [Embed(source="./assets/align_right_icon.png")] + private var alignRightIcon:Class; + + [Embed(source="./assets/align_justify_icon.png")] + private var alignJustifyIcon:Class; + + [Embed(source="./assets/align_last_left_icon.png")] + private var alignLastLeftIcon:Class; + + [Embed(source="./assets/align_last_center_icon.png")] + private var alignLastCenterIcon:Class; + + [Embed(source="./assets/align_last_right_icon.png")] + private var alignLastRightIcon:Class; + + public function ParagraphPropertyEditor() + { + var recipe:XML = + + + + +