📄 hsinglelineentry.java
字号:
package org.havi.ui;
public class HSinglelineEntry extends HVisible implements HTextValue {
private int caretCharPosition;
private int type;
private char[] validInput;
private char echoChar;
private static HSinglelineEntryLook defaultLook;
private HLook look;
private int maxChars;
private HSound gainFocusSound;
private HSound loseFocusSound;
private int[] navigationKeys;
private boolean editMode;
public HSinglelineEntry() {
}
public HSinglelineEntry(java.lang.String text, int x, int y, int width, int height, int maxChars, java.awt.Font font, java.awt.Color color) {
}
public HSinglelineEntry(int x, int y, int width, int height, int maxChars) {
}
public HSinglelineEntry(java.lang.String text, int maxChars, java.awt.Font font, java.awt.Color color) {
}
public HSinglelineEntry(int maxChars) {
}
public void setTextContent(java.lang.String string, int state) {
}
public java.lang.String getTextContent(int state) {
return null;
}
public int getCaretCharPosition() {
return this.caretCharPosition;
}
public int setCaretCharPosition(int position) {
return 0;
}
public void setType(int type) {
this.type = type;
}
public void setValidInput(char[] inputChars) {
this.validInput = inputChars;
}
public boolean echoCharIsSet() {
return false;
}
public char getEchoChar() {
return this.echoChar;
}
public void setEchoChar(char c) {
this.echoChar = c;
}
public static void setDefaultLook( HSinglelineEntryLook look) {
defaultLook = look;
}
public static HSinglelineEntryLook getDefaultLook() {
return defaultLook;
}
public void setLook( HLook hlook) throws HInvalidLookException {
this.look = hlook;
}
public boolean insertChar(char c) {
return false;
}
public boolean deletePreviousChar() {
return false;
}
public boolean deleteNextChar() {
return false;
}
public void caretNextCharacter() {
}
public void caretPreviousCharacter() {
}
public void setMaxChars(int maxChars) {
this.maxChars = maxChars;
}
public int getMaxChars() {
return this.maxChars;
}
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 addHKeyListener(org.havi.ui.event.HKeyListener l) {
}
public void removeHKeyListener(org.havi.ui.event.HKeyListener l) {
}
public void addHTextListener(org.havi.ui.event.HTextListener l) {
}
public void removeHTextListener(org.havi.ui.event.HTextListener l) {
}
public boolean getEditMode() {
return this.editMode;
}
public void setEditMode(boolean edit) {
this.editMode = edit;
}
public int getType() {
return this.type;
}
public char[] getValidInput() {
return this.validInput;
}
public void processHTextEvent(org.havi.ui.event.HTextEvent evt) {
}
public void processHKeyEvent(org.havi.ui.event.HKeyEvent evt) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -