Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.java.awt.peer.qt.NativeWrapper
gnu.java.awt.peer.qt.QtComponentPeer
gnu.java.awt.peer.qt.QtTextFieldPeer
Field Summary |
Fields inherited from class gnu.java.awt.peer.qt.QtComponentPeer | |
POPUP_TRIGGER , backBuffer , qtApp , toolkit |
Fields inherited from class gnu.java.awt.peer.qt.NativeWrapper | |
nativeObject |
Constructor Summary | |
|
Method Summary | |
long |
|
int | |
Rectangle |
|
int |
|
InputMethodRequests |
|
Dimension |
|
Dimension |
|
int | |
int | |
String |
|
protected void |
|
Dimension |
|
Dimension |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
protected void |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public long filterEvents(long e)
- Specified by:
- filterEvents in interface TextComponentPeer
public int getCaretPosition()
- Specified by:
- getCaretPosition in interface TextComponentPeer
public Rectangle getCharacterBounds(int i)
- Specified by:
- getCharacterBounds in interface TextComponentPeer
public int getIndexAtPoint(int x, int y)
- Specified by:
- getIndexAtPoint in interface TextComponentPeer
public InputMethodRequests getInputMethodRequests()
Retrieve this text component peer's input method requests.
- Specified by:
- getInputMethodRequests in interface TextComponentPeer
- Returns:
- the input method requests made by this text component peer
- Since:
- 1.5
public Dimension getMinimumSize(int columns)
- Specified by:
- getMinimumSize in interface TextFieldPeer
public Dimension getPreferredSize(int columns)
- Specified by:
- getPreferredSize in interface TextFieldPeer
public int getSelectionEnd()
- Specified by:
- getSelectionEnd in interface TextComponentPeer
public int getSelectionStart()
- Specified by:
- getSelectionStart in interface TextComponentPeer
protected void init()
Init does the creation of native widgets, it is therefore called from the main thread. (the constructor waits for this to happen.)
- Overrides:
- init in interface QtComponentPeer
public Dimension minimumSize(int cols)
- Specified by:
- minimumSize in interface TextFieldPeer
public Dimension preferredSize(int cols)
- Specified by:
- preferredSize in interface TextFieldPeer
public void select(int selStart, int selEnd)
- Specified by:
- select in interface TextComponentPeer
public void setCaretPosition(int pos)
- Specified by:
- setCaretPosition in interface TextComponentPeer
public void setEchoChar(char echoChar)
- Specified by:
- setEchoChar in interface TextFieldPeer
public void setEchoCharacter(char c)
- Specified by:
- setEchoCharacter in interface TextFieldPeer
public void setEditable(boolean editable)
- Specified by:
- setEditable in interface TextComponentPeer