001    package echopoint.able;
002    
003    import nextapp.echo.app.Alignment;
004    
005    /* 
006     * This file is part of the Echo Point Project.  This project is a collection
007     * of Components that have extended the Echo Web Application Framework.
008     *
009     * Version: MPL 1.1/GPL 2.0/LGPL 2.1
010     *
011     * The contents of this file are subject to the Mozilla Public License Version
012     * 1.1 (the "License"); you may not use this file except in compliance with
013     * the License. You may obtain a copy of the License at
014     * http://www.mozilla.org/MPL/
015     *
016     * Software distributed under the License is distributed on an "AS IS" basis,
017     * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
018     * for the specific language governing rights and limitations under the
019     * License.
020     *
021     * Alternatively, the contents of this file may be used under the terms of
022     * either the GNU General Public License Version 2 or later (the "GPL"), or
023     * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
024     * in which case the provisions of the GPL or the LGPL are applicable instead
025     * of those above. If you wish to allow use of your version of this file only
026     * under the terms of either the GPL or the LGPL, and not to allow others to
027     * use your version of this file under the terms of the MPL, indicate your
028     * decision by deleting the provisions above and replace them with the notice
029     * and other provisions required by the GPL or the LGPL. If you do not delete
030     * the provisions above, a recipient may use your version of this file under
031     * the terms of any one of the MPL, the GPL or the LGPL.
032     */
033    
034    /**
035     * The <code>Alignable</code> interface is used specify an Alignmeent value.
036     * 
037     * A given implemetor of this interface is free to only support a given 
038     * subset of Alignment values (for example Alignment.TOP but not Alignment.BOTTOM). 
039     */
040    public interface Alignable extends Delegateable {
041    
042            public static final String PROPERTY_ALIGNMENT = "alignment";
043    
044            /**
045             * Returns the Alignment in use
046             * 
047             * @return the Alignment in use
048             */
049            public Alignment getAlignment();
050    
051            /**
052             * Sets the Alignment in use
053             * 
054             * @param newValue -
055             *            the Alignment to be used
056             */
057            public void setAlignment(Alignment newValue);
058    }