Package org.xulfaces.tag.tree

Source Code of org.xulfaces.tag.tree.TreeColsTag

/*
*   xulfaces : bring XUL power to Java
*  
*  Copyright (C) 2005  Olivier SCHMITT
*  This library is free software; you can redistribute it and/or
*  modify it under the terms of the GNU Lesser General Public
*  License as published by the Free Software Foundation; either
*  version 2.1 of the License, or (at your option) any later version.
*
*  This library is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
*  Lesser General Public License for more details.
*
*  You should have received a copy of the GNU Lesser General Public
*  License along with this library; if not, write to the Free Software
*  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/


package org.xulfaces.tag.tree;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;

import org.xulfaces.annotation.taglib.ATTRIBUTE;
import org.xulfaces.annotation.taglib.TAG;
import org.xulfaces.tag.XULComponentTag;

/**
*
* @author kito31
* @version $Id: TreeColsTag.java,v 1.4 2007/05/08 14:21:31 kito31 Exp $
*/
@TAG(name="treecols",description="Defines a treecols (see XUL treecolsl element).")
public class TreeColsTag extends XULComponentTag {
 
  @ATTRIBUTE(description="The text for the tooltip on the column picker.")
  private String pickertooltiptext;
     
    public String getComponentType() {
        return "xul.component.TreeCols";
    }

    public String getRendererType() {
        return "xul.renderer.TreeCols";
    }
   
  public String getPickertooltiptext() {
    return pickertooltiptext;
  }

  public void setPickertooltiptext(String pickertooltiptext) {
    this.pickertooltiptext = pickertooltiptext;
  }   
   
    // @StartGeneration

  protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext facesContext  = getFacesContext();

    setStringAttribute(facesContext,component,"pickertooltiptext",pickertooltiptext);

  }
 
                                  // @EndGeneration
}
TOP

Related Classes of org.xulfaces.tag.tree.TreeColsTag

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.