📄 nullcomponentupdater.java
字号:
package com.croftsoft.core.animation.updater;
import javax.swing.JComponent;
import com.croftsoft.core.animation.ComponentUpdater;
/*********************************************************************
* Null object singleton implementation of ComponentUpdater. *
* @version
* 2003-07-11
* @since
* 2003-07-11
* @author
* <a href="http://www.croftsoft.com/">David Wallace Croft</a>
*********************************************************************/
public final class NullComponentUpdater
implements ComponentUpdater
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
{
public static final NullComponentUpdater INSTANCE = new NullComponentUpdater ( );
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
public void update ( JComponent component )
//////////////////////////////////////////////////////////////////////
{
}
//////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////// private NullComponentUpdater ( ) { }
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -