Enum DataAttributes
- java.lang.Object
-
- java.lang.Enum<DataAttributes>
-
- org.apache.myfaces.tobago.renderkit.html.DataAttributes
-
- All Implemented Interfaces:
Serializable,Comparable<DataAttributes>,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 Summary
Enum Constants Enum Constant Description BS_CONTENTBS_DISMISSBS_TOGGLEBS_TRIGGERCLOSEDContains the closed tree icon or style.COLUMN_INDEXThe index of the column of a sheet.CONTENTCONTEXT_PATHThe context path of the application, may be needed in the Client.DAYHolds the day of a calendar control.DEFAULTCustom form attribute.DELAYDISABLEDCustom disabled attribute.DISMISSDISPOSE_DELAYFACES_MESSAGEFaces message for further use with custom JavaScript.FIRSTHolds the id of the first row in a sheet.FIRST_DAY_OF_WEEKHolds the first day of a week of a calendar control.FORHELPHelp message for further use with custom JavaScript.INDEXDefines e.g. the index of a tab inside a tab group.LAYOUTDefines a maximum value.LEVELDefines the depth level of a tree node.MAXDefines a maximum value.MONTHHolds the month of a calendar control.MONTH_NAMESHolds the names of the months of a calendar control.OPENContains the open tree icon or style.PARTIAL_ACTIONPARTIAL_IDSPATTERNCustom attribute to describe a pattern, e. g. for an date input field.PLACEMENTRELOADCustom reload attribute.SCROLL_PANELSCROLL_POSITIONSELECTABLEDeprecated.since 5.0.0, please useCustomAttributes.SELECTABLESELECTION_MODESHEET_IDReference to a sheet.STYLEDeprecated.since 4.0.0.TARGETTITLETO_PAGETOGGLETRANSITIONTREE_PARENTDeprecated.since 5.0.0, please useCustomAttributes.PARENTUNITDefines the unit, e. g. to differ between hours, minutes and seconds in a time control.VALUEHolds the value (for tags, that don't have a value in HTML).YEARHolds the year of a calendar control.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MarkupLanguageAttributesdynamic(String withoutPrefix)StringgetValue()static DataAttributesvalueOf(String name)Returns the enum constant of this type with the specified name.static DataAttributes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BS_CONTENT
public static final DataAttributes BS_CONTENT
-
BS_DISMISS
public static final DataAttributes BS_DISMISS
-
BS_TOGGLE
public static final DataAttributes BS_TOGGLE
-
BS_TRIGGER
public static final DataAttributes BS_TRIGGER
-
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.
-
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.
-
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
-
DISPOSE_DELAY
public static final DataAttributes DISPOSE_DELAY
-
DEFAULT
public static final DataAttributes DEFAULT
Custom form attribute. Used to show the virtual form of the component.
-
DELAY
public static final DataAttributes DELAY
-
FACES_MESSAGE
public static final DataAttributes FACES_MESSAGE
Faces message for further use with custom JavaScript.
-
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.
-
HELP
public static final DataAttributes HELP
Help message for further use with custom JavaScript.
-
INDEX
public static final DataAttributes INDEX
Defines e.g. the index of a tab inside a tab group.
-
LAYOUT
public static final DataAttributes LAYOUT
Defines a maximum value.
-
LEVEL
public static final DataAttributes LEVEL
Defines the depth level of a tree node.
-
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.
-
PLACEMENT
public static final DataAttributes PLACEMENT
-
RELOAD
public static final DataAttributes RELOAD
Custom reload attribute. Used to reload a panel.
-
SELECTION_MODE
public static final DataAttributes SELECTION_MODE
-
SELECTABLE
@Deprecated public static final DataAttributes SELECTABLE
Deprecated.since 5.0.0, please useCustomAttributes.SELECTABLEThe 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
-
TARGET
public static final DataAttributes TARGET
-
TITLE
public static final DataAttributes TITLE
-
TO_PAGE
public static final DataAttributes TO_PAGE
-
TOGGLE
public static final DataAttributes TOGGLE
-
TRANSITION
public static final DataAttributes TRANSITION
-
TREE_PARENT
@Deprecated public static final DataAttributes TREE_PARENT
Deprecated.since 5.0.0, please useCustomAttributes.PARENTId 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 Detail
-
values
public static DataAttributes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataAttributes c : DataAttributes.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
- Specified by:
getValuein interfaceMarkupLanguageAttributes
-
dynamic
public static MarkupLanguageAttributes dynamic(String withoutPrefix)
-
-