| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.ui.Style
public class Style
The Style class is a simple container for style information. It
 allows to define additional style names.
| Constructor Summary | |
|---|---|
| Style(java.lang.String... pStyleNames)Creates a new instance of Stylewith given style 
 names. | |
| Method Summary | |
|---|---|
| static Style | addStyleNames(IComponent pComponent,
              java.lang.String... pName)Adds one or more style names to the given component. | 
|  Style | clone() | 
|  boolean | containsStyleName(java.lang.String pName)Gets whether the current style definition contains the given style name. | 
|  boolean | equals(java.lang.Object pObject) | 
|  java.lang.String[] | getStyleNames()Gets the list of already defined style names. | 
|  int | hashCode() | 
| static Style | parse(java.lang.String pStyleNames)Gets a Stylewith parsed values of the given style names. | 
| static Style | removeStyleNames(IComponent pComponent,
                 java.lang.String... pName)Removes one or more style names from the given component. | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Style(java.lang.String... pStyleNames)
Style with given style 
 names.
pStyleNames - the style names| Method Detail | 
|---|
public Style clone()
clone in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic java.lang.String[] getStyleNames()
public boolean containsStyleName(java.lang.String pName)
pName - the style name to find
true if given style name was found or false if not foundpublic static Style parse(java.lang.String pStyleNames)
Style with parsed values of the given style names.
pStyleNames - the style names, separated with spaces
public static Style addStyleNames(IComponent pComponent,
                                  java.lang.String... pName)
pComponent - the componentpName - the style names
public static Style removeStyleNames(IComponent pComponent,
                                     java.lang.String... pName)
pComponent - the componentpName - the style names
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||