framebufferapi.java
来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· Java 代码 · 共 36 行
JAVA
36 行
/*
* $Id: FrameBufferAPI.java,v 1.1 2003/11/25 11:51:42 epr Exp $
*/
package org.jnode.driver.video;
import org.jnode.driver.DeviceAPI;
import org.jnode.driver.DeviceException;
/**
* This API must be implemented by all FrameBuffer devices.
* Is is used to retrieve all configurations of the device and
* open a graphics object for a specific configuration.
*
* @author epr
*/
public interface FrameBufferAPI extends DeviceAPI {
/**
* Gets all configurations supported by this framebuffer device.
*/
public FrameBufferConfiguration[] getConfigurations();
/**
* Gets the current configuration of this framebuffer.
*/
public FrameBufferConfiguration getCurrentConfiguration();
/**
* Open a specific framebuffer configuration
* @param config
*/
public Surface open(FrameBufferConfiguration config)
throws UnknownConfigurationException, AlreadyOpenException, DeviceException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?