Class Button

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Button extends ButtonContent implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://www.w3.org/1999/xhtml}button.content">
       <attGroup ref="{http://www.w3.org/1999/xhtml}focus"/>
       <attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="type" default="submit">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="button"/>
             <enumeration value="submit"/>
             <enumeration value="reset"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="disabled">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="disabled"/>
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • name

      protected String name
    • value

      protected String value
    • type

      protected String type
    • disabled

      protected String disabled
    • accesskey

      protected String accesskey
    • tabindex

      protected Integer tabindex
    • onfocus

      protected String onfocus
    • onblur

      protected String onblur
    • langAttribute

      protected String langAttribute
    • lang

      protected String lang
    • dir

      protected String dir
    • id

      protected String id
    • clazz

      protected List<String> clazz
    • style

      protected String style
    • title

      protected String title
    • onclick

      protected String onclick
    • ondblclick

      protected String ondblclick
    • onmousedown

      protected String onmousedown
    • onmouseup

      protected String onmouseup
    • onmouseover

      protected String onmouseover
    • onmousemove

      protected String onmousemove
    • onmouseout

      protected String onmouseout
    • onkeypress

      protected String onkeypress
    • onkeydown

      protected String onkeydown
    • onkeyup

      protected String onkeyup
  • Constructor Details

    • Button

      public Button()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getDisabled

      public String getDisabled()
      Gets the value of the disabled property.
      Returns:
      possible object is String
    • setDisabled

      public void setDisabled(String value)
      Sets the value of the disabled property.
      Parameters:
      value - allowed object is String
    • getAccesskey

      public String getAccesskey()
      Gets the value of the accesskey property.
      Returns:
      possible object is String
    • setAccesskey

      public void setAccesskey(String value)
      Sets the value of the accesskey property.
      Parameters:
      value - allowed object is String
    • getTabindex

      public Integer getTabindex()
      Gets the value of the tabindex property.
      Returns:
      possible object is Integer
    • setTabindex

      public void setTabindex(Integer value)
      Sets the value of the tabindex property.
      Parameters:
      value - allowed object is Integer
    • getOnfocus

      public String getOnfocus()
      Gets the value of the onfocus property.
      Returns:
      possible object is String
    • setOnfocus

      public void setOnfocus(String value)
      Sets the value of the onfocus property.
      Parameters:
      value - allowed object is String
    • getOnblur

      public String getOnblur()
      Gets the value of the onblur property.
      Returns:
      possible object is String
    • setOnblur

      public void setOnblur(String value)
      Sets the value of the onblur property.
      Parameters:
      value - allowed object is String
    • getLangAttribute

      public String getLangAttribute()
      Gets the value of the langAttribute property.
      Returns:
      possible object is String
    • setLangAttribute

      public void setLangAttribute(String value)
      Sets the value of the langAttribute property.
      Parameters:
      value - allowed object is String
    • getLang

      public String getLang()
      Gets the value of the lang property.
      Returns:
      possible object is String
    • setLang

      public void setLang(String value)
      Sets the value of the lang property.
      Parameters:
      value - allowed object is String
    • getDir

      public String getDir()
      Gets the value of the dir property.
      Returns:
      possible object is String
    • setDir

      public void setDir(String value)
      Sets the value of the dir property.
      Parameters:
      value - allowed object is String
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getClazz

      public List<String> getClazz()
      Gets the value of the clazz property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the clazz property.

      For example, to add a new item, do as follows:

          getClazz().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getStyle

      public String getStyle()
      Gets the value of the style property.
      Returns:
      possible object is String
    • setStyle

      public void setStyle(String value)
      Sets the value of the style property.
      Parameters:
      value - allowed object is String
    • getTitle

      public String getTitle()
      Gets the value of the title property.
      Returns:
      possible object is String
    • setTitle

      public void setTitle(String value)
      Sets the value of the title property.
      Parameters:
      value - allowed object is String
    • getOnclick

      public String getOnclick()
      Gets the value of the onclick property.
      Returns:
      possible object is String
    • setOnclick

      public void setOnclick(String value)
      Sets the value of the onclick property.
      Parameters:
      value - allowed object is String
    • getOndblclick

      public String getOndblclick()
      Gets the value of the ondblclick property.
      Returns:
      possible object is String
    • setOndblclick

      public void setOndblclick(String value)
      Sets the value of the ondblclick property.
      Parameters:
      value - allowed object is String
    • getOnmousedown

      public String getOnmousedown()
      Gets the value of the onmousedown property.
      Returns:
      possible object is String
    • setOnmousedown

      public void setOnmousedown(String value)
      Sets the value of the onmousedown property.
      Parameters:
      value - allowed object is String
    • getOnmouseup

      public String getOnmouseup()
      Gets the value of the onmouseup property.
      Returns:
      possible object is String
    • setOnmouseup

      public void setOnmouseup(String value)
      Sets the value of the onmouseup property.
      Parameters:
      value - allowed object is String
    • getOnmouseover

      public String getOnmouseover()
      Gets the value of the onmouseover property.
      Returns:
      possible object is String
    • setOnmouseover

      public void setOnmouseover(String value)
      Sets the value of the onmouseover property.
      Parameters:
      value - allowed object is String
    • getOnmousemove

      public String getOnmousemove()
      Gets the value of the onmousemove property.
      Returns:
      possible object is String
    • setOnmousemove

      public void setOnmousemove(String value)
      Sets the value of the onmousemove property.
      Parameters:
      value - allowed object is String
    • getOnmouseout

      public String getOnmouseout()
      Gets the value of the onmouseout property.
      Returns:
      possible object is String
    • setOnmouseout

      public void setOnmouseout(String value)
      Sets the value of the onmouseout property.
      Parameters:
      value - allowed object is String
    • getOnkeypress

      public String getOnkeypress()
      Gets the value of the onkeypress property.
      Returns:
      possible object is String
    • setOnkeypress

      public void setOnkeypress(String value)
      Sets the value of the onkeypress property.
      Parameters:
      value - allowed object is String
    • getOnkeydown

      public String getOnkeydown()
      Gets the value of the onkeydown property.
      Returns:
      possible object is String
    • setOnkeydown

      public void setOnkeydown(String value)
      Sets the value of the onkeydown property.
      Parameters:
      value - allowed object is String
    • getOnkeyup

      public String getOnkeyup()
      Gets the value of the onkeyup property.
      Returns:
      possible object is String
    • setOnkeyup

      public void setOnkeyup(String value)
      Sets the value of the onkeyup property.
      Parameters:
      value - allowed object is String
    • withName

      public Button withName(String value)
    • withValue

      public Button withValue(String value)
    • withType

      public Button withType(String value)
    • withDisabled

      public Button withDisabled(String value)
    • withAccesskey

      public Button withAccesskey(String value)
    • withTabindex

      public Button withTabindex(Integer value)
    • withOnfocus

      public Button withOnfocus(String value)
    • withOnblur

      public Button withOnblur(String value)
    • withLangAttribute

      public Button withLangAttribute(String value)
    • withLang

      public Button withLang(String value)
    • withDir

      public Button withDir(String value)
    • withId

      public Button withId(String value)
    • withClazz

      public Button withClazz(String... values)
    • withClazz

      public Button withClazz(Collection<String> values)
    • withStyle

      public Button withStyle(String value)
    • withTitle

      public Button withTitle(String value)
    • withOnclick

      public Button withOnclick(String value)
    • withOndblclick

      public Button withOndblclick(String value)
    • withOnmousedown

      public Button withOnmousedown(String value)
    • withOnmouseup

      public Button withOnmouseup(String value)
    • withOnmouseover

      public Button withOnmouseover(String value)
    • withOnmousemove

      public Button withOnmousemove(String value)
    • withOnmouseout

      public Button withOnmouseout(String value)
    • withOnkeypress

      public Button withOnkeypress(String value)
    • withOnkeydown

      public Button withOnkeydown(String value)
    • withOnkeyup

      public Button withOnkeyup(String value)
    • withContent

      public Button withContent(Object... values)
      Overrides:
      withContent in class ButtonContent
    • withContent

      public Button withContent(Collection<Object> values)
      Overrides:
      withContent in class ButtonContent
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class ButtonContent
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class ButtonContent
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class ButtonContent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ButtonContent
    • toString

      public String toString()
      Overrides:
      toString in class ButtonContent
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class ButtonContent
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class ButtonContent
    • setClazz

      public void setClazz(List<String> value)