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

📄 animationcontainerview.java

📁 j2me is based on j2mepolish, client & server for mobile application. menu sample
💻 JAVA
字号:
//#condition polish.usePolishGui
/**
 * 
 */
package de.enough.polish.ui.containerviews;

import de.enough.polish.ui.ContainerView;
import de.enough.polish.ui.Item;

/**
 * Animates all embedded items instead only one.
 * 
 * @author simon
 *
 */
public class AnimationContainerView extends ContainerView {

	public boolean animate() {
		boolean animated = super.animate(); 
		Item[] items = this.parentContainer.getItems();
		for (int i = 0; i < items.length; i++) {
			Item item = items[i];
			if (item != this.focusedItem) {
				animated |= item.animate();
			}
		}
		return animated;
	}
	
	

}

⌨️ 快捷键说明

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