001    package controller;
002    
003    
004    /**
005     * Adapter to connect the scroll panel and the model.
006     *
007     * @author Mathias Ricken
008     */
009    public interface IScrollAdapter {
010        /**
011         * Set the top left corner of the scroll panel.
012         *
013         * @param x column
014         * @param y row
015         */
016        void setCorner(int x, int y);
017    
018        /**
019         * Reset the pan of the panel.
020         */
021        void resetScrolling();
022    }