es.prodevelop.gvsig.mobile.fmap
Interface Refreshable

All Known Implementing Classes:
LayersTable, MapControl

public interface Refreshable

Interface for classes that will be refreshable

Author:
jcarras

Method Summary
 boolean isProcessing()
          Gets the value of the processing switch
 void redraw(boolean clear)
          Performs a redraw
 void refresh(boolean update)
          Performs a refrech
 void setOffsetAndRefresh(int x, int y, boolean refresh)
          Sets a new offset for the image and performs arefresh
 void setProcessing(boolean b)
          Sets the value of the processing switch
 

Method Detail

refresh

public void refresh(boolean update)
Performs a refrech

Parameters:
update - whether the object has to be updated (deeper refreshment)

redraw

public void redraw(boolean clear)
Performs a redraw

Parameters:
clear - whether the object has to be cleared before drawing again

setOffsetAndRefresh

public void setOffsetAndRefresh(int x,
                                int y,
                                boolean refresh)
Sets a new offset for the image and performs arefresh

Parameters:
x - new x offset
y - new y offset
refresh - whether a new refresh has to be done

setProcessing

public void setProcessing(boolean b)
Sets the value of the processing switch

Parameters:
b -

isProcessing

public boolean isProcessing()
Gets the value of the processing switch

Returns:
the value of the processing switch