001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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    }