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 intALERTA bit mask that represents the "alert" CSS classstatic intCENTERA bit mask that represents the "center" style.static intLEFTA bit mask that represents the "left" style.static intNONEA bit mask that represents no style.static intRIGHTA bit mask that represents the "right" style.static intRTLA bit mask that represents the "rtl" style. -
Constructor Summary
Constructors Constructor Description Style() -
Method Summary
Modifier and Type Method Description static intstyleHebrew(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
-