public class SimpleThemeURIModifier extends java.lang.Object implements ThemeURIModifier
ThemeURIModifier
.
The adding priority is basically the index of the uri list.Constructor and Description |
---|
SimpleThemeURIModifier(java.util.List<StyleSheet> originalList) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
java.lang.String href)
Inserts the specified CSS/WCS file uri at the specified position in the theme uri list according to the priority.
|
void |
add(int index,
StyleSheet uri)
Inserts the specified CSS/WCS file uri at the specified position in the theme uri list according to the priority.
|
void |
add(java.lang.String href)
Appends the specified CSS/WCS file uri to the end of the theme uri list.
|
void |
add(StyleSheet uri)
Appends the specified CSS/WCS file uri to the end of the theme uri list.
|
java.util.List<StyleSheet> |
getURIs()
Returns a read-only list of theme uri which present the current status of the CSS/WCS files list.
|
public SimpleThemeURIModifier(java.util.List<StyleSheet> originalList)
public java.util.List<StyleSheet> getURIs()
ThemeURIModifier
getURIs
in interface ThemeURIModifier
public void add(java.lang.String href)
ThemeURIModifier
add
in interface ThemeURIModifier
href
- the specified CSS/WCS file uripublic void add(int index, java.lang.String href)
ThemeURIModifier
add
in interface ThemeURIModifier
index
- the basis used to determine the insertion positionhref
- the specified CSS/WCS file uripublic void add(StyleSheet uri)
ThemeURIModifier
add
in interface ThemeURIModifier
uri
- the specified CSS/WCS file uripublic void add(int index, StyleSheet uri)
ThemeURIModifier
add
in interface ThemeURIModifier
index
- the basis used to determine the insertion positionuri
- the specified CSS/WCS file uriCopyright © 2005-2022 Potix Corporation. All Rights Reserved.