Interface HamletSpec.BUTTON

All Superinterfaces:
HamletSpec.__, HamletSpec._Block, HamletSpec._Child, HamletSpec._Content, HamletSpec._FontSize, HamletSpec._FontStyle, HamletSpec._ImgObject, HamletSpec._InsDel, HamletSpec._Object, HamletSpec._RawContent, HamletSpec._Script, HamletSpec._Special, HamletSpec._SubSup, HamletSpec.Attrs, HamletSpec.CoreAttrs, HamletSpec.EventsAttrs, HamletSpec.FontStyle, HamletSpec.Heading, HamletSpec.I18nAttrs, HamletSpec.Listing, HamletSpec.PCData, HamletSpec.Phrase, HamletSpec.Preformatted
All Known Implementing Classes:
Hamlet.BUTTON
Enclosing class:
HamletSpec

  • Method Details

    • $name

      HamletSpec.BUTTON $name(String cdata)
      name of the value
      Parameters:
      cdata - the content of the element.
      Returns:
      the current element builder
    • $value

      HamletSpec.BUTTON $value(String cdata)
      sent to server when submitted
      Parameters:
      cdata - the content of the element.
      Returns:
      the current element builder
    • $type

      for use as form button
      Parameters:
      type - button type.
      Returns:
      the current element builder
    • $disabled

      HamletSpec.BUTTON $disabled()
      unavailable in this context
      Returns:
      the current element builder
    • $tabindex

      HamletSpec.BUTTON $tabindex(int index)
      position in tabbing order
      Parameters:
      index - the index
      Returns:
      the current element builder
    • $accesskey

      HamletSpec.BUTTON $accesskey(String cdata)
      accessibility key character
      Parameters:
      cdata - the content of the element.
      Returns:
      the current element builder
    • $onfocus

      HamletSpec.BUTTON $onfocus(String script)
      the element got the focus
      Parameters:
      script - to invoke.
      Returns:
      the current element builder
    • $onblur

      HamletSpec.BUTTON $onblur(String script)
      the element lost the focus
      Parameters:
      script - to invoke.
      Returns:
      the current element builder