[jboss-cvs] jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html ...
Peter Muir
peter at bleepbleep.org.uk
Wed Jun 20 04:40:18 EDT 2007
User: pmuir
Date: 07/06/20 04:40:18
Added: ui/target/generated-component/java/org/jboss/seam/ui/component/html
HtmlDecorate.java HtmlFragment.java
HtmlTransformImageSize.java HtmlConversationId.java
HtmlSelectDate.java HtmlEnumItem.java
HtmlGraphicImage.java HtmlValidateAll.java
HtmlFileUpload.java HtmlDiv.java HtmlCache.java
HtmlSpan.java HtmlSelection.java HtmlMessage.java
HtmlLabel.java HtmlConversationPropagation.java
HtmlTransformImageType.java HtmlLoadStyle.java
HtmlLink.java HtmlFormattedText.java
HtmlTaskId.java HtmlButton.java
HtmlTransformImageBlur.java HtmlSelectItems.java
Log:
JBSEAM-1013 - CDK port - actually commit it
Revision Changes Path
1.1 date: 2007/06/20 08:40:17; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlDecorate.java
Index: HtmlDecorate.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.component.UIDecorate ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Decorate
* Component-Family org.jboss.seam.ui.Decorate
* Renderer-Type org.jboss.seam.ui.DecorateRenderer
* "Decorate" a JSF input field when validation fails or when required="true" is set.
*/
public class HtmlDecorate extends org.jboss.seam.ui.component.UIDecorate {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Decorate";
/**
* Constructor to init default renderers
*/
public HtmlDecorate (){
setRendererType("org.jboss.seam.ui.DecorateRenderer");
}
// Component properties fields
/**
* for
*
*/
private String _for = null; /* Default is null*/
// Getters-setters
/**
*
* Setter for for
* @param for - new value
*/
public void setFor( String __for ){
this._for = __for;
}
/**
*
* Getter for for
* @return for value from local variable or value bindings
*/
public String getFor( ){
if (null != this._for)
{
return this._for;
}
ValueBinding vb = getValueBinding("for");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Decorate";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[2];
values[0] = super.saveState(context);
values[1] = saveAttachedState(context, _for );
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_for = (String)restoreAttachedState(context,values[1] );
}
// Utilites
}
1.1 date: 2007/06/20 08:40:17; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlFragment.java
Index: HtmlFragment.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UIFragment ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Fragment
* Component-Family org.jboss.seam.ui.Fragment
* Renderer-Type org.jboss.seam.ui.FragmentRenderer
*
*/
public class HtmlFragment extends org.jboss.seam.ui.component.UIFragment {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Fragment";
/**
* Constructor to init default renderers
*/
public HtmlFragment (){
setRendererType("org.jboss.seam.ui.FragmentRenderer");
}
// Component properties fields
// Getters-setters
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Fragment";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[1];
values[0] = super.saveState(context);
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
}
// Utilites
}
1.1 date: 2007/06/20 08:40:17; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlTransformImageSize.java
Index: HtmlTransformImageSize.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.Double ;
import java.lang.Integer ;
import org.jboss.seam.ui.graphicImage.UITransformImageSize ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.graphicImage.TransformImageSize
* Component-Family org.jboss.seam.ui.graphicImage.TransformImageSize
*
*/
public class HtmlTransformImageSize extends org.jboss.seam.ui.graphicImage.UITransformImageSize {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.graphicImage.TransformImageSize";
/**
* Constructor to init default renderers
*/
public HtmlTransformImageSize (){
}
// Component properties fields
/**
* factor
*
*/
private Double _factor = null; /* Default is null*/
/**
* width
*
*/
private Integer _width = null; /* Default is null*/
/**
* height
*
*/
private Integer _height = null; /* Default is null*/
/**
* maintainRatio
*
*/
private boolean _maintainRatio = false;
/**
* Flag indicated what maintainRatio is set.
*/
private boolean _maintainRatioSet = false;
// Getters-setters
/**
*
* Setter for factor
* @param factor - new value
*/
public void setFactor( Double __factor ){
this._factor = __factor;
}
/**
*
* Getter for factor
* @return factor value from local variable or value bindings
*/
public Double getFactor( ){
if (null != this._factor)
{
return this._factor;
}
ValueBinding vb = getValueBinding("factor");
if (null != vb){
return (Double)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
*
* Setter for width
* @param width - new value
*/
public void setWidth( Integer __width ){
this._width = __width;
}
/**
*
* Getter for width
* @return width value from local variable or value bindings
*/
public Integer getWidth( ){
if (null != this._width)
{
return this._width;
}
ValueBinding vb = getValueBinding("width");
if (null != vb){
return (Integer)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
*
* Setter for height
* @param height - new value
*/
public void setHeight( Integer __height ){
this._height = __height;
}
/**
*
* Getter for height
* @return height value from local variable or value bindings
*/
public Integer getHeight( ){
if (null != this._height)
{
return this._height;
}
ValueBinding vb = getValueBinding("height");
if (null != vb){
return (Integer)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
*
* Setter for maintainRatio
* @param maintainRatio - new value
*/
public void setMaintainRatio( boolean __maintainRatio ){
this._maintainRatio = __maintainRatio;
this._maintainRatioSet = true;
}
/**
*
* Getter for maintainRatio
* @return maintainRatio value from local variable or value bindings
*/
public boolean isMaintainRatio( ){
if(this._maintainRatioSet){
return this._maintainRatio;
}
ValueBinding vb = getValueBinding("maintainRatio");
if (vb != null) {
Boolean value = (Boolean) vb.getValue(getFacesContext());
if (null == value) {
return this._maintainRatio;
}
return (value.booleanValue());
} else {
return (this._maintainRatio);
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.graphicImage.TransformImageSize";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[6];
values[0] = super.saveState(context);
values[1] = _factor;
values[2] = _width;
values[3] = _height;
values[4] = new Boolean(_maintainRatio);
values[5] = Boolean.valueOf(_maintainRatioSet);
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_factor = (Double)values[1] ;
_width = (Integer)values[2] ;
_height = (Integer)values[3] ;
_maintainRatio = ((Boolean)values[4]).booleanValue();
_maintainRatioSet = ((Boolean)values[5]).booleanValue();
}
// Utilites
}
1.1 date: 2007/06/20 08:40:17; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlConversationId.java
Index: HtmlConversationId.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.component.UIConversationId ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.ConversationId
* Component-Family org.jboss.seam.ui.ConversationId
* Add the conversation id to an output link (or similar JSF control).
*/
public class HtmlConversationId extends org.jboss.seam.ui.component.UIConversationId {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.ConversationId";
/**
* Constructor to init default renderers
*/
public HtmlConversationId (){
}
// Component properties fields
/**
* viewId
* viewId
*/
private String _viewId = null; /* Default is null*/
// Getters-setters
/**
* viewId
* Setter for viewId
* @param viewId - new value
*/
public void setViewId( String __viewId ){
this._viewId = __viewId;
}
/**
* viewId
* Getter for viewId
* @return viewId value from local variable or value bindings
*/
public String getViewId( ){
if (null != this._viewId)
{
return this._viewId;
}
ValueBinding vb = getValueBinding("viewId");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.ConversationId";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[2];
values[0] = super.saveState(context);
values[1] = _viewId;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_viewId = (String)values[1] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:17; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlSelectDate.java
Index: HtmlSelectDate.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UISelectDate ;
import java.lang.String ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.SelectDate
* Component-Family org.jboss.seam.ui.SelectDate
* Renderer-Type org.jboss.seam.ui.SelectDateRenderer
*
*/
public class HtmlSelectDate extends org.jboss.seam.ui.component.UISelectDate {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.SelectDate";
/**
* Constructor to init default renderers
*/
public HtmlSelectDate (){
setRendererType("org.jboss.seam.ui.SelectDateRenderer");
}
// Component properties fields
/**
* endYear
*
*/
private int _endYear = -1;
/**
* Flag indicated what endYear is set.
*/
private boolean _endYearSet = false;
/**
* startYear
*
*/
private int _startYear = -1;
/**
* Flag indicated what startYear is set.
*/
private boolean _startYearSet = false;
/**
* styleClass
* Corresponds to the HTML class attribute
*/
private String _styleClass = null; /* Default is null*/
/**
* dateFormat
*
*/
private String _dateFormat = null; /* Default is "MM/dd/yyyy"*/
/**
* style
* CSS style(s) is/are to be applied when this component is rendered
*/
private String _style = null; /* Default is null*/
/**
* for
*
*/
private String _for = null; /* Default is null*/
// Getters-setters
/**
*
* Setter for endYear
* @param endYear - new value
*/
public void setEndYear( int __endYear ){
this._endYear = __endYear;
this._endYearSet = true;
}
/**
*
* Getter for endYear
* @return endYear value from local variable or value bindings
*/
public int getEndYear( ){
if(this._endYearSet){
return this._endYear;
}
ValueBinding vb = getValueBinding("endYear");
if (vb != null) {
Integer value = (Integer) vb.getValue(getFacesContext());
if (null == value) {
return this._endYear;
}
return (value.intValue());
} else {
return (this._endYear);
}
}
/**
*
* Setter for startYear
* @param startYear - new value
*/
public void setStartYear( int __startYear ){
this._startYear = __startYear;
this._startYearSet = true;
}
/**
*
* Getter for startYear
* @return startYear value from local variable or value bindings
*/
public int getStartYear( ){
if(this._startYearSet){
return this._startYear;
}
ValueBinding vb = getValueBinding("startYear");
if (vb != null) {
Integer value = (Integer) vb.getValue(getFacesContext());
if (null == value) {
return this._startYear;
}
return (value.intValue());
} else {
return (this._startYear);
}
}
/**
* Corresponds to the HTML class attribute
* Setter for styleClass
* @param styleClass - new value
*/
public void setStyleClass( String __styleClass ){
this._styleClass = __styleClass;
}
/**
* Corresponds to the HTML class attribute
* Getter for styleClass
* @return styleClass value from local variable or value bindings
*/
public String getStyleClass( ){
if (null != this._styleClass)
{
return this._styleClass;
}
ValueBinding vb = getValueBinding("styleClass");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
*
* Setter for dateFormat
* @param dateFormat - new value
*/
public void setDateFormat( String __dateFormat ){
this._dateFormat = __dateFormat;
}
/**
*
* Getter for dateFormat
* @return dateFormat value from local variable or value bindings
*/
public String getDateFormat( ){
if (null != this._dateFormat)
{
return this._dateFormat;
}
ValueBinding vb = getValueBinding("dateFormat");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return "MM/dd/yyyy";
}
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Setter for style
* @param style - new value
*/
public void setStyle( String __style ){
this._style = __style;
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Getter for style
* @return style value from local variable or value bindings
*/
public String getStyle( ){
if (null != this._style)
{
return this._style;
}
ValueBinding vb = getValueBinding("style");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
*
* Setter for for
* @param for - new value
*/
public void setFor( String __for ){
this._for = __for;
}
/**
*
* Getter for for
* @return for value from local variable or value bindings
*/
public String getFor( ){
if (null != this._for)
{
return this._for;
}
ValueBinding vb = getValueBinding("for");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.SelectDate";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[9];
values[0] = super.saveState(context);
values[1] = new Integer(_endYear);
values[2] = Boolean.valueOf(_endYearSet);
values[3] = new Integer(_startYear);
values[4] = Boolean.valueOf(_startYearSet);
values[5] = _styleClass;
values[6] = _dateFormat;
values[7] = _style;
values[8] = _for;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_endYear = ((Integer)values[1]).intValue();
_endYearSet = ((Boolean)values[2]).booleanValue();
_startYear = ((Integer)values[3]).intValue();
_startYearSet = ((Boolean)values[4]).booleanValue();
_styleClass = (String)values[5] ;
_dateFormat = (String)values[6] ;
_style = (String)values[7] ;
_for = (String)values[8] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlEnumItem.java
Index: HtmlEnumItem.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.component.UIEnumItem ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.EnumItem
* Component-Family org.jboss.seam.ui.EnumItem
* Creates a SelectItem from an enum value.
*/
public class HtmlEnumItem extends org.jboss.seam.ui.component.UIEnumItem {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.EnumItem";
/**
* Constructor to init default renderers
*/
public HtmlEnumItem (){
}
// Component properties fields
/**
* enumValue
* the string representation of the enum value.
*/
private String _enumValue = null; /* Default is null*/
/**
* label
* the label to be used when rendering the SelectItem.
*/
private String _label = null; /* Default is null*/
// Getters-setters
/**
* the string representation of the enum value.
* Setter for enumValue
* @param enumValue - new value
*/
public void setEnumValue( String __enumValue ){
this._enumValue = __enumValue;
}
/**
* the string representation of the enum value.
* Getter for enumValue
* @return enumValue value from local variable or value bindings
*/
public String getEnumValue( ){
if (null != this._enumValue)
{
return this._enumValue;
}
ValueBinding vb = getValueBinding("enumValue");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* the label to be used when rendering the SelectItem.
* Setter for label
* @param label - new value
*/
public void setLabel( String __label ){
this._label = __label;
}
/**
* the label to be used when rendering the SelectItem.
* Getter for label
* @return label value from local variable or value bindings
*/
public String getLabel( ){
if (null != this._label)
{
return this._label;
}
ValueBinding vb = getValueBinding("label");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.EnumItem";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[3];
values[0] = super.saveState(context);
values[1] = _enumValue;
values[2] = _label;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_enumValue = (String)values[1] ;
_label = (String)values[2] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlGraphicImage.java
Index: HtmlGraphicImage.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import javax.faces.convert.Converter ;
import org.jboss.seam.ui.graphicImage.UIGraphicImage ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.graphicImage.GraphicImage
* Component-Family org.jboss.seam.ui.graphicImage.GraphicImage
* Renderer-Type org.jboss.seam.ui.GraphicImageRenderer
*
*/
public class HtmlGraphicImage extends org.jboss.seam.ui.graphicImage.UIGraphicImage {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.graphicImage.GraphicImage";
/**
* Constructor to init default renderers
*/
public HtmlGraphicImage (){
setRendererType("org.jboss.seam.ui.GraphicImageRenderer");
}
// Component properties fields
/**
* converter
* Id of Converter to be used or reference to a Converter
*/
private Converter _converter = null; /* Default is null*/
/**
* fileName
*
*/
private String _fileName = null; /* Default is null*/
// Getters-setters
/**
* Id of Converter to be used or reference to a Converter
* Setter for converter
* @param converter - new value
*/
public void setConverter( Converter __converter ){
this._converter = __converter;
}
/**
* Id of Converter to be used or reference to a Converter
* Getter for converter
* @return converter value from local variable or value bindings
*/
public Converter getConverter( ){
if (null != this._converter)
{
return this._converter;
}
ValueBinding vb = getValueBinding("converter");
if (null != vb){
return (Converter)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
*
* Setter for fileName
* @param fileName - new value
*/
public void setFileName( String __fileName ){
this._fileName = __fileName;
}
/**
*
* Getter for fileName
* @return fileName value from local variable or value bindings
*/
public String getFileName( ){
if (null != this._fileName)
{
return this._fileName;
}
ValueBinding vb = getValueBinding("fileName");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.graphicImage.GraphicImage";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[3];
values[0] = super.saveState(context);
values[1] = saveAttachedState(context, _converter );
values[2] = _fileName;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_converter = (Converter)restoreAttachedState(context,values[1] );
_fileName = (String)values[2] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlValidateAll.java
Index: HtmlValidateAll.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UIValidateAll ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.ValidateAll
* Component-Family org.jboss.seam.ui.ValidateAll
* Renderer-Type org.jboss.seam.ui.ValidateAllRenderer
* Validate all child JSF input fields against the bound propertys using Hibernate Validator.
*/
public class HtmlValidateAll extends org.jboss.seam.ui.component.UIValidateAll {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.ValidateAll";
/**
* Constructor to init default renderers
*/
public HtmlValidateAll (){
setRendererType("org.jboss.seam.ui.ValidateAllRenderer");
}
// Component properties fields
// Getters-setters
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.ValidateAll";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[1];
values[0] = super.saveState(context);
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlFileUpload.java
Index: HtmlFileUpload.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import java.lang.Integer ;
import java.lang.Object ;
import org.jboss.seam.ui.component.UIFileUpload ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.FileUpload
* Component-Family org.jboss.seam.ui.FileUpload
* Renderer-Type org.jboss.seam.ui.FileUploadRenderer
* Renders a file upload control. This control must be used within a form with an encoding type of multipart/form-data, i.e:
<h:form enctype="multipart/form-data">
For multipart requests, the Seam Multipart servlet filter must also be configured in web.xml:
<filter>
<filter-name>Seam Filter</filter-name>
<filter-class>org.jboss.seam.web.SeamFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Seam Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
The following configuration options for multipart requests may be configured in components.xml:
* createTempFiles - if this option is set to true, uploaded files are streamed to a temporary file instead of in memory.
* maxRequestSize - the maximum size of a file upload request, in bytes.
Here's an example:
<component class="org.jboss.seam.servlet.MultipartConfig">
<property name="createTempFiles">true</property>
<property name="maxRequestSize">1000000</property>
</component>
*/
public class HtmlFileUpload extends org.jboss.seam.ui.component.UIFileUpload {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.FileUpload";
/**
* Constructor to init default renderers
*/
public HtmlFileUpload (){
setRendererType("org.jboss.seam.ui.FileUploadRenderer");
}
// Component properties fields
/**
* fileSize
* this value binding receives the file size (optional).
*/
private Integer _fileSize = null; /* Default is null*/
/**
* styleClass
* Corresponds to the HTML class attribute
*/
private String _styleClass = null; /* Default is null*/
/**
* style
* CSS style(s) is/are to be applied when this component is rendered
*/
private String _style = null; /* Default is null*/
/**
* accept
* a comma-separated list of content types to accept, may not be supported by the browser. E.g. "images/png,images/jpg", "images/*".
*/
private String _accept = null; /* Default is null*/
/**
* contentType
* the property to receive the contentType
*/
private String _contentType = null; /* Default is null*/
/**
* fileName
* this value binding receives the filename (optional).
*/
private String _fileName = null; /* Default is null*/
/**
* data
* this value binding receives the file's content type (optional).
*/
private Object _data = null; /* Default is null*/
// Getters-setters
/**
* this value binding receives the file size (optional).
* Setter for fileSize
* @param fileSize - new value
*/
public void setFileSize( Integer __fileSize ){
this._fileSize = __fileSize;
}
/**
* this value binding receives the file size (optional).
* Getter for fileSize
* @return fileSize value from local variable or value bindings
*/
public Integer getFileSize( ){
if (null != this._fileSize)
{
return this._fileSize;
}
ValueBinding vb = getValueBinding("fileSize");
if (null != vb){
return (Integer)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* Corresponds to the HTML class attribute
* Setter for styleClass
* @param styleClass - new value
*/
public void setStyleClass( String __styleClass ){
this._styleClass = __styleClass;
}
/**
* Corresponds to the HTML class attribute
* Getter for styleClass
* @return styleClass value from local variable or value bindings
*/
public String getStyleClass( ){
if (null != this._styleClass)
{
return this._styleClass;
}
ValueBinding vb = getValueBinding("styleClass");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Setter for style
* @param style - new value
*/
public void setStyle( String __style ){
this._style = __style;
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Getter for style
* @return style value from local variable or value bindings
*/
public String getStyle( ){
if (null != this._style)
{
return this._style;
}
ValueBinding vb = getValueBinding("style");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* a comma-separated list of content types to accept, may not be supported by the browser. E.g. "images/png,images/jpg", "images/*".
* Setter for accept
* @param accept - new value
*/
public void setAccept( String __accept ){
this._accept = __accept;
}
/**
* a comma-separated list of content types to accept, may not be supported by the browser. E.g. "images/png,images/jpg", "images/*".
* Getter for accept
* @return accept value from local variable or value bindings
*/
public String getAccept( ){
if (null != this._accept)
{
return this._accept;
}
ValueBinding vb = getValueBinding("accept");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* the property to receive the contentType
* Setter for contentType
* @param contentType - new value
*/
public void setContentType( String __contentType ){
this._contentType = __contentType;
}
/**
* the property to receive the contentType
* Getter for contentType
* @return contentType value from local variable or value bindings
*/
public String getContentType( ){
if (null != this._contentType)
{
return this._contentType;
}
ValueBinding vb = getValueBinding("contentType");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* this value binding receives the filename (optional).
* Setter for fileName
* @param fileName - new value
*/
public void setFileName( String __fileName ){
this._fileName = __fileName;
}
/**
* this value binding receives the filename (optional).
* Getter for fileName
* @return fileName value from local variable or value bindings
*/
public String getFileName( ){
if (null != this._fileName)
{
return this._fileName;
}
ValueBinding vb = getValueBinding("fileName");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* this value binding receives the file's content type (optional).
* Setter for data
* @param data - new value
*/
public void setData( Object __data ){
this._data = __data;
}
/**
* this value binding receives the file's content type (optional).
* Getter for data
* @return data value from local variable or value bindings
*/
public Object getData( ){
if (null != this._data)
{
return this._data;
}
ValueBinding vb = getValueBinding("data");
if (null != vb){
return (Object)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.FileUpload";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[8];
values[0] = super.saveState(context);
values[1] = _fileSize;
values[2] = _styleClass;
values[3] = _style;
values[4] = _accept;
values[5] = _contentType;
values[6] = _fileName;
values[7] = _data;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_fileSize = (Integer)values[1] ;
_styleClass = (String)values[2] ;
_style = (String)values[3] ;
_accept = (String)values[4] ;
_contentType = (String)values[5] ;
_fileName = (String)values[6] ;
_data = (Object)values[7] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlDiv.java
Index: HtmlDiv.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.component.UIDiv ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Div
* Component-Family org.jboss.seam.ui.Div
* Renderer-Type org.jboss.seam.ui.DivRenderer
* Render a HTML <div>.
*/
public class HtmlDiv extends org.jboss.seam.ui.component.UIDiv {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Div";
/**
* Constructor to init default renderers
*/
public HtmlDiv (){
setRendererType("org.jboss.seam.ui.DivRenderer");
}
// Component properties fields
/**
* styleClass
* Corresponds to the HTML class attribute
*/
private String _styleClass = null; /* Default is null*/
/**
* style
* CSS style(s) is/are to be applied when this component is rendered
*/
private String _style = null; /* Default is null*/
// Getters-setters
/**
* Corresponds to the HTML class attribute
* Setter for styleClass
* @param styleClass - new value
*/
public void setStyleClass( String __styleClass ){
this._styleClass = __styleClass;
}
/**
* Corresponds to the HTML class attribute
* Getter for styleClass
* @return styleClass value from local variable or value bindings
*/
public String getStyleClass( ){
if (null != this._styleClass)
{
return this._styleClass;
}
ValueBinding vb = getValueBinding("styleClass");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Setter for style
* @param style - new value
*/
public void setStyle( String __style ){
this._style = __style;
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Getter for style
* @return style value from local variable or value bindings
*/
public String getStyle( ){
if (null != this._style)
{
return this._style;
}
ValueBinding vb = getValueBinding("style");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Div";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[3];
values[0] = super.saveState(context);
values[1] = _styleClass;
values[2] = _style;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_styleClass = (String)values[1] ;
_style = (String)values[2] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlCache.java
Index: HtmlCache.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.component.UICache ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Cache
* Component-Family org.jboss.seam.ui.Cache
* Renderer-Type org.jboss.seam.ui.CacheRenderer
* Cache the rendered page fragment using JBoss Cache. Note that <s:cache> actually uses the instance of JBoss Cache managed by the built-in pojoCache component.
*/
public class HtmlCache extends org.jboss.seam.ui.component.UICache {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Cache";
/**
* Constructor to init default renderers
*/
public HtmlCache (){
setRendererType("org.jboss.seam.ui.CacheRenderer");
}
// Component properties fields
/**
* key
* the key to cache rendered content, often a value expression. For example, if we were caching a page fragment that displays a document, we might use key="Document-#{document.id}".
*/
private String _key = null; /* Default is null*/
/**
* enabled
* a value expression that determines if the cache should be used.
*/
private boolean _enabled = true;
/**
* Flag indicated what enabled is set.
*/
private boolean _enabledSet = false;
/**
* region
* a JBoss Cache node to use (different nodes can have different expiry policies).
*/
private String _region = null; /* Default is null*/
// Getters-setters
/**
* the key to cache rendered content, often a value expression. For example, if we were caching a page fragment that displays a document, we might use key="Document-#{document.id}".
* Setter for key
* @param key - new value
*/
public void setKey( String __key ){
this._key = __key;
}
/**
* the key to cache rendered content, often a value expression. For example, if we were caching a page fragment that displays a document, we might use key="Document-#{document.id}".
* Getter for key
* @return key value from local variable or value bindings
*/
public String getKey( ){
if (null != this._key)
{
return this._key;
}
ValueBinding vb = getValueBinding("key");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* a value expression that determines if the cache should be used.
* Setter for enabled
* @param enabled - new value
*/
public void setEnabled( boolean __enabled ){
this._enabled = __enabled;
this._enabledSet = true;
}
/**
* a value expression that determines if the cache should be used.
* Getter for enabled
* @return enabled value from local variable or value bindings
*/
public boolean isEnabled( ){
if(this._enabledSet){
return this._enabled;
}
ValueBinding vb = getValueBinding("enabled");
if (vb != null) {
Boolean value = (Boolean) vb.getValue(getFacesContext());
if (null == value) {
return this._enabled;
}
return (value.booleanValue());
} else {
return (this._enabled);
}
}
/**
* a JBoss Cache node to use (different nodes can have different expiry policies).
* Setter for region
* @param region - new value
*/
public void setRegion( String __region ){
this._region = __region;
}
/**
* a JBoss Cache node to use (different nodes can have different expiry policies).
* Getter for region
* @return region value from local variable or value bindings
*/
public String getRegion( ){
if (null != this._region)
{
return this._region;
}
ValueBinding vb = getValueBinding("region");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Cache";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[5];
values[0] = super.saveState(context);
values[1] = _key;
values[2] = new Boolean(_enabled);
values[3] = Boolean.valueOf(_enabledSet);
values[4] = _region;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_key = (String)values[1] ;
_enabled = ((Boolean)values[2]).booleanValue();
_enabledSet = ((Boolean)values[3]).booleanValue();
_region = (String)values[4] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlSpan.java
Index: HtmlSpan.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.component.UISpan ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Span
* Component-Family org.jboss.seam.ui.Span
* Renderer-Type org.jboss.seam.ui.SpanRenderer
* Render a HTML <span>
*/
public class HtmlSpan extends org.jboss.seam.ui.component.UISpan {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Span";
/**
* Constructor to init default renderers
*/
public HtmlSpan (){
setRendererType("org.jboss.seam.ui.SpanRenderer");
}
// Component properties fields
/**
* styleClass
* Corresponds to the HTML class attribute
*/
private String _styleClass = null; /* Default is null*/
/**
* style
* CSS style(s) is/are to be applied when this component is rendered
*/
private String _style = null; /* Default is null*/
// Getters-setters
/**
* Corresponds to the HTML class attribute
* Setter for styleClass
* @param styleClass - new value
*/
public void setStyleClass( String __styleClass ){
this._styleClass = __styleClass;
}
/**
* Corresponds to the HTML class attribute
* Getter for styleClass
* @return styleClass value from local variable or value bindings
*/
public String getStyleClass( ){
if (null != this._styleClass)
{
return this._styleClass;
}
ValueBinding vb = getValueBinding("styleClass");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Setter for style
* @param style - new value
*/
public void setStyle( String __style ){
this._style = __style;
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Getter for style
* @return style value from local variable or value bindings
*/
public String getStyle( ){
if (null != this._style)
{
return this._style;
}
ValueBinding vb = getValueBinding("style");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Span";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[3];
values[0] = super.saveState(context);
values[1] = _styleClass;
values[2] = _style;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_styleClass = (String)values[1] ;
_style = (String)values[2] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlSelection.java
Index: HtmlSelection.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UISelection ;
import java.lang.String ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Selection
* Component-Family org.jboss.seam.ui.Selection
*
*/
public class HtmlSelection extends org.jboss.seam.ui.component.UISelection {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Selection";
/**
* Constructor to init default renderers
*/
public HtmlSelection (){
}
// Component properties fields
/**
* var
* var
*/
private String _var = null; /* Default is null*/
/**
* dataModel
* dataModel
*/
private String _dataModel = null; /* Default is null*/
// Getters-setters
/**
* var
* Setter for var
* @param var - new value
*/
public void setVar( String __var ){
this._var = __var;
}
/**
* var
* Getter for var
* @return var value from local variable or value bindings
*/
public String getVar( ){
if (null != this._var)
{
return this._var;
}
ValueBinding vb = getValueBinding("var");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* dataModel
* Setter for dataModel
* @param dataModel - new value
*/
public void setDataModel( String __dataModel ){
this._dataModel = __dataModel;
}
/**
* dataModel
* Getter for dataModel
* @return dataModel value from local variable or value bindings
*/
public String getDataModel( ){
if (null != this._dataModel)
{
return this._dataModel;
}
ValueBinding vb = getValueBinding("dataModel");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Selection";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[3];
values[0] = super.saveState(context);
values[1] = _var;
values[2] = _dataModel;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_var = (String)values[1] ;
_dataModel = (String)values[2] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlMessage.java
Index: HtmlMessage.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UIMessage ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Message
* Component-Family javax.faces.Message
* "Decorate" a JSF input field with the validation error message.
*/
public class HtmlMessage extends org.jboss.seam.ui.component.UIMessage {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Message";
/**
* Constructor to init default renderers
*/
public HtmlMessage (){
}
// Component properties fields
// Getters-setters
// Component family.
public static final String COMPONENT_FAMILY = "javax.faces.Message";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[1];
values[0] = super.saveState(context);
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlLabel.java
Index: HtmlLabel.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UILabel ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Label
* Component-Family javax.faces.Output
* A label associated with the nearest JSF input component
*/
public class HtmlLabel extends org.jboss.seam.ui.component.UILabel {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Label";
/**
* Constructor to init default renderers
*/
public HtmlLabel (){
}
// Component properties fields
// Getters-setters
// Component family.
public static final String COMPONENT_FAMILY = "javax.faces.Output";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[1];
values[0] = super.saveState(context);
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlConversationPropagation.java
Index: HtmlConversationPropagation.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.component.UIConversationPropagation ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.ConversationPropagation
* Component-Family org.jboss.seam.ui.ConversationPropagation
* Customize the conversation propagation for a command link or button (or similar JSF control).
*/
public class HtmlConversationPropagation extends org.jboss.seam.ui.component.UIConversationPropagation {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.ConversationPropagation";
/**
* Constructor to init default renderers
*/
public HtmlConversationPropagation (){
}
// Component properties fields
/**
* pageflow
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
*/
private String _pageflow = null; /* Default is null*/
/**
* type
* determines the conversation propagation style: begin, join, nest, none or end.
*/
private String _type = null; /* Default is "none"*/
// Getters-setters
/**
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
* Setter for pageflow
* @param pageflow - new value
*/
public void setPageflow( String __pageflow ){
this._pageflow = __pageflow;
}
/**
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
* Getter for pageflow
* @return pageflow value from local variable or value bindings
*/
public String getPageflow( ){
if (null != this._pageflow)
{
return this._pageflow;
}
ValueBinding vb = getValueBinding("pageflow");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* determines the conversation propagation style: begin, join, nest, none or end.
* Setter for type
* @param type - new value
*/
public void setType( String __type ){
this._type = __type;
}
/**
* determines the conversation propagation style: begin, join, nest, none or end.
* Getter for type
* @return type value from local variable or value bindings
*/
public String getType( ){
if (null != this._type)
{
return this._type;
}
ValueBinding vb = getValueBinding("type");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return "none";
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.ConversationPropagation";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[3];
values[0] = super.saveState(context);
values[1] = _pageflow;
values[2] = _type;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_pageflow = (String)values[1] ;
_type = (String)values[2] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlTransformImageType.java
Index: HtmlTransformImageType.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.graphicImage.UITransformImageType ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.graphicImage.TransformImageType
* Component-Family org.jboss.seam.ui.graphicImage.TransformImageType
*
*/
public class HtmlTransformImageType extends org.jboss.seam.ui.graphicImage.UITransformImageType {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.graphicImage.TransformImageType";
/**
* Constructor to init default renderers
*/
public HtmlTransformImageType (){
}
// Component properties fields
/**
* contentType
*
*/
private String _contentType = null; /* Default is null*/
// Getters-setters
/**
*
* Setter for contentType
* @param contentType - new value
*/
public void setContentType( String __contentType ){
this._contentType = __contentType;
}
/**
*
* Getter for contentType
* @return contentType value from local variable or value bindings
*/
public String getContentType( ){
if (null != this._contentType)
{
return this._contentType;
}
ValueBinding vb = getValueBinding("contentType");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.graphicImage.TransformImageType";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[2];
values[0] = super.saveState(context);
values[1] = _contentType;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_contentType = (String)values[1] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java
Index: HtmlLoadStyle.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UILoadStyle ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.LoadStyle
* Component-Family org.jboss.seam.ui.LoadStyle
* Add a stylesheet to the <head> of the page. Any EL in the CSS will be resolved.
*/
public class HtmlLoadStyle extends org.jboss.seam.ui.component.UILoadStyle {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.LoadStyle";
/**
* Constructor to init default renderers
*/
public HtmlLoadStyle (){
}
// Component properties fields
/**
* isolated
* If isolated, any references to html ids will be resolved only within
this naming container
*/
private boolean _isolated = false;
/**
* Flag indicated what isolated is set.
*/
private boolean _isolatedSet = false;
// Getters-setters
/**
* If isolated, any references to html ids will be resolved only within
this naming container
* Setter for isolated
* @param isolated - new value
*/
public void setIsolated( boolean __isolated ){
this._isolated = __isolated;
this._isolatedSet = true;
}
/**
* If isolated, any references to html ids will be resolved only within
this naming container
* Getter for isolated
* @return isolated value from local variable or value bindings
*/
public boolean isIsolated( ){
if(this._isolatedSet){
return this._isolated;
}
ValueBinding vb = getValueBinding("isolated");
if (vb != null) {
Boolean value = (Boolean) vb.getValue(getFacesContext());
if (null == value) {
return this._isolated;
}
return (value.booleanValue());
} else {
return (this._isolated);
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.LoadStyle";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[3];
values[0] = super.saveState(context);
values[1] = new Boolean(_isolated);
values[2] = Boolean.valueOf(_isolatedSet);
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_isolated = ((Boolean)values[1]).booleanValue();
_isolatedSet = ((Boolean)values[2]).booleanValue();
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlLink.java
Index: HtmlLink.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.component.UILink ;
import javax.faces.el.MethodBinding ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Link
* Component-Family org.jboss.seam.ui.Link
* Renderer-Type org.jboss.seam.ui.LinkRenderer
* A link that supports invocation of an action with control over conversation propagation. Does not submit the form.
*/
public class HtmlLink extends org.jboss.seam.ui.component.UILink {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Link";
/**
* Constructor to init default renderers
*/
public HtmlLink (){
setRendererType("org.jboss.seam.ui.LinkRenderer");
}
// Component properties fields
/**
* actionListener
* MethodBinding pointing at method accepting an ActionEvent with return type void
*/
private MethodBinding _actionListener = null; /* Default is null*/
/**
* title
* Advisory title information about markup elements generated for this component
*/
private String _title = null; /* Default is null*/
/**
* shape
* default|rect|circle|poly [CI]
This attribute specifies the shape of a region. Possible values:
* default: Specifies the entire region.
* rect: Define a rectangular region.
* circle: Define a circular region.
* poly: Define a polygonal region.
*/
private String _shape = null; /* Default is null*/
/**
* target
* This attribute specifies the name of a frame where a document is to be opened.
By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements
*/
private String _target = null; /* Default is null*/
/**
* charset
* The character encoding of a resource designated by this hyperlink
*/
private String _charset = null; /* Default is null*/
/**
* dir
* Direction indication for text that does not inherit
directionality. Valid values are "LTR" (left-to-right)
and "RTL" (right-to-left)
*/
private String _dir = null; /* Default is null*/
/**
* rev
* A reverse link from the anchor specified by this hyperlink to the current document. The value of this attribute is a space-separated list of link types
*/
private String _rev = null; /* Default is null*/
/**
* styleClass
* Corresponds to the HTML class attribute
*/
private String _styleClass = null; /* Default is null*/
/**
* pageflow
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
*/
private String _pageflow = null; /* Default is null*/
/**
* outcome
* outcome
*/
private String _outcome = null; /* Default is null*/
/**
* accesskey
* This attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey
*/
private String _accesskey = null; /* Default is null*/
/**
* fragment
* the fragment identifier to link to.
*/
private String _fragment = null; /* Default is null*/
/**
* onkeypress
* HTML: a script expression; a key is pressed and released
*/
private String _onkeypress = null; /* Default is null*/
/**
* ondblclick
* HTML: a script expression; a pointer button is double-clicked
*/
private String _ondblclick = null; /* Default is null*/
/**
* propagation
* determines the conversation propagation style: begin, join, nest, none or end.
*/
private String _propagation = null; /* Default is "default"*/
/**
* style
* CSS style(s) is/are to be applied when this component is rendered
*/
private String _style = null; /* Default is null*/
/**
* onmouseover
* HTML: a script expression; a pointer is moved onto
*/
private String _onmouseover = null; /* Default is null*/
/**
* onblur
* JavaScript code. The onblur event occurs when an element loses focus either by the pointing device or by tabbing navigation. It may be used with the same elements as onfocus
*/
private String _onblur = null; /* Default is null*/
/**
* view
* the JSF view id to link to.
*/
private String _view = null; /* Default is null*/
/**
* action
* MethodBinding pointing at the application action to be invoked,
if this UIComponent is activated by the user, during the Apply
Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate
property
*/
private MethodBinding _action = null; /* Default is null*/
/**
* onkeyup
* HTML: a script expression; a key is released
*/
private String _onkeyup = null; /* Default is null*/
/**
* tabindex
* This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
*/
private String _tabindex = null; /* Default is null*/
/**
* hreflang
* Base language of a resource specified with the href attribute; hreflang may only be used with href
*/
private String _hreflang = null; /* Default is null*/
/**
* type
* The content type of the resource designated by this hyperlink
*/
private String _type = null; /* Default is null*/
/**
* lang
* Code describing the language used in the generated markup for this component
*/
private String _lang = null; /* Default is null*/
/**
* disabled
* disabled
*/
private boolean _disabled = false;
/**
* Flag indicated what disabled is set.
*/
private boolean _disabledSet = false;
/**
* onclick
* HTML: a script expression; a pointer button is clicked
*/
private String _onclick = null; /* Default is null*/
/**
* onmouseout
* HTML: a script expression; a pointer is moved away
*/
private String _onmouseout = null; /* Default is null*/
/**
* onkeydown
* HTML: a script expression; a key is pressed down
*/
private String _onkeydown = null; /* Default is null*/
/**
* onmousedown
* HTML: script expression; a pointer button is pressed down
*/
private String _onmousedown = null; /* Default is null*/
/**
* rel
* The relationship from the current document to the anchor specified by this hyperlink. The value of this attribute is a space-separated list of link types
*/
private String _rel = null; /* Default is null*/
/**
* immediate
* True means, that the default ActionListener should be executed
immediately (i.e. during Apply Request Values phase of the
request processing lifecycle), rather than waiting until the
Invoke Application phase
*/
private boolean _immediate = false;
/**
* Flag indicated what immediate is set.
*/
private boolean _immediateSet = false;
/**
* onfocus
* JavaScript code. The onfocus event occurs when an element gets focus.
*/
private String _onfocus = null; /* Default is null*/
/**
* onmouseup
* HTML: script expression; a pointer button is released
*/
private String _onmouseup = null; /* Default is null*/
/**
* onmousemove
* HTML: a script expression; a pointer is moved within
*/
private String _onmousemove = null; /* Default is null*/
/**
* coords
* This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:
* rect: left-x, top-y, right-x, bottom-y.
* circle: center-x, center-y, radius. Note. When the radius value is percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two.
* poly: x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon.
Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas
*/
private String _coords = null; /* Default is null*/
// Getters-setters
/**
* MethodBinding pointing at method accepting an ActionEvent with return type void
* Setter for actionListener
* @param actionListener - new value
*/
public void setActionListener( MethodBinding __actionListener ){
this._actionListener = __actionListener;
}
/**
* MethodBinding pointing at method accepting an ActionEvent with return type void
* Getter for actionListener
* @return actionListener value from local variable or value bindings
*/
public MethodBinding getActionListener( ){
if (null != this._actionListener)
{
return this._actionListener;
} else {
return null;
}
}
/**
* Advisory title information about markup elements generated for this component
* Setter for title
* @param title - new value
*/
public void setTitle( String __title ){
this._title = __title;
}
/**
* Advisory title information about markup elements generated for this component
* Getter for title
* @return title value from local variable or value bindings
*/
public String getTitle( ){
if (null != this._title)
{
return this._title;
}
ValueBinding vb = getValueBinding("title");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* default|rect|circle|poly [CI]
This attribute specifies the shape of a region. Possible values:
* default: Specifies the entire region.
* rect: Define a rectangular region.
* circle: Define a circular region.
* poly: Define a polygonal region.
* Setter for shape
* @param shape - new value
*/
public void setShape( String __shape ){
this._shape = __shape;
}
/**
* default|rect|circle|poly [CI]
This attribute specifies the shape of a region. Possible values:
* default: Specifies the entire region.
* rect: Define a rectangular region.
* circle: Define a circular region.
* poly: Define a polygonal region.
* Getter for shape
* @return shape value from local variable or value bindings
*/
public String getShape( ){
if (null != this._shape)
{
return this._shape;
}
ValueBinding vb = getValueBinding("shape");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* This attribute specifies the name of a frame where a document is to be opened.
By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements
* Setter for target
* @param target - new value
*/
public void setTarget( String __target ){
this._target = __target;
}
/**
* This attribute specifies the name of a frame where a document is to be opened.
By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements
* Getter for target
* @return target value from local variable or value bindings
*/
public String getTarget( ){
if (null != this._target)
{
return this._target;
}
ValueBinding vb = getValueBinding("target");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* The character encoding of a resource designated by this hyperlink
* Setter for charset
* @param charset - new value
*/
public void setCharset( String __charset ){
this._charset = __charset;
}
/**
* The character encoding of a resource designated by this hyperlink
* Getter for charset
* @return charset value from local variable or value bindings
*/
public String getCharset( ){
if (null != this._charset)
{
return this._charset;
}
ValueBinding vb = getValueBinding("charset");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* Direction indication for text that does not inherit
directionality. Valid values are "LTR" (left-to-right)
and "RTL" (right-to-left)
* Setter for dir
* @param dir - new value
*/
public void setDir( String __dir ){
this._dir = __dir;
}
/**
* Direction indication for text that does not inherit
directionality. Valid values are "LTR" (left-to-right)
and "RTL" (right-to-left)
* Getter for dir
* @return dir value from local variable or value bindings
*/
public String getDir( ){
if (null != this._dir)
{
return this._dir;
}
ValueBinding vb = getValueBinding("dir");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* A reverse link from the anchor specified by this hyperlink to the current document. The value of this attribute is a space-separated list of link types
* Setter for rev
* @param rev - new value
*/
public void setRev( String __rev ){
this._rev = __rev;
}
/**
* A reverse link from the anchor specified by this hyperlink to the current document. The value of this attribute is a space-separated list of link types
* Getter for rev
* @return rev value from local variable or value bindings
*/
public String getRev( ){
if (null != this._rev)
{
return this._rev;
}
ValueBinding vb = getValueBinding("rev");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* Corresponds to the HTML class attribute
* Setter for styleClass
* @param styleClass - new value
*/
public void setStyleClass( String __styleClass ){
this._styleClass = __styleClass;
}
/**
* Corresponds to the HTML class attribute
* Getter for styleClass
* @return styleClass value from local variable or value bindings
*/
public String getStyleClass( ){
if (null != this._styleClass)
{
return this._styleClass;
}
ValueBinding vb = getValueBinding("styleClass");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
* Setter for pageflow
* @param pageflow - new value
*/
public void setPageflow( String __pageflow ){
this._pageflow = __pageflow;
}
/**
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
* Getter for pageflow
* @return pageflow value from local variable or value bindings
*/
public String getPageflow( ){
if (null != this._pageflow)
{
return this._pageflow;
}
ValueBinding vb = getValueBinding("pageflow");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* outcome
* Setter for outcome
* @param outcome - new value
*/
public void setOutcome( String __outcome ){
this._outcome = __outcome;
}
/**
* outcome
* Getter for outcome
* @return outcome value from local variable or value bindings
*/
public String getOutcome( ){
if (null != this._outcome)
{
return this._outcome;
}
ValueBinding vb = getValueBinding("outcome");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* This attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey
* Setter for accesskey
* @param accesskey - new value
*/
public void setAccesskey( String __accesskey ){
this._accesskey = __accesskey;
}
/**
* This attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey
* Getter for accesskey
* @return accesskey value from local variable or value bindings
*/
public String getAccesskey( ){
if (null != this._accesskey)
{
return this._accesskey;
}
ValueBinding vb = getValueBinding("accesskey");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* the fragment identifier to link to.
* Setter for fragment
* @param fragment - new value
*/
public void setFragment( String __fragment ){
this._fragment = __fragment;
}
/**
* the fragment identifier to link to.
* Getter for fragment
* @return fragment value from local variable or value bindings
*/
public String getFragment( ){
if (null != this._fragment)
{
return this._fragment;
}
ValueBinding vb = getValueBinding("fragment");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a key is pressed and released
* Setter for onkeypress
* @param onkeypress - new value
*/
public void setOnkeypress( String __onkeypress ){
this._onkeypress = __onkeypress;
}
/**
* HTML: a script expression; a key is pressed and released
* Getter for onkeypress
* @return onkeypress value from local variable or value bindings
*/
public String getOnkeypress( ){
if (null != this._onkeypress)
{
return this._onkeypress;
}
ValueBinding vb = getValueBinding("onkeypress");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a pointer button is double-clicked
* Setter for ondblclick
* @param ondblclick - new value
*/
public void setOndblclick( String __ondblclick ){
this._ondblclick = __ondblclick;
}
/**
* HTML: a script expression; a pointer button is double-clicked
* Getter for ondblclick
* @return ondblclick value from local variable or value bindings
*/
public String getOndblclick( ){
if (null != this._ondblclick)
{
return this._ondblclick;
}
ValueBinding vb = getValueBinding("ondblclick");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* determines the conversation propagation style: begin, join, nest, none or end.
* Setter for propagation
* @param propagation - new value
*/
public void setPropagation( String __propagation ){
this._propagation = __propagation;
}
/**
* determines the conversation propagation style: begin, join, nest, none or end.
* Getter for propagation
* @return propagation value from local variable or value bindings
*/
public String getPropagation( ){
if (null != this._propagation)
{
return this._propagation;
}
ValueBinding vb = getValueBinding("propagation");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return "default";
}
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Setter for style
* @param style - new value
*/
public void setStyle( String __style ){
this._style = __style;
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Getter for style
* @return style value from local variable or value bindings
*/
public String getStyle( ){
if (null != this._style)
{
return this._style;
}
ValueBinding vb = getValueBinding("style");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a pointer is moved onto
* Setter for onmouseover
* @param onmouseover - new value
*/
public void setOnmouseover( String __onmouseover ){
this._onmouseover = __onmouseover;
}
/**
* HTML: a script expression; a pointer is moved onto
* Getter for onmouseover
* @return onmouseover value from local variable or value bindings
*/
public String getOnmouseover( ){
if (null != this._onmouseover)
{
return this._onmouseover;
}
ValueBinding vb = getValueBinding("onmouseover");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* JavaScript code. The onblur event occurs when an element loses focus either by the pointing device or by tabbing navigation. It may be used with the same elements as onfocus
* Setter for onblur
* @param onblur - new value
*/
public void setOnblur( String __onblur ){
this._onblur = __onblur;
}
/**
* JavaScript code. The onblur event occurs when an element loses focus either by the pointing device or by tabbing navigation. It may be used with the same elements as onfocus
* Getter for onblur
* @return onblur value from local variable or value bindings
*/
public String getOnblur( ){
if (null != this._onblur)
{
return this._onblur;
}
ValueBinding vb = getValueBinding("onblur");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* the JSF view id to link to.
* Setter for view
* @param view - new value
*/
public void setView( String __view ){
this._view = __view;
}
/**
* the JSF view id to link to.
* Getter for view
* @return view value from local variable or value bindings
*/
public String getView( ){
if (null != this._view)
{
return this._view;
}
ValueBinding vb = getValueBinding("view");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* MethodBinding pointing at the application action to be invoked,
if this UIComponent is activated by the user, during the Apply
Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate
property
* Setter for action
* @param action - new value
*/
public void setAction( MethodBinding __action ){
this._action = __action;
}
/**
* MethodBinding pointing at the application action to be invoked,
if this UIComponent is activated by the user, during the Apply
Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate
property
* Getter for action
* @return action value from local variable or value bindings
*/
public MethodBinding getAction( ){
if (null != this._action)
{
return this._action;
} else {
return null;
}
}
/**
* HTML: a script expression; a key is released
* Setter for onkeyup
* @param onkeyup - new value
*/
public void setOnkeyup( String __onkeyup ){
this._onkeyup = __onkeyup;
}
/**
* HTML: a script expression; a key is released
* Getter for onkeyup
* @return onkeyup value from local variable or value bindings
*/
public String getOnkeyup( ){
if (null != this._onkeyup)
{
return this._onkeyup;
}
ValueBinding vb = getValueBinding("onkeyup");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
* Setter for tabindex
* @param tabindex - new value
*/
public void setTabindex( String __tabindex ){
this._tabindex = __tabindex;
}
/**
* This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
* Getter for tabindex
* @return tabindex value from local variable or value bindings
*/
public String getTabindex( ){
if (null != this._tabindex)
{
return this._tabindex;
}
ValueBinding vb = getValueBinding("tabindex");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* Base language of a resource specified with the href attribute; hreflang may only be used with href
* Setter for hreflang
* @param hreflang - new value
*/
public void setHreflang( String __hreflang ){
this._hreflang = __hreflang;
}
/**
* Base language of a resource specified with the href attribute; hreflang may only be used with href
* Getter for hreflang
* @return hreflang value from local variable or value bindings
*/
public String getHreflang( ){
if (null != this._hreflang)
{
return this._hreflang;
}
ValueBinding vb = getValueBinding("hreflang");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* The content type of the resource designated by this hyperlink
* Setter for type
* @param type - new value
*/
public void setType( String __type ){
this._type = __type;
}
/**
* The content type of the resource designated by this hyperlink
* Getter for type
* @return type value from local variable or value bindings
*/
public String getType( ){
if (null != this._type)
{
return this._type;
}
ValueBinding vb = getValueBinding("type");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* Code describing the language used in the generated markup for this component
* Setter for lang
* @param lang - new value
*/
public void setLang( String __lang ){
this._lang = __lang;
}
/**
* Code describing the language used in the generated markup for this component
* Getter for lang
* @return lang value from local variable or value bindings
*/
public String getLang( ){
if (null != this._lang)
{
return this._lang;
}
ValueBinding vb = getValueBinding("lang");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* disabled
* Setter for disabled
* @param disabled - new value
*/
public void setDisabled( boolean __disabled ){
this._disabled = __disabled;
this._disabledSet = true;
}
/**
* disabled
* Getter for disabled
* @return disabled value from local variable or value bindings
*/
public boolean isDisabled( ){
if(this._disabledSet){
return this._disabled;
}
ValueBinding vb = getValueBinding("disabled");
if (vb != null) {
Boolean value = (Boolean) vb.getValue(getFacesContext());
if (null == value) {
return this._disabled;
}
return (value.booleanValue());
} else {
return (this._disabled);
}
}
/**
* HTML: a script expression; a pointer button is clicked
* Setter for onclick
* @param onclick - new value
*/
public void setOnclick( String __onclick ){
this._onclick = __onclick;
}
/**
* HTML: a script expression; a pointer button is clicked
* Getter for onclick
* @return onclick value from local variable or value bindings
*/
public String getOnclick( ){
if (null != this._onclick)
{
return this._onclick;
}
ValueBinding vb = getValueBinding("onclick");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a pointer is moved away
* Setter for onmouseout
* @param onmouseout - new value
*/
public void setOnmouseout( String __onmouseout ){
this._onmouseout = __onmouseout;
}
/**
* HTML: a script expression; a pointer is moved away
* Getter for onmouseout
* @return onmouseout value from local variable or value bindings
*/
public String getOnmouseout( ){
if (null != this._onmouseout)
{
return this._onmouseout;
}
ValueBinding vb = getValueBinding("onmouseout");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a key is pressed down
* Setter for onkeydown
* @param onkeydown - new value
*/
public void setOnkeydown( String __onkeydown ){
this._onkeydown = __onkeydown;
}
/**
* HTML: a script expression; a key is pressed down
* Getter for onkeydown
* @return onkeydown value from local variable or value bindings
*/
public String getOnkeydown( ){
if (null != this._onkeydown)
{
return this._onkeydown;
}
ValueBinding vb = getValueBinding("onkeydown");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: script expression; a pointer button is pressed down
* Setter for onmousedown
* @param onmousedown - new value
*/
public void setOnmousedown( String __onmousedown ){
this._onmousedown = __onmousedown;
}
/**
* HTML: script expression; a pointer button is pressed down
* Getter for onmousedown
* @return onmousedown value from local variable or value bindings
*/
public String getOnmousedown( ){
if (null != this._onmousedown)
{
return this._onmousedown;
}
ValueBinding vb = getValueBinding("onmousedown");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* The relationship from the current document to the anchor specified by this hyperlink. The value of this attribute is a space-separated list of link types
* Setter for rel
* @param rel - new value
*/
public void setRel( String __rel ){
this._rel = __rel;
}
/**
* The relationship from the current document to the anchor specified by this hyperlink. The value of this attribute is a space-separated list of link types
* Getter for rel
* @return rel value from local variable or value bindings
*/
public String getRel( ){
if (null != this._rel)
{
return this._rel;
}
ValueBinding vb = getValueBinding("rel");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* True means, that the default ActionListener should be executed
immediately (i.e. during Apply Request Values phase of the
request processing lifecycle), rather than waiting until the
Invoke Application phase
* Setter for immediate
* @param immediate - new value
*/
public void setImmediate( boolean __immediate ){
this._immediate = __immediate;
this._immediateSet = true;
}
/**
* True means, that the default ActionListener should be executed
immediately (i.e. during Apply Request Values phase of the
request processing lifecycle), rather than waiting until the
Invoke Application phase
* Getter for immediate
* @return immediate value from local variable or value bindings
*/
public boolean isImmediate( ){
if(this._immediateSet){
return this._immediate;
}
ValueBinding vb = getValueBinding("immediate");
if (vb != null) {
Boolean value = (Boolean) vb.getValue(getFacesContext());
if (null == value) {
return this._immediate;
}
return (value.booleanValue());
} else {
return (this._immediate);
}
}
/**
* JavaScript code. The onfocus event occurs when an element gets focus.
* Setter for onfocus
* @param onfocus - new value
*/
public void setOnfocus( String __onfocus ){
this._onfocus = __onfocus;
}
/**
* JavaScript code. The onfocus event occurs when an element gets focus.
* Getter for onfocus
* @return onfocus value from local variable or value bindings
*/
public String getOnfocus( ){
if (null != this._onfocus)
{
return this._onfocus;
}
ValueBinding vb = getValueBinding("onfocus");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: script expression; a pointer button is released
* Setter for onmouseup
* @param onmouseup - new value
*/
public void setOnmouseup( String __onmouseup ){
this._onmouseup = __onmouseup;
}
/**
* HTML: script expression; a pointer button is released
* Getter for onmouseup
* @return onmouseup value from local variable or value bindings
*/
public String getOnmouseup( ){
if (null != this._onmouseup)
{
return this._onmouseup;
}
ValueBinding vb = getValueBinding("onmouseup");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a pointer is moved within
* Setter for onmousemove
* @param onmousemove - new value
*/
public void setOnmousemove( String __onmousemove ){
this._onmousemove = __onmousemove;
}
/**
* HTML: a script expression; a pointer is moved within
* Getter for onmousemove
* @return onmousemove value from local variable or value bindings
*/
public String getOnmousemove( ){
if (null != this._onmousemove)
{
return this._onmousemove;
}
ValueBinding vb = getValueBinding("onmousemove");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:
* rect: left-x, top-y, right-x, bottom-y.
* circle: center-x, center-y, radius. Note. When the radius value is percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two.
* poly: x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon.
Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas
* Setter for coords
* @param coords - new value
*/
public void setCoords( String __coords ){
this._coords = __coords;
}
/**
* This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:
* rect: left-x, top-y, right-x, bottom-y.
* circle: center-x, center-y, radius. Note. When the radius value is percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two.
* poly: x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon.
Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas
* Getter for coords
* @return coords value from local variable or value bindings
*/
public String getCoords( ){
if (null != this._coords)
{
return this._coords;
}
ValueBinding vb = getValueBinding("coords");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Link";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[39];
values[0] = super.saveState(context);
values[1] = saveAttachedState(context, _actionListener );
values[2] = _title;
values[3] = _shape;
values[4] = _target;
values[5] = _charset;
values[6] = _dir;
values[7] = _rev;
values[8] = _styleClass;
values[9] = _pageflow;
values[10] = _outcome;
values[11] = _accesskey;
values[12] = _fragment;
values[13] = _onkeypress;
values[14] = _ondblclick;
values[15] = _propagation;
values[16] = _style;
values[17] = _onmouseover;
values[18] = _onblur;
values[19] = _view;
values[20] = saveAttachedState(context, _action );
values[21] = _onkeyup;
values[22] = _tabindex;
values[23] = _hreflang;
values[24] = _type;
values[25] = _lang;
values[26] = new Boolean(_disabled);
values[27] = Boolean.valueOf(_disabledSet);
values[28] = _onclick;
values[29] = _onmouseout;
values[30] = _onkeydown;
values[31] = _onmousedown;
values[32] = _rel;
values[33] = new Boolean(_immediate);
values[34] = Boolean.valueOf(_immediateSet);
values[35] = _onfocus;
values[36] = _onmouseup;
values[37] = _onmousemove;
values[38] = _coords;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_actionListener = (MethodBinding)restoreAttachedState(context,values[1] );
_title = (String)values[2] ;
_shape = (String)values[3] ;
_target = (String)values[4] ;
_charset = (String)values[5] ;
_dir = (String)values[6] ;
_rev = (String)values[7] ;
_styleClass = (String)values[8] ;
_pageflow = (String)values[9] ;
_outcome = (String)values[10] ;
_accesskey = (String)values[11] ;
_fragment = (String)values[12] ;
_onkeypress = (String)values[13] ;
_ondblclick = (String)values[14] ;
_propagation = (String)values[15] ;
_style = (String)values[16] ;
_onmouseover = (String)values[17] ;
_onblur = (String)values[18] ;
_view = (String)values[19] ;
_action = (MethodBinding)restoreAttachedState(context,values[20] );
_onkeyup = (String)values[21] ;
_tabindex = (String)values[22] ;
_hreflang = (String)values[23] ;
_type = (String)values[24] ;
_lang = (String)values[25] ;
_disabled = ((Boolean)values[26]).booleanValue();
_disabledSet = ((Boolean)values[27]).booleanValue();
_onclick = (String)values[28] ;
_onmouseout = (String)values[29] ;
_onkeydown = (String)values[30] ;
_onmousedown = (String)values[31] ;
_rel = (String)values[32] ;
_immediate = ((Boolean)values[33]).booleanValue();
_immediateSet = ((Boolean)values[34]).booleanValue();
_onfocus = (String)values[35] ;
_onmouseup = (String)values[36] ;
_onmousemove = (String)values[37] ;
_coords = (String)values[38] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlFormattedText.java
Index: HtmlFormattedText.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UIFormattedText ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.FormattedText
* Component-Family org.jboss.seam.ui.FormattedText
* Renderer-Type org.jboss.seam.ui.FormattedTextRenderer
* Output Seam Text.
*/
public class HtmlFormattedText extends org.jboss.seam.ui.component.UIFormattedText {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.FormattedText";
/**
* Constructor to init default renderers
*/
public HtmlFormattedText (){
setRendererType("org.jboss.seam.ui.FormattedTextRenderer");
}
// Component properties fields
// Getters-setters
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.FormattedText";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[1];
values[0] = super.saveState(context);
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlTaskId.java
Index: HtmlTaskId.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import org.jboss.seam.ui.component.UITaskId ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.TaskId
* Component-Family org.jboss.seam.ui.TaskId
* Add the task id to an output link (or similar JSF control), when the task is available via #{task}.
*/
public class HtmlTaskId extends org.jboss.seam.ui.component.UITaskId {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.TaskId";
/**
* Constructor to init default renderers
*/
public HtmlTaskId (){
}
// Component properties fields
// Getters-setters
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.TaskId";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[1];
values[0] = super.saveState(context);
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlButton.java
Index: HtmlButton.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import javax.faces.el.MethodBinding ;
import org.jboss.seam.ui.component.UIButton ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.Button
* Component-Family org.jboss.seam.ui.Button
* Renderer-Type org.jboss.seam.ui.ButtonRenderer
* A link that supports invocation of an action with control over conversation propagation. <i>Does not submit the form.</i>
*/
public class HtmlButton extends org.jboss.seam.ui.component.UIButton {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.Button";
/**
* Constructor to init default renderers
*/
public HtmlButton (){
setRendererType("org.jboss.seam.ui.ButtonRenderer");
}
// Component properties fields
/**
* actionListener
* MethodBinding pointing at method accepting an ActionEvent with return type void
*/
private MethodBinding _actionListener = null; /* Default is null*/
/**
* title
* Advisory title information about markup elements generated for this component
*/
private String _title = null; /* Default is null*/
/**
* dir
* Direction indication for text that does not inherit
directionality. Valid values are "LTR" (left-to-right)
and "RTL" (right-to-left)
*/
private String _dir = null; /* Default is null*/
/**
* styleClass
* Corresponds to the HTML class attribute
*/
private String _styleClass = null; /* Default is null*/
/**
* pageflow
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
*/
private String _pageflow = null; /* Default is null*/
/**
* outcome
* outcome
*/
private String _outcome = null; /* Default is null*/
/**
* accesskey
* This attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey
*/
private String _accesskey = null; /* Default is null*/
/**
* fragment
* the fragment identifier to link to.
*/
private String _fragment = null; /* Default is null*/
/**
* onkeypress
* HTML: a script expression; a key is pressed and released
*/
private String _onkeypress = null; /* Default is null*/
/**
* ondblclick
* HTML: a script expression; a pointer button is double-clicked
*/
private String _ondblclick = null; /* Default is null*/
/**
* image
* image
*/
private String _image = null; /* Default is null*/
/**
* propagation
* determines the conversation propagation style: begin, join, nest, none or end.
*/
private String _propagation = null; /* Default is "default"*/
/**
* style
* CSS style(s) is/are to be applied when this component is rendered
*/
private String _style = null; /* Default is null*/
/**
* size
* This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters
*/
private int _size = Integer.MIN_VALUE;
/**
* Flag indicated what size is set.
*/
private boolean _sizeSet = false;
/**
* onmouseover
* HTML: a script expression; a pointer is moved onto
*/
private String _onmouseover = null; /* Default is null*/
/**
* view
* the JSF view id to link to.
*/
private String _view = null; /* Default is null*/
/**
* action
* MethodBinding pointing at the application action to be invoked,
if this UIComponent is activated by the user, during the Apply
Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate
property
*/
private MethodBinding _action = null; /* Default is null*/
/**
* onkeyup
* HTML: a script expression; a key is released
*/
private String _onkeyup = null; /* Default is null*/
/**
* tabindex
* This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
*/
private String _tabindex = null; /* Default is null*/
/**
* type
* submit|reset|image|button This attribute specifies a type of control to create. The default value for this attribute is "submit"
*/
private String _type = null; /* Default is null*/
/**
* lang
* Code describing the language used in the generated markup for this component
*/
private String _lang = null; /* Default is null*/
/**
* disabled
* When set for a form control, this boolean attribute disables the control for user input.
*/
private boolean _disabled = false;
/**
* Flag indicated what disabled is set.
*/
private boolean _disabledSet = false;
/**
* onclick
* HTML: a script expression; a pointer button is clicked
*/
private String _onclick = null; /* Default is null*/
/**
* alt
* For a user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute
*/
private String _alt = null; /* Default is null*/
/**
* onmouseout
* HTML: a script expression; a pointer is moved away
*/
private String _onmouseout = null; /* Default is null*/
/**
* onkeydown
* HTML: a script expression; a key is pressed down
*/
private String _onkeydown = null; /* Default is null*/
/**
* onmousedown
* HTML: script expression; a pointer button is pressed down
*/
private String _onmousedown = null; /* Default is null*/
/**
* immediate
* True means, that the default ActionListener should be executed
immediately (i.e. during Apply Request Values phase of the
request processing lifecycle), rather than waiting until the
Invoke Application phase
*/
private boolean _immediate = false;
/**
* Flag indicated what immediate is set.
*/
private boolean _immediateSet = false;
/**
* onmouseup
* HTML: script expression; a pointer button is released
*/
private String _onmouseup = null; /* Default is null*/
/**
* onmousemove
* HTML: a script expression; a pointer is moved within
*/
private String _onmousemove = null; /* Default is null*/
// Getters-setters
/**
* MethodBinding pointing at method accepting an ActionEvent with return type void
* Setter for actionListener
* @param actionListener - new value
*/
public void setActionListener( MethodBinding __actionListener ){
this._actionListener = __actionListener;
}
/**
* MethodBinding pointing at method accepting an ActionEvent with return type void
* Getter for actionListener
* @return actionListener value from local variable or value bindings
*/
public MethodBinding getActionListener( ){
if (null != this._actionListener)
{
return this._actionListener;
} else {
return null;
}
}
/**
* Advisory title information about markup elements generated for this component
* Setter for title
* @param title - new value
*/
public void setTitle( String __title ){
this._title = __title;
}
/**
* Advisory title information about markup elements generated for this component
* Getter for title
* @return title value from local variable or value bindings
*/
public String getTitle( ){
if (null != this._title)
{
return this._title;
}
ValueBinding vb = getValueBinding("title");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* Direction indication for text that does not inherit
directionality. Valid values are "LTR" (left-to-right)
and "RTL" (right-to-left)
* Setter for dir
* @param dir - new value
*/
public void setDir( String __dir ){
this._dir = __dir;
}
/**
* Direction indication for text that does not inherit
directionality. Valid values are "LTR" (left-to-right)
and "RTL" (right-to-left)
* Getter for dir
* @return dir value from local variable or value bindings
*/
public String getDir( ){
if (null != this._dir)
{
return this._dir;
}
ValueBinding vb = getValueBinding("dir");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* Corresponds to the HTML class attribute
* Setter for styleClass
* @param styleClass - new value
*/
public void setStyleClass( String __styleClass ){
this._styleClass = __styleClass;
}
/**
* Corresponds to the HTML class attribute
* Getter for styleClass
* @return styleClass value from local variable or value bindings
*/
public String getStyleClass( ){
if (null != this._styleClass)
{
return this._styleClass;
}
ValueBinding vb = getValueBinding("styleClass");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
* Setter for pageflow
* @param pageflow - new value
*/
public void setPageflow( String __pageflow ){
this._pageflow = __pageflow;
}
/**
* a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
* Getter for pageflow
* @return pageflow value from local variable or value bindings
*/
public String getPageflow( ){
if (null != this._pageflow)
{
return this._pageflow;
}
ValueBinding vb = getValueBinding("pageflow");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* outcome
* Setter for outcome
* @param outcome - new value
*/
public void setOutcome( String __outcome ){
this._outcome = __outcome;
}
/**
* outcome
* Getter for outcome
* @return outcome value from local variable or value bindings
*/
public String getOutcome( ){
if (null != this._outcome)
{
return this._outcome;
}
ValueBinding vb = getValueBinding("outcome");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* This attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey
* Setter for accesskey
* @param accesskey - new value
*/
public void setAccesskey( String __accesskey ){
this._accesskey = __accesskey;
}
/**
* This attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey
* Getter for accesskey
* @return accesskey value from local variable or value bindings
*/
public String getAccesskey( ){
if (null != this._accesskey)
{
return this._accesskey;
}
ValueBinding vb = getValueBinding("accesskey");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* the fragment identifier to link to.
* Setter for fragment
* @param fragment - new value
*/
public void setFragment( String __fragment ){
this._fragment = __fragment;
}
/**
* the fragment identifier to link to.
* Getter for fragment
* @return fragment value from local variable or value bindings
*/
public String getFragment( ){
if (null != this._fragment)
{
return this._fragment;
}
ValueBinding vb = getValueBinding("fragment");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a key is pressed and released
* Setter for onkeypress
* @param onkeypress - new value
*/
public void setOnkeypress( String __onkeypress ){
this._onkeypress = __onkeypress;
}
/**
* HTML: a script expression; a key is pressed and released
* Getter for onkeypress
* @return onkeypress value from local variable or value bindings
*/
public String getOnkeypress( ){
if (null != this._onkeypress)
{
return this._onkeypress;
}
ValueBinding vb = getValueBinding("onkeypress");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a pointer button is double-clicked
* Setter for ondblclick
* @param ondblclick - new value
*/
public void setOndblclick( String __ondblclick ){
this._ondblclick = __ondblclick;
}
/**
* HTML: a script expression; a pointer button is double-clicked
* Getter for ondblclick
* @return ondblclick value from local variable or value bindings
*/
public String getOndblclick( ){
if (null != this._ondblclick)
{
return this._ondblclick;
}
ValueBinding vb = getValueBinding("ondblclick");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* image
* Setter for image
* @param image - new value
*/
public void setImage( String __image ){
this._image = __image;
}
/**
* image
* Getter for image
* @return image value from local variable or value bindings
*/
public String getImage( ){
if (null != this._image)
{
return this._image;
}
ValueBinding vb = getValueBinding("image");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* determines the conversation propagation style: begin, join, nest, none or end.
* Setter for propagation
* @param propagation - new value
*/
public void setPropagation( String __propagation ){
this._propagation = __propagation;
}
/**
* determines the conversation propagation style: begin, join, nest, none or end.
* Getter for propagation
* @return propagation value from local variable or value bindings
*/
public String getPropagation( ){
if (null != this._propagation)
{
return this._propagation;
}
ValueBinding vb = getValueBinding("propagation");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return "default";
}
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Setter for style
* @param style - new value
*/
public void setStyle( String __style ){
this._style = __style;
}
/**
* CSS style(s) is/are to be applied when this component is rendered
* Getter for style
* @return style value from local variable or value bindings
*/
public String getStyle( ){
if (null != this._style)
{
return this._style;
}
ValueBinding vb = getValueBinding("style");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters
* Setter for size
* @param size - new value
*/
public void setSize( int __size ){
this._size = __size;
this._sizeSet = true;
}
/**
* This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters
* Getter for size
* @return size value from local variable or value bindings
*/
public int getSize( ){
if(this._sizeSet){
return this._size;
}
ValueBinding vb = getValueBinding("size");
if (vb != null) {
Integer value = (Integer) vb.getValue(getFacesContext());
if (null == value) {
return this._size;
}
return (value.intValue());
} else {
return (this._size);
}
}
/**
* HTML: a script expression; a pointer is moved onto
* Setter for onmouseover
* @param onmouseover - new value
*/
public void setOnmouseover( String __onmouseover ){
this._onmouseover = __onmouseover;
}
/**
* HTML: a script expression; a pointer is moved onto
* Getter for onmouseover
* @return onmouseover value from local variable or value bindings
*/
public String getOnmouseover( ){
if (null != this._onmouseover)
{
return this._onmouseover;
}
ValueBinding vb = getValueBinding("onmouseover");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* the JSF view id to link to.
* Setter for view
* @param view - new value
*/
public void setView( String __view ){
this._view = __view;
}
/**
* the JSF view id to link to.
* Getter for view
* @return view value from local variable or value bindings
*/
public String getView( ){
if (null != this._view)
{
return this._view;
}
ValueBinding vb = getValueBinding("view");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* MethodBinding pointing at the application action to be invoked,
if this UIComponent is activated by the user, during the Apply
Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate
property
* Setter for action
* @param action - new value
*/
public void setAction( MethodBinding __action ){
this._action = __action;
}
/**
* MethodBinding pointing at the application action to be invoked,
if this UIComponent is activated by the user, during the Apply
Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate
property
* Getter for action
* @return action value from local variable or value bindings
*/
public MethodBinding getAction( ){
if (null != this._action)
{
return this._action;
} else {
return null;
}
}
/**
* HTML: a script expression; a key is released
* Setter for onkeyup
* @param onkeyup - new value
*/
public void setOnkeyup( String __onkeyup ){
this._onkeyup = __onkeyup;
}
/**
* HTML: a script expression; a key is released
* Getter for onkeyup
* @return onkeyup value from local variable or value bindings
*/
public String getOnkeyup( ){
if (null != this._onkeyup)
{
return this._onkeyup;
}
ValueBinding vb = getValueBinding("onkeyup");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
* Setter for tabindex
* @param tabindex - new value
*/
public void setTabindex( String __tabindex ){
this._tabindex = __tabindex;
}
/**
* This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
* Getter for tabindex
* @return tabindex value from local variable or value bindings
*/
public String getTabindex( ){
if (null != this._tabindex)
{
return this._tabindex;
}
ValueBinding vb = getValueBinding("tabindex");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* submit|reset|image|button This attribute specifies a type of control to create. The default value for this attribute is "submit"
* Setter for type
* @param type - new value
*/
public void setType( String __type ){
this._type = __type;
}
/**
* submit|reset|image|button This attribute specifies a type of control to create. The default value for this attribute is "submit"
* Getter for type
* @return type value from local variable or value bindings
*/
public String getType( ){
if (null != this._type)
{
return this._type;
}
ValueBinding vb = getValueBinding("type");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* Code describing the language used in the generated markup for this component
* Setter for lang
* @param lang - new value
*/
public void setLang( String __lang ){
this._lang = __lang;
}
/**
* Code describing the language used in the generated markup for this component
* Getter for lang
* @return lang value from local variable or value bindings
*/
public String getLang( ){
if (null != this._lang)
{
return this._lang;
}
ValueBinding vb = getValueBinding("lang");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* When set for a form control, this boolean attribute disables the control for user input.
* Setter for disabled
* @param disabled - new value
*/
public void setDisabled( boolean __disabled ){
this._disabled = __disabled;
this._disabledSet = true;
}
/**
* When set for a form control, this boolean attribute disables the control for user input.
* Getter for disabled
* @return disabled value from local variable or value bindings
*/
public boolean isDisabled( ){
if(this._disabledSet){
return this._disabled;
}
ValueBinding vb = getValueBinding("disabled");
if (vb != null) {
Boolean value = (Boolean) vb.getValue(getFacesContext());
if (null == value) {
return this._disabled;
}
return (value.booleanValue());
} else {
return (this._disabled);
}
}
/**
* HTML: a script expression; a pointer button is clicked
* Setter for onclick
* @param onclick - new value
*/
public void setOnclick( String __onclick ){
this._onclick = __onclick;
}
/**
* HTML: a script expression; a pointer button is clicked
* Getter for onclick
* @return onclick value from local variable or value bindings
*/
public String getOnclick( ){
if (null != this._onclick)
{
return this._onclick;
}
ValueBinding vb = getValueBinding("onclick");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* For a user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute
* Setter for alt
* @param alt - new value
*/
public void setAlt( String __alt ){
this._alt = __alt;
}
/**
* For a user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute
* Getter for alt
* @return alt value from local variable or value bindings
*/
public String getAlt( ){
if (null != this._alt)
{
return this._alt;
}
ValueBinding vb = getValueBinding("alt");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a pointer is moved away
* Setter for onmouseout
* @param onmouseout - new value
*/
public void setOnmouseout( String __onmouseout ){
this._onmouseout = __onmouseout;
}
/**
* HTML: a script expression; a pointer is moved away
* Getter for onmouseout
* @return onmouseout value from local variable or value bindings
*/
public String getOnmouseout( ){
if (null != this._onmouseout)
{
return this._onmouseout;
}
ValueBinding vb = getValueBinding("onmouseout");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a key is pressed down
* Setter for onkeydown
* @param onkeydown - new value
*/
public void setOnkeydown( String __onkeydown ){
this._onkeydown = __onkeydown;
}
/**
* HTML: a script expression; a key is pressed down
* Getter for onkeydown
* @return onkeydown value from local variable or value bindings
*/
public String getOnkeydown( ){
if (null != this._onkeydown)
{
return this._onkeydown;
}
ValueBinding vb = getValueBinding("onkeydown");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: script expression; a pointer button is pressed down
* Setter for onmousedown
* @param onmousedown - new value
*/
public void setOnmousedown( String __onmousedown ){
this._onmousedown = __onmousedown;
}
/**
* HTML: script expression; a pointer button is pressed down
* Getter for onmousedown
* @return onmousedown value from local variable or value bindings
*/
public String getOnmousedown( ){
if (null != this._onmousedown)
{
return this._onmousedown;
}
ValueBinding vb = getValueBinding("onmousedown");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* True means, that the default ActionListener should be executed
immediately (i.e. during Apply Request Values phase of the
request processing lifecycle), rather than waiting until the
Invoke Application phase
* Setter for immediate
* @param immediate - new value
*/
public void setImmediate( boolean __immediate ){
this._immediate = __immediate;
this._immediateSet = true;
}
/**
* True means, that the default ActionListener should be executed
immediately (i.e. during Apply Request Values phase of the
request processing lifecycle), rather than waiting until the
Invoke Application phase
* Getter for immediate
* @return immediate value from local variable or value bindings
*/
public boolean isImmediate( ){
if(this._immediateSet){
return this._immediate;
}
ValueBinding vb = getValueBinding("immediate");
if (vb != null) {
Boolean value = (Boolean) vb.getValue(getFacesContext());
if (null == value) {
return this._immediate;
}
return (value.booleanValue());
} else {
return (this._immediate);
}
}
/**
* HTML: script expression; a pointer button is released
* Setter for onmouseup
* @param onmouseup - new value
*/
public void setOnmouseup( String __onmouseup ){
this._onmouseup = __onmouseup;
}
/**
* HTML: script expression; a pointer button is released
* Getter for onmouseup
* @return onmouseup value from local variable or value bindings
*/
public String getOnmouseup( ){
if (null != this._onmouseup)
{
return this._onmouseup;
}
ValueBinding vb = getValueBinding("onmouseup");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* HTML: a script expression; a pointer is moved within
* Setter for onmousemove
* @param onmousemove - new value
*/
public void setOnmousemove( String __onmousemove ){
this._onmousemove = __onmousemove;
}
/**
* HTML: a script expression; a pointer is moved within
* Getter for onmousemove
* @return onmousemove value from local variable or value bindings
*/
public String getOnmousemove( ){
if (null != this._onmousemove)
{
return this._onmousemove;
}
ValueBinding vb = getValueBinding("onmousemove");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Button";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[34];
values[0] = super.saveState(context);
values[1] = saveAttachedState(context, _actionListener );
values[2] = _title;
values[3] = _dir;
values[4] = _styleClass;
values[5] = _pageflow;
values[6] = _outcome;
values[7] = _accesskey;
values[8] = _fragment;
values[9] = _onkeypress;
values[10] = _ondblclick;
values[11] = _image;
values[12] = _propagation;
values[13] = _style;
values[14] = new Integer(_size);
values[15] = Boolean.valueOf(_sizeSet);
values[16] = _onmouseover;
values[17] = _view;
values[18] = saveAttachedState(context, _action );
values[19] = _onkeyup;
values[20] = _tabindex;
values[21] = _type;
values[22] = _lang;
values[23] = new Boolean(_disabled);
values[24] = Boolean.valueOf(_disabledSet);
values[25] = _onclick;
values[26] = _alt;
values[27] = _onmouseout;
values[28] = _onkeydown;
values[29] = _onmousedown;
values[30] = new Boolean(_immediate);
values[31] = Boolean.valueOf(_immediateSet);
values[32] = _onmouseup;
values[33] = _onmousemove;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_actionListener = (MethodBinding)restoreAttachedState(context,values[1] );
_title = (String)values[2] ;
_dir = (String)values[3] ;
_styleClass = (String)values[4] ;
_pageflow = (String)values[5] ;
_outcome = (String)values[6] ;
_accesskey = (String)values[7] ;
_fragment = (String)values[8] ;
_onkeypress = (String)values[9] ;
_ondblclick = (String)values[10] ;
_image = (String)values[11] ;
_propagation = (String)values[12] ;
_style = (String)values[13] ;
_size = ((Integer)values[14]).intValue();
_sizeSet = ((Boolean)values[15]).booleanValue();
_onmouseover = (String)values[16] ;
_view = (String)values[17] ;
_action = (MethodBinding)restoreAttachedState(context,values[18] );
_onkeyup = (String)values[19] ;
_tabindex = (String)values[20] ;
_type = (String)values[21] ;
_lang = (String)values[22] ;
_disabled = ((Boolean)values[23]).booleanValue();
_disabledSet = ((Boolean)values[24]).booleanValue();
_onclick = (String)values[25] ;
_alt = (String)values[26] ;
_onmouseout = (String)values[27] ;
_onkeydown = (String)values[28] ;
_onmousedown = (String)values[29] ;
_immediate = ((Boolean)values[30]).booleanValue();
_immediateSet = ((Boolean)values[31]).booleanValue();
_onmouseup = (String)values[32] ;
_onmousemove = (String)values[33] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlTransformImageBlur.java
Index: HtmlTransformImageBlur.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import org.jboss.seam.ui.graphicImage.UITransformImageBlur ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.graphicImage.TransformImageBlur
* Component-Family org.jboss.seam.ui.graphicImage.TransformImageBlur
*
*/
public class HtmlTransformImageBlur extends org.jboss.seam.ui.graphicImage.UITransformImageBlur {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.graphicImage.TransformImageBlur";
/**
* Constructor to init default renderers
*/
public HtmlTransformImageBlur (){
}
// Component properties fields
/**
* radius
*
*/
private String _radius = null; /* Default is null*/
// Getters-setters
/**
*
* Setter for radius
* @param radius - new value
*/
public void setRadius( String __radius ){
this._radius = __radius;
}
/**
*
* Getter for radius
* @return radius value from local variable or value bindings
*/
public String getRadius( ){
if (null != this._radius)
{
return this._radius;
}
ValueBinding vb = getValueBinding("radius");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "org.jboss.seam.ui.graphicImage.TransformImageBlur";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[2];
values[0] = super.saveState(context);
values[1] = _radius;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_radius = (String)values[1] ;
}
// Utilites
}
1.1 date: 2007/06/20 08:40:18; author: pmuir; state: Exp;jboss-seam/ui/target/generated-component/java/org/jboss/seam/ui/component/html/HtmlSelectItems.java
Index: HtmlSelectItems.java
===================================================================
/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.jboss.seam.ui.component.html;
import java.lang.String ;
import java.lang.Object ;
import java.lang.Boolean ;
import org.jboss.seam.ui.component.UISelectItems ;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
/**
* Component-Type org.jboss.seam.ui.SelectItems
* Component-Family javax.faces.SelectItems
* Creates a List<SelectItem> from a List, Set, DataModel or Array.
*/
public class HtmlSelectItems extends org.jboss.seam.ui.component.UISelectItems {
public static final String COMPONENT_TYPE = "org.jboss.seam.ui.SelectItems";
/**
* Constructor to init default renderers
*/
public HtmlSelectItems (){
}
// Component properties fields
/**
* var
* defines the name of the local variable that holds the current object during iteration
*/
private String _var = null; /* Default is null*/
/**
* label
* the label to be used when rendering the SelectItem. Can reference the var variable
*/
private Object _label = null; /* Default is null*/
/**
* disabled
* if true the SelectItem will be rendered disabled. Can reference the var variable
*/
private Boolean _disabled = null; /* Default is null*/
/**
* hideNoSelectionLabel
* if true, the noSelectionLabel will be hidden when a value is selected
*/
private Boolean _hideNoSelectionLabel = null; /* Default is false*/
/**
* noSelectionLabel
* specifies the (optional) label to place at the top of list (if required="true" is also specified then selecting this value will cause a validation error)
*/
private String _noSelectionLabel = null; /* Default is null*/
// Getters-setters
/**
* defines the name of the local variable that holds the current object during iteration
* Setter for var
* @param var - new value
*/
public void setVar( String __var ){
this._var = __var;
}
/**
* defines the name of the local variable that holds the current object during iteration
* Getter for var
* @return var value from local variable or value bindings
*/
public String getVar( ){
if (null != this._var)
{
return this._var;
}
ValueBinding vb = getValueBinding("var");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* the label to be used when rendering the SelectItem. Can reference the var variable
* Setter for label
* @param label - new value
*/
public void setLabel( Object __label ){
this._label = __label;
}
/**
* the label to be used when rendering the SelectItem. Can reference the var variable
* Getter for label
* @return label value from local variable or value bindings
*/
public Object getLabel( ){
if (null != this._label)
{
return this._label;
}
ValueBinding vb = getValueBinding("label");
if (null != vb){
return (Object)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* if true the SelectItem will be rendered disabled. Can reference the var variable
* Setter for disabled
* @param disabled - new value
*/
public void setDisabled( Boolean __disabled ){
this._disabled = __disabled;
}
/**
* if true the SelectItem will be rendered disabled. Can reference the var variable
* Getter for disabled
* @return disabled value from local variable or value bindings
*/
public Boolean getDisabled( ){
if (null != this._disabled)
{
return this._disabled;
}
ValueBinding vb = getValueBinding("disabled");
if (null != vb){
return (Boolean)vb.getValue(getFacesContext());
} else {
return null;
}
}
/**
* if true, the noSelectionLabel will be hidden when a value is selected
* Setter for hideNoSelectionLabel
* @param hideNoSelectionLabel - new value
*/
public void setHideNoSelectionLabel( Boolean __hideNoSelectionLabel ){
this._hideNoSelectionLabel = __hideNoSelectionLabel;
}
/**
* if true, the noSelectionLabel will be hidden when a value is selected
* Getter for hideNoSelectionLabel
* @return hideNoSelectionLabel value from local variable or value bindings
*/
public Boolean getHideNoSelectionLabel( ){
if (null != this._hideNoSelectionLabel)
{
return this._hideNoSelectionLabel;
}
ValueBinding vb = getValueBinding("hideNoSelectionLabel");
if (null != vb){
return (Boolean)vb.getValue(getFacesContext());
} else {
return false;
}
}
/**
* specifies the (optional) label to place at the top of list (if required="true" is also specified then selecting this value will cause a validation error)
* Setter for noSelectionLabel
* @param noSelectionLabel - new value
*/
public void setNoSelectionLabel( String __noSelectionLabel ){
this._noSelectionLabel = __noSelectionLabel;
}
/**
* specifies the (optional) label to place at the top of list (if required="true" is also specified then selecting this value will cause a validation error)
* Getter for noSelectionLabel
* @return noSelectionLabel value from local variable or value bindings
*/
public String getNoSelectionLabel( ){
if (null != this._noSelectionLabel)
{
return this._noSelectionLabel;
}
ValueBinding vb = getValueBinding("noSelectionLabel");
if (null != vb){
return (String)vb.getValue(getFacesContext());
} else {
return null;
}
}
// Component family.
public static final String COMPONENT_FAMILY = "javax.faces.SelectItems";
public String getFamily() {
return COMPONENT_FAMILY;
}
// Save state
// ----------------------------------------------------- StateHolder Methods
public Object saveState(FacesContext context) {
Object values[] = new Object[6];
values[0] = super.saveState(context);
values[1] = _var;
values[2] = _label;
values[3] = _disabled;
values[4] = _hideNoSelectionLabel;
values[5] = _noSelectionLabel;
return values;
}
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
_var = (String)values[1] ;
_label = (Object)values[2] ;
_disabled = (Boolean)values[3] ;
_hideNoSelectionLabel = (Boolean)values[4] ;
_noSelectionLabel = (String)values[5] ;
}
// Utilites
}
More information about the jboss-cvs-commits
mailing list