org.j3d.geom.overlay
Interface UpdateManager
- public interface UpdateManager
- A representation of a manager that processes updates.
The manager interface does not present methods for adding and removing updatable entities as implementations may choose to do this in a number of different ways. For example a manager may only work with one item, while others might collect a bunch together.
- Version:
- $Revision: 1.2 $
- Author:
- Will Holcomb
updateRequested
public void updateRequested(org.j3d.geom.overlay.UpdatableEntity ue)
- Request that the manager update this item. This will be scheduled to happen as soon as possible, but won't necessarily happen immediately.
- Parameters:
ue
- The entity to be updated
isUpdating
public boolean isUpdating()
- Check to see if the manager is making updates right now.
- Returns:
- true if the update process is currently happening
setUpdating
public void setUpdating(boolean updating)
- Instruct the system to start or stop the update process. This is used to control the whole threaded update system rather than interact with a single update request.
- Parameters:
updating
- true to set the update to happen, false to stop