Interface ScrollReadable

public interface ScrollReadable
All object that communicate with the Scroller must implement this interface. This interface forces all object that wish to receive the state of the scroll bars to include the ScrollRead method. The Scroller object will pass to all object with the ScrollRead method two floats between 0 and 1 representing the state of each scrollbar (for example, if the vertical scroll bar was scrolled down 50%, the Scroller object will pass .5f).


Method Index

 o ScrollRead(float, float)
This method will be in all objects that communicate with the Scroller component.

Methods

 o ScrollRead
  public abstract void ScrollRead(float horPercentage,
                                  float vertPercentage)
This method will be in all objects that communicate with the Scroller component. When a scrollbar is scrolled up or down, the Scroller component will send to each component that implements this interface the percentage (a float between 0 and 1 )of how far the scroll bar has scrolled.

1