|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wings.DefaultReloadManager
public class DefaultReloadManager
Default implementation of the reload manager.
| Constructor Summary | |
|---|---|
DefaultReloadManager()
|
|
| Method Summary | |
|---|---|
void |
addUpdate(SComponent component,
Update update)
Inserts an update for a component. |
void |
clear()
Clears all requested reloads and updates. |
protected void |
filterUpdates()
|
Set<SComponent> |
getDirtyComponents()
Returns a set of all components marked dirty. |
Set<SFrame> |
getDirtyFrames()
Return a set of all frames marked dirty. |
protected Set<org.wings.DefaultReloadManager.PotentialUpdate> |
getFineGrainedUpdates(SComponent component)
|
List<Update> |
getUpdates()
Returns a (filtered) list of all updates. |
void |
invalidateFrames()
Invalidates all frames containing dirty components. |
boolean |
isReloadRequired(SFrame frame)
Returns a reload suggestion. |
boolean |
isSuppressMode()
Returns the current suppress mode. |
boolean |
isUpdateMode()
Returns the current operation mode. |
void |
notifyCGs()
Notifies the CG's of dirty components about changes. |
void |
reload(SComponent component)
Marks an entire component change. |
void |
setSuppressMode(boolean suppressMode)
Sets the current suppress mode. |
void |
setUpdateMode(boolean updateMode)
Sets the current operation mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultReloadManager()
| Method Detail |
|---|
public void reload(SComponent component)
ReloadManager
reload in interface ReloadManagercomponent - the component that changed
public void addUpdate(SComponent component,
Update update)
ReloadManager
addUpdate in interface ReloadManagercomponent - the component that changedupdate - the update for this componentpublic List<Update> getUpdates()
ReloadManager
getUpdates in interface ReloadManagerpublic Set<SComponent> getDirtyComponents()
ReloadManager
getDirtyComponents in interface ReloadManagerpublic Set<SFrame> getDirtyFrames()
ReloadManager
getDirtyFrames in interface ReloadManagerpublic void invalidateFrames()
ReloadManager
invalidateFrames in interface ReloadManagerpublic void notifyCGs()
ReloadManager
notifyCGs in interface ReloadManagerpublic void clear()
ReloadManager
clear in interface ReloadManagerpublic boolean isUpdateMode()
ReloadManager
isUpdateMode in interface ReloadManagerpublic void setUpdateMode(boolean updateMode)
ReloadManager
setUpdateMode in interface ReloadManagerupdateMode - true to enable update modepublic boolean isSuppressMode()
ReloadManager
isSuppressMode in interface ReloadManagerpublic void setSuppressMode(boolean suppressMode)
ReloadManager
setSuppressMode in interface ReloadManagersuppressMode - true to suppress all reloadspublic boolean isReloadRequired(SFrame frame)
ReloadManager
isReloadRequired in interface ReloadManagerprotected Set<org.wings.DefaultReloadManager.PotentialUpdate> getFineGrainedUpdates(SComponent component)
protected void filterUpdates()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||