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.QtTextAreaPeer
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 |
|
void | |
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 filter)
- Specified by:
- filterEvents in interface TextComponentPeer
public int getCaretPosition()
- Specified by:
- getCaretPosition in interface TextComponentPeer
public Rectangle getCharacterBounds(int pos)
- Specified by:
- getCharacterBounds in interface TextComponentPeer
public int getIndexAtPoint(int x, int y)
Implemented, but who uses it?
- 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 rows, int cols)
- Specified by:
- getMinimumSize in interface TextAreaPeer
public Dimension getPreferredSize(int rows, int cols)
- Specified by:
- getPreferredSize in interface TextAreaPeer
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 void insertText(String text, int pos)
- Specified by:
- insertText in interface TextAreaPeer
public Dimension minimumSize(int rows, int cols)
- Specified by:
- minimumSize in interface TextAreaPeer
public Dimension preferredSize(int rows, int cols)
- Specified by:
- preferredSize in interface TextAreaPeer
public void replaceRange(String insert, int start_pos, int end_pos)
- Specified by:
- replaceRange in interface TextAreaPeer
public void replaceText(String text, int start_pos, int end_pos)
- Specified by:
- replaceText in interface TextAreaPeer
public void select(int start_pos, int end_pos)
- Specified by:
- select in interface TextComponentPeer
public void setCaretPosition(int pos)
- Specified by:
- setCaretPosition in interface TextComponentPeer
public void setEditable(boolean editable)
- Specified by:
- setEditable in interface TextComponentPeer