org.w3c.rdfpic.core
Interface ImgListener

All Known Implementing Classes:
SchemaTabbedPane, SimpleUI

public interface ImgListener

For all those that want to know when the image is changed, or a new one is added etc.


Method Summary
 void hasJumped(java.lang.String errMsg)
          Is called when the load is finished.
 void imgVUpdate()
          Is called when the vector of images has changed.
 void isJumping(int newindex)
          Is called when a load request is put.
 

Method Detail

isJumping

public void isJumping(int newindex)
Is called when a load request is put. (not from load-thread).
Parameters:
newindex - Index of the file being loaded.

hasJumped

public void hasJumped(java.lang.String errMsg)
Is called when the load is finished. (from load-thread).
Parameters:
errMsg - null on success, explanation on error.

imgVUpdate

public void imgVUpdate()
Is called when the vector of images has changed. For example the active image has a new index, or an image has been added/removed/rearranged.