|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.themes.ThemeModifyableResource
public final class ThemeModifyableResource
This implements IIsModified to make a theme part of a dependency list. Because a theme can use a lot of files (all fragments and properties etc) we check for changes only every few seconds. This implements that behaviour.
Constructor Summary | |
---|---|
ThemeModifyableResource(ResourceDependencies rdl,
int interval)
Create a wrapper. |
Method Summary | |
---|---|
boolean |
isModified()
If it's not yet time to check for changes again return false (unchanged), else check the original dependencies. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThemeModifyableResource(ResourceDependencies rdl, int interval)
rdl
- The resource list to wrapinterval
- The max age of the test, in milliseconds.Method Detail |
---|
public boolean isModified()
isModified
in interface IIsModified
IIsModified.isModified()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |