public class Edit extends Common implements IEditConsts
EM_CANUNDO, EM_CHARFROMPOS, EM_EMPTYUNDOBUFFER, EM_FMTLINES, EM_GETFIRSTVISIBLELINE, EM_GETHANDLE, EM_GETIMESTATUS, EM_GETLIMITTEXT, EM_GETLINE, EM_GETLINECOUNT, EM_GETMARGINS, EM_GETMODIFY, EM_GETPASSWORDCHAR, EM_GETRECT, EM_GETSEL, EM_GETTHUMB, EM_GETWORDBREAKPROC, EM_LIMITTEXT, EM_LINEFROMCHAR, EM_LINEINDEX, EM_LINELENGTH, EM_LINESCROLL, EM_POSFROMCHAR, EM_REPLACESEL, EM_SCROLL, EM_SCROLLCARET, EM_SETHANDLE, EM_SETIMESTATUS, EM_SETLIMITTEXT, EM_SETMARGINS, EM_SETMODIFY, EM_SETPASSWORDCHAR, EM_SETREADONLY, EM_SETRECT, EM_SETRECTNP, EM_SETSEL, EM_SETTABSTOPS, EM_SETWORDBREAKPROC, EM_UNDO, EN_CHANGE, EN_ERRSPACE, EN_HSCROLL, EN_KILLFOCUS, EN_MAXTEXT, EN_SETFOCUS, EN_UPDATE, EN_VSCROLL
ICC_ALL, ICC_ANIMATE_CLASS, ICC_BAR_CLASSES, ICC_COOL_CLASSES, ICC_DATE_CLASSES, ICC_HOTKEY_CLASS, ICC_INTERNET_CLASSES, ICC_LINK_CLASS, ICC_LISTVIEW_CLASSES, ICC_NATIVEFNTCTL_CLASS, ICC_PAGESCROLLER_CLASS, ICC_PROGRESS_CLASS, ICC_STANDARD_CLASSES, ICC_TAB_CLASSES, ICC_TREEVIEW_CLASSES, ICC_UPDOWN_CLASS, ICC_USEREX_CLASSES, ICC_WIN95_CLASSES
Constructor and Description |
---|
Edit()
.
|
Modifier and Type | Method and Description |
---|---|
int |
canUndo(long hwndCtl)
.
|
int |
emptyUndoBuffer(long hwndCtl)
.
|
int |
getFirstVisibleLine(long hwndCtl)
.
|
int |
getLineCount(long hwndCtl)
.
|
int |
getModify(long hwndCtl)
.
|
int |
getPasswordChar(long hwndCtl)
.
|
int |
getSel(long hwndCtl)
.
|
String |
getText(long hwndCtl) |
int |
lineFromChar(long hwndCtl,
int ich)
.
|
int |
lineIndex(long hwndCtl,
int line)
.
|
int |
lineLength(long hwndCtl,
int line)
.
|
int |
replaceSel(long hwndCtl,
String lpszReplace)
.
|
int |
scroll(long hwndCtl,
int dv,
int dh)
.
|
boolean |
scrollCaret(long hwndCtl)
.
|
int |
setPasswordChar(long hwndCtl,
int ch)
.
|
int |
setSel(long hwndCtl,
int ichStart,
int ichEnd)
.
|
boolean |
setText(long hwndCtl,
String lpsz)
.
|
int |
undo(long hwndCtl)
.
|
getCommCtl32, getDlg32, getKernel32, getShell32, getUser32, initCommonControls, longToHmenu, longToHwnd, makeLong, makeLParam, makeWParam, postMessage, sendMessage
public final int canUndo(long hwndCtl)
hwndCtl
- .public final int emptyUndoBuffer(long hwndCtl)
hwndCtl
- .public final int getFirstVisibleLine(long hwndCtl)
hwndCtl
- .public final int getLineCount(long hwndCtl)
hwndCtl
- .public final int getModify(long hwndCtl)
hwndCtl
- .public final int getPasswordChar(long hwndCtl)
hwndCtl
- .public final int getSel(long hwndCtl)
hwndCtl
- .public final String getText(long hwndCtl)
public final int lineFromChar(long hwndCtl, int ich)
hwndCtl
- .ich
- .public final int lineIndex(long hwndCtl, int line)
hwndCtl
- .line
- .public final int lineLength(long hwndCtl, int line)
hwndCtl
- .line
- .public final int replaceSel(long hwndCtl, String lpszReplace)
hwndCtl
- .lpszReplace
- .public final int scroll(long hwndCtl, int dv, int dh)
hwndCtl
- .dv
- .dh
- .public final boolean scrollCaret(long hwndCtl)
hwndCtl
- .public final int setPasswordChar(long hwndCtl, int ch)
hwndCtl
- .ch
- .public final int setSel(long hwndCtl, int ichStart, int ichEnd)
hwndCtl
- .ichStart
- .ichEnd
- .public final boolean setText(long hwndCtl, String lpsz)
hwndCtl
- .lpsz
- .public final int undo(long hwndCtl)
hwndCtl
- .Copyright © 2013. All rights reserved.