📄 animationcontainerview.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 + -