Package eu.webtoolkit.jwt
Class WFaviconPair
java.lang.Object
eu.webtoolkit.jwt.WFavicon
eu.webtoolkit.jwt.WFaviconPair
A
WFavicon switching between two favicons.
This is a WFavicon that uses a different WFavicon for its default and updated
state.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWFaviconPair(WFavicon defaultFavicon, WFavicon updatedFavicon) Constructs aWFaviconPair. -
Method Summary
Modifier and TypeMethodDescriptionReturns the current favicon used.Returns the default favicon.Returns the updated favicon.getUrl()Returns the url to the favicon.voidsetDefaultFavicon(WFavicon defaultFavicon) Sets the default favicon.voidsetUpdatedFavicon(WFavicon updatedFavicon) Sets the updated favicon.
-
Constructor Details
-
WFaviconPair
Constructs aWFaviconPair.Constructs a
WFaviconPairfrom twoWFavicon.
-
-
Method Details
-
setDefaultFavicon
Sets the default favicon. -
getDefaultFavicon
Returns the default favicon.- See Also:
-
setUpdatedFavicon
Sets the updated favicon. -
getUpdatedFavicon
Returns the updated favicon.- See Also:
-
getCurrentFavicon
Returns the current favicon used.- See Also:
-
getUrl
Description copied from class:WFaviconReturns the url to the favicon.This should return the absolute url to the favicon.
-