001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.taglib.ui;
016    
017    import com.liferay.portal.kernel.dao.search.SearchEntry;
018    import com.liferay.portal.kernel.util.StringPool;
019    import com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl;
020    
021    /**
022     * @author Raymond Augé
023     */
024    public abstract class SearchContainerColumnTag
025            extends ParamAndPropertyAncestorTagImpl {
026    
027            public String getAlign() {
028                    return align;
029            }
030    
031            public int getColspan() {
032                    return colspan;
033            }
034    
035            public int getIndex() {
036                    return index;
037            }
038    
039            public String getName() {
040                    return name;
041            }
042    
043            public String getValign() {
044                    return valign;
045            }
046    
047            public void setAlign(String align) {
048                    this.align = align;
049            }
050    
051            public void setColspan(int colspan) {
052                    this.colspan = colspan;
053            }
054    
055            public void setIndex(int index) {
056                    this.index = index;
057            }
058    
059            public void setName(String name) {
060                    this.name = name;
061            }
062    
063            public void setValign(String valign) {
064                    this.valign = valign;
065            }
066    
067            protected String align = SearchEntry.DEFAULT_ALIGN;
068            protected int colspan = SearchEntry.DEFAULT_COLSPAN;
069            protected int index = -1;
070            protected String name = StringPool.BLANK;
071            protected String valign = SearchEntry.DEFAULT_VALIGN;
072    
073    }