htextbutton.java

来自「MHP java class for Interactive TV use」· Java 代码 · 共 134 行

JAVA
134
字号

package org.havi.ui;


public class HTextButton extends HText implements HActionable {

	private static HTextLook defaultlook;
	private HSound gainFocusSound;
	private HSound loseFocusSound;
	private int[] navigationKeys;
	private java.lang.String actionCommand;
	private HSound actionSound;


	public HTextButton() {
	}


	public HTextButton(java.lang.String text, int x, int y, int width, int height) {
	}


	public HTextButton(java.lang.String text, int x, int y, int width, int height, java.awt.Font font, java.awt.Color foreground, java.awt.Color background, HTextLayoutManager tlm) {
	}


	public HTextButton(java.lang.String text) {
	}


	public HTextButton(java.lang.String text, java.awt.Font font, java.awt.Color foreground, java.awt.Color background, HTextLayoutManager tlm) {
	}


	public static void setDefaultLook( HTextLook hlook) {
		defaultlook = hlook;
	}


	public static HTextLook getDefaultLook() {
		return defaultlook;
	}


	public void setMove(int keyCode, HNavigable target) {
	}


	public HNavigable getMove(int keyCode) {
		return null;

	}


	public void setFocusTraversal( HNavigable up, HNavigable down, HNavigable left, HNavigable right) {
	}


	public boolean isSelected() {
		return false;

	}


	public void setGainFocusSound( HSound sound) {
		this.gainFocusSound = sound;
	}


	public void setLoseFocusSound( HSound sound) {
		this.loseFocusSound = sound;
	}


	public HSound getGainFocusSound() {
		return this.gainFocusSound;
	}


	public HSound getLoseFocusSound() {
		return this.loseFocusSound;
	}


	public void addHFocusListener(org.havi.ui.event.HFocusListener l) {
	}


	public void removeHFocusListener(org.havi.ui.event.HFocusListener l) {
	}


	public int[] getNavigationKeys() {
		return this.navigationKeys;
	}


	public void processHFocusEvent(org.havi.ui.event.HFocusEvent evt) {
	}


	public void addHActionListener(org.havi.ui.event.HActionListener l) {
	}


	public void removeHActionListener(org.havi.ui.event.HActionListener l) {
	}


	public void setActionCommand(java.lang.String command) {
		this.actionCommand = command;
	}


	public void setActionSound( HSound sound) {
		this.actionSound = sound;
	}


	public HSound getActionSound() {
		return this.actionSound;
	}


	public void processHActionEvent(org.havi.ui.event.HActionEvent evt) {
	}


	public java.lang.String getActionCommand() {
		return this.actionCommand;
	}

}

⌨️ 快捷键说明

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