Package org.jboss.seam.ui.component.html

Source Code of org.jboss.seam.ui.component.html.HtmlButton

/**
* GENERATED FILE - DO NOT EDIT
*
*/

package org.jboss.seam.ui.component.html;

import java.lang.String ;
import java.lang.Object ;
import javax.el.MethodExpression ;
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
   /**
   * 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*/
          /**
   * actionExpression
   * actionExpression
   */
      private MethodExpression  _actionExpression = null; /* Default is null*/
         /**
   * actionListener
   * MethodBinding pointing at method accepting  an ActionEvent with return type void
   */
      private MethodBinding  _actionListener = 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*/
          /**
   * conversationName
   * The name of the conversation for natural conversations
   */
      private String  _conversationName = 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*/
         /**
   * 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
          /**
   * fragment
   * the fragment identifier to link to.
   */
      private String  _fragment = null; /* Default is null*/
          /**
   * image
   * image
   */
      private String  _image = 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
         /**
   * lang
   * Code describing the language used in the generated markup for this component
   */
      private String  _lang = null; /* Default is null*/
          /**
   * onclick
   * HTML: a script expression; a pointer button is clicked
   */
      private String  _onclick = null; /* Default is null*/
         /**
   * ondblclick
   * HTML: a script expression; a pointer button is double-clicked
   */
      private String  _ondblclick = null; /* Default is null*/
         /**
   * onkeydown
   * HTML: a script expression; a key is pressed down
   */
      private String  _onkeydown = null; /* Default is null*/
         /**
   * onkeypress
   * HTML: a script expression; a key is pressed and released
   */
      private String  _onkeypress = null; /* Default is null*/
         /**
   * onkeyup
   * HTML: a script expression; a key is released
   */
      private String  _onkeyup = null; /* Default is null*/
         /**
   * onmousedown
   * HTML: script expression; a pointer button is pressed down
   */
      private String  _onmousedown = null; /* Default is null*/
         /**
   * onmousemove
   * HTML: a script expression; a pointer is moved within
   */
      private String  _onmousemove = null; /* Default is null*/
         /**
   * onmouseout
   * HTML: a script expression; a pointer is moved away
   */
      private String  _onmouseout = null; /* Default is null*/
         /**
   * onmouseover
   * HTML: a script expression; a pointer is moved onto
   */
      private String  _onmouseover = null; /* Default is null*/
         /**
   * onmouseup
   * HTML: script expression; a pointer button is released
   */
      private String  _onmouseup = null; /* Default is null*/
         /**
   * outcome
   * ${prop.xmlEncodedDescription}
   */
      private String  _outcome = 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*/
          /**
   * propagation
   * determines the conversation propagation style: begin, join, nest, none or end.
   */
      private String  _propagation = null; /* Default is "default"*/
           /**
   * 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
         /**
   * style
   * CSS style(s) is/are to be applied when this component is rendered
   */
      private String  _style = null; /* Default is null*/
         /**
   * styleClass
   * Corresponds to the HTML class attribute
   */
      private String  _styleClass = 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*/
         /**
   * taskInstance
   * Specify the task to operate on (e.g. for @StartTask)
   */
      private Object  _taskInstance = null; /* Default is null*/
         /**
   * title
   * Advisory title information about markup elements generated for this component
   */
      private String  _title = 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*/
           /**
   * view
   * the JSF view id to link to.
   */
      private String  _view = null; /* Default is null*/
     
// Getters-setters
    /**
   * 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;
        }
      }
         /**
   * actionExpression
   * Setter for actionExpression
   * @param actionExpression - new value
   */
   public void setActionExpression( MethodExpression  __actionExpression ){
    this._actionExpression = __actionExpression;
      }


   /**
   * actionExpression
   * Getter for actionExpression
   * @return actionExpression value from local variable or value bindings
   */
   public MethodExpression getActionExpression(  ){
           if (null != this._actionExpression)
        {
            return this._actionExpression;
              }
        ValueBinding vb = getValueBinding("actionExpression");
        if (null != vb){
            return (MethodExpression)vb.getValue(getFacesContext());
            } else {
            return null;
        }
      }
        /**
   * 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;
        }
      }
         /**
   * 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;
        }
      }
         /**
   * The name of the conversation for natural conversations
   * Setter for conversationName
   * @param conversationName - new value
   */
   public void setConversationName( String  __conversationName ){
    this._conversationName = __conversationName;
      }


   /**
   * The name of the conversation for natural conversations
   * Getter for conversationName
   * @return conversationName value from local variable or value bindings
   */
   public String getConversationName(  ){
           if (null != this._conversationName)
        {
            return this._conversationName;
              }
        ValueBinding vb = getValueBinding("conversationName");
        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;
        }
      }
        /**
   * 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);
      }
      }
         /**
   * 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;
        }
      }
         /**
   * 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;
        }
      }
        /**
   * 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);
      }
      }
        /**
   * 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;
        }
      }
         /**
   * 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 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;
        }
      }
        /**
   * 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: 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 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;
        }
      }
        /**
   * 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;
        }
      }
        /**
   * 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;
        }
      }
        /**
   * 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 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;
        }
      }
        /**
   * 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;
        }
      }
        /**
   * ${prop.xmlEncodedDescription}
   * Setter for outcome
   * @param outcome - new value
   */
   public void setOutcome( String  __outcome ){
    this._outcome = __outcome;
      }


   /**
   * ${prop.xmlEncodedDescription}
   * 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;
        }
      }
        /**
   * 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 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";
        }
      }
          /**
   * 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);
      }
      }
        /**
   * 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;
        }
      }
        /**
   * 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;
        }
      }
        /**
   * 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;
        }
      }
        /**
   * Specify the task to operate on (e.g. for @StartTask)
   * Setter for taskInstance
   * @param taskInstance - new value
   */
   public void setTaskInstance( Object  __taskInstance ){
    this._taskInstance = __taskInstance;
      }


   /**
   * Specify the task to operate on (e.g. for @StartTask)
   * Getter for taskInstance
   * @return taskInstance value from local variable or value bindings
   */
   public Object getTaskInstance(  ){
           if (null != this._taskInstance)
        {
            return this._taskInstance;
              }
        ValueBinding vb = getValueBinding("taskInstance");
        if (null != vb){
            return (Object)vb.getValue(getFacesContext());
            } 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;
        }
      }
        /**
   * 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;
        }
      }
          /**
   * 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;
        }
      }
   
// 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[36];
        values[0] = super.saveState(context);
                values[1] = _accesskey;
         
                  values[2] = _actionExpression;
         
                 values[3] = saveAttachedState(context, _actionListener );   
         
                  values[4] = _alt;
         
                  values[5] = _conversationName;
         
                  values[6] = _dir;
         
            values[7] = new Boolean(_disabled);
          values[8] = Boolean.valueOf(_disabledSet)
         
                  values[9] = _fragment;
         
                  values[10] = _image;
         
            values[11] = new Boolean(_immediate);
          values[12] = Boolean.valueOf(_immediateSet)
         
                 values[13] = _lang;
         
                  values[14] = _onclick;
         
                 values[15] = _ondblclick;
         
                 values[16] = _onkeydown;
         
                 values[17] = _onkeypress;
         
                 values[18] = _onkeyup;
         
                 values[19] = _onmousedown;
         
                 values[20] = _onmousemove;
         
                 values[21] = _onmouseout;
         
                 values[22] = _onmouseover;
         
                 values[23] = _onmouseup;
         
                 values[24] = _outcome;
         
                 values[25] = _pageflow;
         
                  values[26] = _propagation;
         
              values[27] = new Integer(_size);
          values[28] = Boolean.valueOf(_sizeSet)
         
                 values[29] = _style;
         
                 values[30] = _styleClass;
         
                 values[31] = _tabindex;
         
                 values[32] = _taskInstance;
         
                 values[33] = _title;
         
                 values[34] = _type;
         
                   values[35] = _view;
         
     return values;
   }
  

    public void restoreState(FacesContext context, Object state) {
        Object values[] = (Object[]) state;
        super.restoreState(context, values[0]);
                _accesskey = (String)values[1] ;
         
                  _actionExpression = (MethodExpression)values[2] ;
         
                 _actionListener = (MethodBinding)restoreAttachedState(context,values[3] );   
         
                  _alt = (String)values[4] ;
         
                  _conversationName = (String)values[5] ;
         
                  _dir = (String)values[6] ;
         
            _disabled = ((Boolean)values[7]).booleanValue();
          _disabledSet = ((Boolean)values[8]).booleanValue()
         
                  _fragment = (String)values[9] ;
         
                  _image = (String)values[10] ;
         
            _immediate = ((Boolean)values[11]).booleanValue();
          _immediateSet = ((Boolean)values[12]).booleanValue()
         
                 _lang = (String)values[13] ;
         
                  _onclick = (String)values[14] ;
         
                 _ondblclick = (String)values[15] ;
         
                 _onkeydown = (String)values[16] ;
         
                 _onkeypress = (String)values[17] ;
         
                 _onkeyup = (String)values[18] ;
         
                 _onmousedown = (String)values[19] ;
         
                 _onmousemove = (String)values[20] ;
         
                 _onmouseout = (String)values[21] ;
         
                 _onmouseover = (String)values[22] ;
         
                 _onmouseup = (String)values[23] ;
         
                 _outcome = (String)values[24] ;
         
                 _pageflow = (String)values[25] ;
         
                  _propagation = (String)values[26] ;
         
              _size = ((Integer)values[27]).intValue();
          _sizeSet = ((Boolean)values[28]).booleanValue()
         
                 _style = (String)values[29] ;
         
                 _styleClass = (String)values[30] ;
         
                 _tabindex = (String)values[31] ;
         
                 _taskInstance = (Object)values[32] ;
         
                 _title = (String)values[33] ;
         
                 _type = (String)values[34] ;
         
                   _view = (String)values[35] ;
         
  
   
 
// Utilites

}
TOP

Related Classes of org.jboss.seam.ui.component.html.HtmlButton

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