Package org.zkoss.zk.ui.util
Class SimpleThemeURIModifier
java.lang.Object
org.zkoss.zk.ui.util.SimpleThemeURIModifier
- All Implemented Interfaces:
ThemeURIModifier
A simple implementation of
ThemeURIModifier.
The adding priority is basically the index of the uri list.- Since:
- 9.6.0
- Author:
- leon
-
Constructor Summary
Constructors -
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 index, 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.
-
Constructor Details
-
SimpleThemeURIModifier
-
-
Method Details
-
getURIs
Description copied from interface:ThemeURIModifierReturns a read-only list of theme uri which present the current status of the CSS/WCS files list.- Specified by:
getURIsin interfaceThemeURIModifier- Returns:
- a read-only list of StyleSheet
-
add
Description copied from interface:ThemeURIModifierAppends the specified CSS/WCS file uri to the end of the theme uri list.- Specified by:
addin interfaceThemeURIModifier- Parameters:
href- the specified CSS/WCS file uri
-
add
Description copied from interface:ThemeURIModifierInserts the specified CSS/WCS file uri at the specified position in the theme uri list according to the priority.- Specified by:
addin interfaceThemeURIModifier- Parameters:
index- the basis used to determine the insertion positionhref- the specified CSS/WCS file uri
-
add
public void add(org.zkoss.html.StyleSheet uri) Description copied from interface:ThemeURIModifierAppends the specified CSS/WCS file uri to the end of the theme uri list.- Specified by:
addin interfaceThemeURIModifier- Parameters:
uri- the specified CSS/WCS file uri
-
add
public void add(int index, org.zkoss.html.StyleSheet uri) Description copied from interface:ThemeURIModifierInserts the specified CSS/WCS file uri at the specified position in the theme uri list according to the priority.- Specified by:
addin interfaceThemeURIModifier- Parameters:
index- the basis used to determine the insertion positionuri- the specified CSS/WCS file uri
-