repaintrequestable.java
来自「手机应用程序之蓝牙编程源代码。。蓝牙编程爱好者课用」· Java 代码 · 共 38 行
JAVA
38 行
// Copyright (c) 2005 Sony Ericsson Mobile Communications AB
//
// This software is provided "AS IS," without a warranty of any kind.
// ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
// INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
// PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
//
// THIS SOFTWARE IS COMPLEMENTARY OF JAYWAY AB (www.jayway.se)
package bluegammon.gui.animation;
/**
* Interface for a repaint requestable graphics container,
* normally a Canvas. Used by animations and the animation engine
* to update the screen.
* @author Peter Andersson
*/
public interface RepaintRequestable
{
/**
* Returns true if the graphics context is visible.
* @return true if visible, false otherwise
*/
public boolean isShown();
/**
* Repaints whole graphics context.
*/
public void repaint();
/**
* Requests a repaint of whole graphics context.
*/
public void requestRepaint();
/**
* Commits all repaint requests to the graphics context.
*/
public void commitRepaint();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?