Package org.spiderwiz.admin.data
Class PageInfo.TableInfo.Style
java.lang.Object
org.spiderwiz.admin.data.PageInfo.TableInfo.Style
- Enclosing class:
- PageInfo.TableInfo
public static class PageInfo.TableInfo.Style extends Object
Helper class for managing HTML styles.
-
Field Summary
Fields Modifier and Type Field Description static int
ALERT
A bit mask that represents the "alert" CSS classstatic int
CENTER
A bit mask that represents the "center" style.static int
LEFT
A bit mask that represents the "left" style.static int
NONE
A bit mask that represents no style.static int
RIGHT
A bit mask that represents the "right" style.static int
RTL
A bit mask that represents the "rtl" style. -
Constructor Summary
Constructors Constructor Description Style()
-
Method Summary
Modifier and Type Method Description static int
styleHebrew(String text)
If the given text is in Hebrew then return the RIGHT+RTL bit mask, otherwise return NONE.
-
Field Details
-
NONE
public static final int NONEA bit mask that represents no style.- See Also:
- Constant Field Values
-
LEFT
public static final int LEFTA bit mask that represents the "left" style.- See Also:
- Constant Field Values
-
CENTER
public static final int CENTERA bit mask that represents the "center" style.- See Also:
- Constant Field Values
-
RIGHT
public static final int RIGHTA bit mask that represents the "right" style.- See Also:
- Constant Field Values
-
RTL
public static final int RTLA bit mask that represents the "rtl" style.- See Also:
- Constant Field Values
-
ALERT
public static final int ALERTA bit mask that represents the "alert" CSS class- See Also:
- Constant Field Values
-
-
Constructor Details
-
Style
public Style()
-
-
Method Details
-
styleHebrew
If the given text is in Hebrew then return the RIGHT+RTL bit mask, otherwise return NONE.- Parameters:
text
- the given text- Returns:
- the RIGHT+RTL bit mask for Hebrew text, otherwise return NONE
-