⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scrollable.java

📁 这是一个j2me开发的手机图书馆程序
💻 JAVA
字号:
package ui.table;

import javax.microedition.lcdui.Graphics;

/**
 * <P>The <CODE>Scrollable</CODE> interface defines the contract that is 
 * fulfilled by a component that can be larger than the physical display.
 *
 * @see ScrollPane
 * @author Darryl L. Pierce
 * @version $Revision: 2.0 $
 */
public interface Scrollable {
    /**
     * <P>Returns the full width of the component.
     */
    public int getFullWidth();

    /**
     * <P>Returns the full height of the component.
     */
    public int getFullHeight();

    /**
     * <P>The amount to scroll this component vertically.
     */
    public int getVerticalScrollAmount();

    /**
     * <P>The amount to scroll this component horizontally.
     */
    public int getHorizontalScrollAmount();

    /**
     * <P>Called when the component needs to repaint itself.
     */
    public void render(Graphics g);
    public void setCurrentRow(int row);
    public int getCurrentRow();
    public int getTotalRow();
    public int getTotalDisplayRow();
    public int getCurrentRowY();
    public TableModel getTableModel();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -