ishelfstrategy.java

来自「利用它可以做出非常漂亮的swt界面,包含的组件有PShelf Plist」· Java 代码 · 共 22 行

JAVA
22
字号
package com.swtplus.widgets.shelf;

import org.eclipse.swt.graphics.GC;

import com.swtplus.widgets.PShelf;
import com.swtplus.widgets.PShelfItem;

public interface IShelfStrategy {

	public abstract int computeHeight(PShelfItem item, GC gc);

	public abstract void paintItem(PShelfItem item, GC gc, int y, int height,
			int width, boolean open, boolean focus, boolean hover,
			boolean showPin, boolean pinned);

	public abstract void initialize(PShelf parent);
	
	public abstract void dispose();
	
	public abstract boolean isOpenOnTop();

}

⌨️ 快捷键说明

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