All Implemented Interfaces:
TagBase, GlobalAttributable, Serializable, Cloneable

public class Dir extends AbstractAttribute implements GlobalAttributable
<element dir="ltr|rtl|auto">

 The dir attribute specifies the text direction of the element's content.
 
See Also:
  • Field Details

  • Constructor Details

    • Dir

      public Dir()
      the default value ltr will be set.
      Since:
      1.0.0
    • Dir

      public Dir(String value)
  • Method Details

    • init

      protected void init()
      invokes only once per object
      Since:
      1.0.0
    • getValue

      public String getValue()
      Returns:
      the value
      Since:
      1.0.0
    • setValue

      public void setValue(String value)
      Parameters:
      value - the value to set
      Since:
      1.0.0
    • setValue

      public void setValue(boolean updateClient, String value)
      sets the value for this attribute
      Parameters:
      updateClient - true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.
      value - the value for the attribute.
      Since:
      2.1.15