Package org.zkoss.zk.ui.util
Interface ThemeURIModifier
- All Known Implementing Classes:
SimpleThemeURIModifier
public interface ThemeURIModifier
ThemeURIModifier is used to restrict developer's operation on the theme uri list.
- Since:
- 9.6.0
- Author:
- leon
-
Method Summary
Modifier and TypeMethodDescriptionvoidInserts the specified CSS/WCS file uri at the specified position in the theme uri list according to the priority.voidadd(int priority, org.zkoss.html.StyleSheet uri) Inserts the specified CSS/WCS file uri at the specified position in the theme uri list according to the priority.voidAppends the specified CSS/WCS file uri to the end of the theme uri list.voidadd(org.zkoss.html.StyleSheet uri) Appends the specified CSS/WCS file uri to the end of the theme uri list.List<org.zkoss.html.StyleSheet>getURIs()Returns a read-only list of theme uri which present the current status of the CSS/WCS files list.
-
Method Details
-
getURIs
List<org.zkoss.html.StyleSheet> getURIs()Returns a read-only list of theme uri which present the current status of the CSS/WCS files list.- Returns:
- a read-only list of StyleSheet
-
add
Appends the specified CSS/WCS file uri to the end of the theme uri list.- Parameters:
uri- the specified CSS/WCS file uri
-
add
Inserts the specified CSS/WCS file uri at the specified position in the theme uri list according to the priority.- Parameters:
priority- the basis used to determine the insertion positionuri- the specified CSS/WCS file uri
-
add
void add(org.zkoss.html.StyleSheet uri) Appends the specified CSS/WCS file uri to the end of the theme uri list.- Parameters:
uri- the specified CSS/WCS file uri
-
add
void add(int priority, org.zkoss.html.StyleSheet uri) Inserts the specified CSS/WCS file uri at the specified position in the theme uri list according to the priority.- Parameters:
priority- the basis used to determine the insertion positionuri- the specified CSS/WCS file uri
-