Interface HamletSpec.OBJECT

All Superinterfaces:
HamletSpec.__, HamletSpec._Anchor, HamletSpec._Block, HamletSpec._Child, HamletSpec._Content, HamletSpec._FieldSet, HamletSpec._FontSize, HamletSpec._FontStyle, HamletSpec._Form, HamletSpec._FormCtrl, HamletSpec._ImgObject, HamletSpec._InsDel, HamletSpec._Label, HamletSpec._Object, HamletSpec._Param, HamletSpec._RawContent, HamletSpec._Script, HamletSpec._Special, HamletSpec._SubSup, HamletSpec.Attrs, HamletSpec.Block, HamletSpec.CoreAttrs, HamletSpec.EventsAttrs, HamletSpec.Flow, HamletSpec.FontStyle, HamletSpec.FormCtrl, HamletSpec.Heading, HamletSpec.I18nAttrs, HamletSpec.Inline, HamletSpec.Listing, HamletSpec.PCData, HamletSpec.Phrase, HamletSpec.Preformatted, HamletSpec.Special
All Known Implementing Classes:
Hamlet.OBJECT
Enclosing class:
HamletSpec

public static interface HamletSpec.OBJECT extends HamletSpec.Attrs, HamletSpec._Param, HamletSpec.Flow, HamletSpec._Child
  • Method Details

    • $data

      reference to object's data
      Parameters:
      uri - the URI
      Returns:
      the current element builder
    • $type

      HamletSpec.OBJECT $type(String contentType)
      content type for data
      Parameters:
      contentType - the type
      Returns:
      the current element builder
    • $height

      HamletSpec.OBJECT $height(int pixels)
      override height
      Parameters:
      pixels - the height
      Returns:
      the current element builder
    • $height

      HamletSpec.OBJECT $height(String length)
      override height
      Parameters:
      length - the height (can use %, *)
      Returns:
      the current element builder
    • $width

      HamletSpec.OBJECT $width(int pixels)
      override width
      Parameters:
      pixels - the width
      Returns:
      the current element builder
    • $width

      HamletSpec.OBJECT $width(String length)
      override width
      Parameters:
      length - the height (can use %, *)
      Returns:
      the current element builder
    • $usemap

      HamletSpec.OBJECT $usemap(String uri)
      use client-side image map
      Parameters:
      uri - the URI/name of the map
      Returns:
      the current element builder
    • $name

      HamletSpec.OBJECT $name(String cdata)
      submit as part of form
      Parameters:
      cdata - the name of the object
      Returns:
      the current element builder
    • $tabindex

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