Newer
Older
CactusServer / src / main / java / framework / RWT / RWTImageButton.java
y-ota on 10 May 2018 629 bytes 初うp
package framework.RWT;
/**
 * 画像のボタンです。
 * @author Wataru
 *
 */
public class RWTImageButton extends RWTImage implements RWTSelectableWidget {

	public RWTImageButton(String fileName) {
		super(fileName);
	}

	public void selected() {
	}

	public void buttonDown() {
	}

	public void buttonUp() {
	}

	public void deselected() {
	}

	@Override
	public int getAbsoluteHeight() {
		return height;
	}

	@Override
	public int getAbsoluteWidth() {
		return width;
	}

	@Override
	public int getAbsoluteX() {
		return x;
	}

	@Override
	public int getAbsoluteY() {
		return y;
	}
}