Enum DataAttributes

java.lang.Object
java.lang.Enum<DataAttributes>
org.apache.myfaces.tobago.renderkit.html.DataAttributes
All Implemented Interfaces:
Serializable, Comparable<DataAttributes>, java.lang.constant.Constable, MarkupLanguageAttributes

public enum DataAttributes extends Enum<DataAttributes> implements MarkupLanguageAttributes
Custom data attributes. These attributes may transport data to DOM which are not standardized. The format is "data-tobago-*" which is conform to HTML 5, but also works in older browsers.
  • Enum Constant Details

    • BEHAVIOR_COMMANDS

      @Deprecated public static final DataAttributes BEHAVIOR_COMMANDS
      Deprecated.
      since 3.0.0, please use COMMANDS
      Ajax behaviors execute and render attributes for TabGroup and Sheet reload
    • CLOSED

      public static final DataAttributes CLOSED
      Contains the closed tree icon or style.
    • COLUMN_INDEX

      public static final DataAttributes COLUMN_INDEX
      The index of the column of a sheet. This index means the position of the rendered column. It can differ, if there are tc:column with rendered=false.
    • COMMAND

      public static final DataAttributes COMMAND
      Custom command attribute. Is used to mark different client side JavaScript buttons. Should only contain the command name as a keyword, for security reasons.
    • COMMANDS

      public static final DataAttributes COMMANDS
      The list of commands attached to an element.
    • CONTENT

      public static final DataAttributes CONTENT
    • CONTEXT_PATH

      public static final DataAttributes CONTEXT_PATH
      The context path of the application, may be needed in the Client.
    • DATE_TIME_I18N

      public static final DataAttributes DATE_TIME_I18N
    • DAY

      public static final DataAttributes DAY
      Holds the day of a calendar control.
    • DISABLED

      public static final DataAttributes DISABLED
      Custom disabled attribute. Use for element, that don't have the disabled attribute.
    • DISMISS

      public static final DataAttributes DISMISS
    • DEFAULT

      public static final DataAttributes DEFAULT
      Custom form attribute. Used to show the virtual form of the component.
    • DELAY

      public static final DataAttributes DELAY
    • FOR

      public static final DataAttributes FOR
    • FIRST

      public static final DataAttributes FIRST
      Holds the id of the first row in a sheet.
    • FIRST_DAY_OF_WEEK

      public static final DataAttributes FIRST_DAY_OF_WEEK
      Holds the first day of a week of a calendar control.
    • LAYOUT

      public static final DataAttributes LAYOUT
      Defines a maximum value.
    • LAZY

      public static final DataAttributes LAZY
      Lazy loading in sheet. (Preliminary)
    • LEVEL

      public static final DataAttributes LEVEL
      Defines the depth level of a tree node.
    • MARKUP

      public static final DataAttributes MARKUP
      Defines the markup of the component.
    • MAX

      public static final DataAttributes MAX
      Defines a maximum value.
    • MONTH

      public static final DataAttributes MONTH
      Holds the month of a calendar control.
    • MONTH_NAMES

      public static final DataAttributes MONTH_NAMES
      Holds the names of the months of a calendar control.
    • OPEN

      public static final DataAttributes OPEN
      Contains the open tree icon or style.
    • PARTIAL_IDS

      public static final DataAttributes PARTIAL_IDS
    • PARTIAL_ACTION

      public static final DataAttributes PARTIAL_ACTION
    • PATTERN

      public static final DataAttributes PATTERN
      Custom attribute to describe a pattern, e. g. for an date input field.
    • RELOAD

      public static final DataAttributes RELOAD
      Custom reload attribute. Used to reload a panel.
    • ROW_ACTION

      public static final DataAttributes ROW_ACTION
    • ROW_INDEX

      public static final DataAttributes ROW_INDEX
    • ROWS

      public static final DataAttributes ROWS
      Number of rows to show/load for lazy loading in sheet. (Preliminary)
    • ROW_COUNT

      public static final DataAttributes ROW_COUNT
      Number of all rows in sheet. (Preliminary)
    • SELECTION_MODE

      public static final DataAttributes SELECTION_MODE
    • SELECTABLE

      public static final DataAttributes SELECTABLE
      The selectable attribute e. g. for trees.
    • SHEET_ID

      public static final DataAttributes SHEET_ID
      Reference to a sheet.
    • STYLE

      @Deprecated public static final DataAttributes STYLE
      Deprecated.
      since 4.0.0. UIStyle now renders itself.
      A way to transport style data in JSON format to the browser. With CSP the normal style attribute isn't allowed.
    • SCROLL_PANEL

      public static final DataAttributes SCROLL_PANEL
    • SCROLL_POSITION

      public static final DataAttributes SCROLL_POSITION
    • SUGGEST_DATA

      public static final DataAttributes SUGGEST_DATA
    • SUGGEST_DELAY

      public static final DataAttributes SUGGEST_DELAY
    • SUGGEST_FOR

      public static final DataAttributes SUGGEST_FOR
    • SUGGEST_MAX_ITEMS

      public static final DataAttributes SUGGEST_MAX_ITEMS
    • SUGGEST_MIN_CHARS

      public static final DataAttributes SUGGEST_MIN_CHARS
    • SUGGEST_TOTAL_COUNT

      public static final DataAttributes SUGGEST_TOTAL_COUNT
    • SUGGEST_UPDATE

      public static final DataAttributes SUGGEST_UPDATE
    • SWITCH_TYPE

      public static final DataAttributes SWITCH_TYPE
      The mode of the tab switch: client, reloadTab, reloadPage.
    • TAB_GROUP_INDEX

      public static final DataAttributes TAB_GROUP_INDEX
      The index of the tab inside the tab group.
    • TARGET

      public static final DataAttributes TARGET
    • TITLE

      public static final DataAttributes TITLE
    • TO_PAGE

      public static final DataAttributes TO_PAGE
    • TODAY

      public static final DataAttributes TODAY
    • TODAY_BUTTON

      public static final DataAttributes TODAY_BUTTON
    • TOGGLE

      public static final DataAttributes TOGGLE
    • TRANSITION

      public static final DataAttributes TRANSITION
    • TREE_PARENT

      public static final DataAttributes TREE_PARENT
      Id of the parent node in a tree node.
    • UNIT

      public static final DataAttributes UNIT
      Defines the unit, e. g. to differ between hours, minutes and seconds in a time control.
    • VALUE

      public static final DataAttributes VALUE
      Holds the value (for tags, that don't have a value in HTML).
    • YEAR

      public static final DataAttributes YEAR
      Holds the year of a calendar control.
  • Method Details

    • values

      public static DataAttributes[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DataAttributes valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Specified by:
      getValue in interface MarkupLanguageAttributes
    • dynamic

      public static MarkupLanguageAttributes dynamic(String withoutPrefix)