@API(type=EXTENDABLE,
src=PUBLIC)
public class CSSGroup
extends java.lang.Object
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Constructor and Description |
---|
CSSGroup(java.lang.String title,
boolean isMainSource)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addURL(CSSResource cssRes)
Add a new css resource to the list.
|
void |
addURLs(CSSResource[] urlsList)
Add CSSResource(s).
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTitle() |
java.util.List<CSSResource> |
getUrls()
Get the list of CSS resources to be used.
|
int |
hashCode() |
boolean |
isMainSource()
Check if this is a main CSS styles source.
|
void |
removeURL(CSSResource cssRes)
Add remove new css resource to the list.
|
void |
setPreferred(boolean isMainSource)
Set this list of CSSs as a main list of CSSs.
|
void |
setTitle(java.lang.String title)
Set the title for this CSSgroup.
|
java.lang.String |
toString() |
public CSSGroup(java.lang.String title, boolean isMainSource)
title
- The merged css title.isMainSource
- true
if this is a main source of CSS styles.
The Styles drop down allows users to choose only one main source.
false
if this is an alternate source of CSS styles.
The Styles drop down allows users to apply multiple alternate styles over a main source.public void setTitle(java.lang.String title)
title
- The new title.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
public boolean isMainSource()
true
if this is a main source of CSS styles.
The Styles drop down allows users to choose only one main source.
false
if this is an alternate source of CSS styles.
The Styles drop down allows users to apply multiple alternate styles over a main source.public java.lang.String getTitle()
public java.util.List<CSSResource> getUrls()
public void addURLs(CSSResource[] urlsList)
urlsList
- The CSSResource(s) to be added.public void addURL(CSSResource cssRes)
cssRes
- The CSS resource to add.public void removeURL(CSSResource cssRes)
cssRes
- The CSS resource to add.public void setPreferred(boolean isMainSource)
isMainSource
- true
if this is a main source of CSS styles.
The Styles drop down allows users to choose only one main source.
false
if this is an alternate source of CSS styles.
The Styles drop down allows users to apply multiple alternate styles over a main source.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.