ScrollBarInterface.java
资源名称:src.zip [点击查看]
上传用户:luxiaowei
上传日期:2022-06-06
资源大小:58k
文件大小:1k
源码类别:
J2ME
开发平台:
Java
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package com.framework;
- /**
- *
- * @author Swaroop Kumar
- */
- public interface ScrollBarInterface {
- /**
- * This method returns the current selected control of the component.
- * @return Selected control of the component.
- */
- public UIControl getSelectedChild();
- /**
- * This method returns the addition of Y position of the container placed
- * on the control and Y position of control itself.
- * @return actual Y position from where drawing of other controls can be started.
- */
- public int getDrawingYPos();
- /**
- * This method recursively calls the same method of its parent by adding it's own y position in Y parameter.
- */
- public void setScrollBarPosition(int yPos, int controlHeight);
- }