/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.richfaces.taglib;
import java.lang.String ;
import org.ajax4jsf.webapp.taglib.UIComponentTagBase ;
import javax.faces.component.UIComponent ;
import javax.el.ELException;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
import javax.el.MethodExpression;
import javax.faces.el.MethodBinding;
import javax.faces.el.ValueBinding;
import javax.el.ValueExpression;
import org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor;
import org.richfaces.webapp.taglib.ValueBindingValueExpressionAdaptor;
import org.richfaces.component.html.HtmlToolBarGroup;
public class ToolBarGroupTag extends org.ajax4jsf.webapp.taglib.UIComponentTagBase {
// Fields
/*
* itemSeparator
* A separator for the items in a group. Possible
values are "none", "line", "square", "disc" and "grid" Default value is "none".
*/
private ValueExpression _itemSeparator;
/**
* A separator for the items in a group. Possible
values are "none", "line", "square", "disc" and "grid" Default value is "none".
* Setter for itemSeparator
* @param itemSeparator - new value
*/
public void setItemSeparator( ValueExpression __itemSeparator ){
this._itemSeparator = __itemSeparator;
}
/*
* location
* A location of a group on a tool bar. Possible values are "left" and "right". Default value is "left".
*/
private ValueExpression _location;
/**
* A location of a group on a tool bar. Possible values are "left" and "right". Default value is "left".
* Setter for location
* @param location - new value
*/
public void setLocation( ValueExpression __location ){
this._location = __location;
}
/*
* onitemclick
* The client-side script method to be called when an item is clicked
*/
private ValueExpression _onitemclick;
/**
* The client-side script method to be called when an item is clicked
* Setter for onitemclick
* @param onitemclick - new value
*/
public void setOnitemclick( ValueExpression __onitemclick ){
this._onitemclick = __onitemclick;
}
/*
* onitemdblclick
* The client-side script method to be called when an item is double-clicked
*/
private ValueExpression _onitemdblclick;
/**
* The client-side script method to be called when an item is double-clicked
* Setter for onitemdblclick
* @param onitemdblclick - new value
*/
public void setOnitemdblclick( ValueExpression __onitemdblclick ){
this._onitemdblclick = __onitemdblclick;
}
/*
* onitemkeydown
* The client-side script method to be called when a key is pressed down over an item
*/
private ValueExpression _onitemkeydown;
/**
* The client-side script method to be called when a key is pressed down over an item
* Setter for onitemkeydown
* @param onitemkeydown - new value
*/
public void setOnitemkeydown( ValueExpression __onitemkeydown ){
this._onitemkeydown = __onitemkeydown;
}
/*
* onitemkeypress
* The client-side script method to be called when a key is pressed and released over an item
*/
private ValueExpression _onitemkeypress;
/**
* The client-side script method to be called when a key is pressed and released over an item
* Setter for onitemkeypress
* @param onitemkeypress - new value
*/
public void setOnitemkeypress( ValueExpression __onitemkeypress ){
this._onitemkeypress = __onitemkeypress;
}
/*
* onitemkeyup
* The client-side script method to be called when a key is released over an item
*/
private ValueExpression _onitemkeyup;
/**
* The client-side script method to be called when a key is released over an item
* Setter for onitemkeyup
* @param onitemkeyup - new value
*/
public void setOnitemkeyup( ValueExpression __onitemkeyup ){
this._onitemkeyup = __onitemkeyup;
}
/*
* onitemmousedown
* The client-side script method to be called when a mouse button is pressed down over an item
*/
private ValueExpression _onitemmousedown;
/**
* The client-side script method to be called when a mouse button is pressed down over an item
* Setter for onitemmousedown
* @param onitemmousedown - new value
*/
public void setOnitemmousedown( ValueExpression __onitemmousedown ){
this._onitemmousedown = __onitemmousedown;
}
/*
* onitemmousemove
* The client-side script method to be called when a pointer is moved within an item
*/
private ValueExpression _onitemmousemove;
/**
* The client-side script method to be called when a pointer is moved within an item
* Setter for onitemmousemove
* @param onitemmousemove - new value
*/
public void setOnitemmousemove( ValueExpression __onitemmousemove ){
this._onitemmousemove = __onitemmousemove;
}
/*
* onitemmouseout
* The client-side script method to be called when a pointer is moved away from an item
*/
private ValueExpression _onitemmouseout;
/**
* The client-side script method to be called when a pointer is moved away from an item
* Setter for onitemmouseout
* @param onitemmouseout - new value
*/
public void setOnitemmouseout( ValueExpression __onitemmouseout ){
this._onitemmouseout = __onitemmouseout;
}
/*
* onitemmouseover
* The client-side script method to be called when a pointer is moved onto an item
*/
private ValueExpression _onitemmouseover;
/**
* The client-side script method to be called when a pointer is moved onto an item
* Setter for onitemmouseover
* @param onitemmouseover - new value
*/
public void setOnitemmouseover( ValueExpression __onitemmouseover ){
this._onitemmouseover = __onitemmouseover;
}
/*
* onitemmouseup
* The client-side script method to be called when a mouse button is released over an item
*/
private ValueExpression _onitemmouseup;
/**
* The client-side script method to be called when a mouse button is released over an item
* Setter for onitemmouseup
* @param onitemmouseup - new value
*/
public void setOnitemmouseup( ValueExpression __onitemmouseup ){
this._onitemmouseup = __onitemmouseup;
}
/*
* separatorClass
* Assigns one or more space-separated CSS class names to the tool bar group separators
*/
private ValueExpression _separatorClass;
/**
* Assigns one or more space-separated CSS class names to the tool bar group separators
* Setter for separatorClass
* @param separatorClass - new value
*/
public void setSeparatorClass( ValueExpression __separatorClass ){
this._separatorClass = __separatorClass;
}
/*
* style
* CSS style rules to be applied to the component
*/
private ValueExpression _style;
/**
* CSS style rules to be applied to the component
* Setter for style
* @param style - new value
*/
public void setStyle( ValueExpression __style ){
this._style = __style;
}
/*
* styleClass
* Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute.
*/
private ValueExpression _styleClass;
/**
* Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute.
* Setter for styleClass
* @param styleClass - new value
*/
public void setStyleClass( ValueExpression __styleClass ){
this._styleClass = __styleClass;
}
public void release()
{
// TODO Auto-generated method stub
super.release();
this._itemSeparator = null;
this._location = null;
this._onitemclick = null;
this._onitemdblclick = null;
this._onitemkeydown = null;
this._onitemkeypress = null;
this._onitemkeyup = null;
this._onitemmousedown = null;
this._onitemmousemove = null;
this._onitemmouseout = null;
this._onitemmouseover = null;
this._onitemmouseup = null;
this._separatorClass = null;
this._style = null;
this._styleClass = null;
}
/* (non-Javadoc)
* @see org.ajax4jsf.components.taglib.html.HtmlCommandButtonTagBase#setProperties(javax.faces.component.UIComponent)
*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlToolBarGroup comp = (HtmlToolBarGroup) component;
if (this._itemSeparator != null) {
if (this._itemSeparator.isLiteralText()) {
try {
java.lang.String __itemSeparator = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._itemSeparator.getExpressionString(),
java.lang.String.class);
comp.setItemSeparator(__itemSeparator);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("itemSeparator", this._itemSeparator);
}
}
if (this._location != null) {
if (this._location.isLiteralText()) {
try {
java.lang.String __location = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._location.getExpressionString(),
java.lang.String.class);
comp.setLocation(__location);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("location", this._location);
}
}
if (this._onitemclick != null) {
if (this._onitemclick.isLiteralText()) {
try {
java.lang.String __onitemclick = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemclick.getExpressionString(),
java.lang.String.class);
comp.setOnitemclick(__onitemclick);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemclick", this._onitemclick);
}
}
if (this._onitemdblclick != null) {
if (this._onitemdblclick.isLiteralText()) {
try {
java.lang.String __onitemdblclick = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemdblclick.getExpressionString(),
java.lang.String.class);
comp.setOnitemdblclick(__onitemdblclick);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemdblclick", this._onitemdblclick);
}
}
if (this._onitemkeydown != null) {
if (this._onitemkeydown.isLiteralText()) {
try {
java.lang.String __onitemkeydown = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemkeydown.getExpressionString(),
java.lang.String.class);
comp.setOnitemkeydown(__onitemkeydown);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemkeydown", this._onitemkeydown);
}
}
if (this._onitemkeypress != null) {
if (this._onitemkeypress.isLiteralText()) {
try {
java.lang.String __onitemkeypress = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemkeypress.getExpressionString(),
java.lang.String.class);
comp.setOnitemkeypress(__onitemkeypress);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemkeypress", this._onitemkeypress);
}
}
if (this._onitemkeyup != null) {
if (this._onitemkeyup.isLiteralText()) {
try {
java.lang.String __onitemkeyup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemkeyup.getExpressionString(),
java.lang.String.class);
comp.setOnitemkeyup(__onitemkeyup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemkeyup", this._onitemkeyup);
}
}
if (this._onitemmousedown != null) {
if (this._onitemmousedown.isLiteralText()) {
try {
java.lang.String __onitemmousedown = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemmousedown.getExpressionString(),
java.lang.String.class);
comp.setOnitemmousedown(__onitemmousedown);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemmousedown", this._onitemmousedown);
}
}
if (this._onitemmousemove != null) {
if (this._onitemmousemove.isLiteralText()) {
try {
java.lang.String __onitemmousemove = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemmousemove.getExpressionString(),
java.lang.String.class);
comp.setOnitemmousemove(__onitemmousemove);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemmousemove", this._onitemmousemove);
}
}
if (this._onitemmouseout != null) {
if (this._onitemmouseout.isLiteralText()) {
try {
java.lang.String __onitemmouseout = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemmouseout.getExpressionString(),
java.lang.String.class);
comp.setOnitemmouseout(__onitemmouseout);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemmouseout", this._onitemmouseout);
}
}
if (this._onitemmouseover != null) {
if (this._onitemmouseover.isLiteralText()) {
try {
java.lang.String __onitemmouseover = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemmouseover.getExpressionString(),
java.lang.String.class);
comp.setOnitemmouseover(__onitemmouseover);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemmouseover", this._onitemmouseover);
}
}
if (this._onitemmouseup != null) {
if (this._onitemmouseup.isLiteralText()) {
try {
java.lang.String __onitemmouseup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemmouseup.getExpressionString(),
java.lang.String.class);
comp.setOnitemmouseup(__onitemmouseup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemmouseup", this._onitemmouseup);
}
}
if (this._separatorClass != null) {
if (this._separatorClass.isLiteralText()) {
try {
java.lang.String __separatorClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._separatorClass.getExpressionString(),
java.lang.String.class);
comp.setSeparatorClass(__separatorClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("separatorClass", this._separatorClass);
}
}
if (this._style != null) {
if (this._style.isLiteralText()) {
try {
java.lang.String __style = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._style.getExpressionString(),
java.lang.String.class);
comp.setStyle(__style);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("style", this._style);
}
}
if (this._styleClass != null) {
if (this._styleClass.isLiteralText()) {
try {
java.lang.String __styleClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._styleClass.getExpressionString(),
java.lang.String.class);
comp.setStyleClass(__styleClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("styleClass", this._styleClass);
}
}
}
/* (non-Javadoc)
* @see javax.faces.webapp.UIComponentTag#getComponentType()
*/
public String getComponentType() {
// TODO Auto-generated method stub
return "org.richfaces.ToolBarGroup";
}
/* (non-Javadoc)
* @see javax.faces.webapp.UIComponentTag#getRendererType()
*/
public String getRendererType() {
return "org.richfaces.ToolBarGroupRenderer";
}
}