Method Summary |
|
public void | activate(int KeyCode, int nPos) Sets input focus to the control, optionally passing a keycode to be used as the first input character. |
public int | calcNewPos(int changeLineBy) |
public void | deactivate() Terminates input focus to the control. |
public void | displayList(boolean bList, IStrings pList, int nStart, String sInitialText) Displays a dropdown list or combobox at the specified position. |
public Object | getAssociatedParent() Returns the object associated with the edit control, generally the compartment being edited. |
public boolean | getAutoExpand() If TRUE the control resizes itself to fit its contents. |
public boolean | getAutoSize() |
public void | getBackColor() |
public IEditControlField | getCurrentField() Returns the text field that the caret is currently in. |
public int | getCurrentPosition() Get/Sets the logical input position (does not update the currently selected text. |
public IEventDispatcher | getEventDispatcher() |
public Font | getFont() |
public Color | getForeColor() |
public boolean | getModified() Sets/Returns the control's modified status. |
public boolean | getMultiline() |
public boolean | getOverstrike() Gets/Sets the overstrike mode of the control. |
public long | getSel(int nStartChar, int nEndChar) |
public int | getSelEndPos() |
public int | getSelStartPos() |
public String | getSeparatorList() A list of separator characters used by the fields. |
public int | getStyle() Gets/Sets the Edit Style of the control. |
public String | getText() |
public long | getTooltipText(StringBuffer sLeft, StringBuffer sSubject, StringBuffer sRight) The text for the tooltip. |
public ITranslator | getTranslator() |
public void | handleHint() Invokes the hint control. |
public void | hideHintBar() Hides the hintbar. |
public boolean | isControlDown() |
public boolean | isShiftDown() |
public int | lineIndex(int nLine) Returns the character index for the current or specified line. |
public int | lineLength(int nLine) |
public void | putEventDispatcher(IEventDispatcher pDispatcher) |
public void | refresh() Forces a text read from the attached translator. |
public void | registerAccelerator(int nChar, long nModifier) Registers an accelerator key + control key on behalf of a translator. |
public void | replaceSel(String sText) |
public void | setAutoExpand(boolean value) If TRUE the control resizes itself to fit its contents. |
public void | setAutoSize(boolean value) |
public void | setBackColor(long value) |
public void | setCurrentPosition(int value) Get/Sets the logical input position (does not update the currently selected text. |
public void | setElement(IElement value) Sets the model element to be edited. |
public void | setEnableTooltip(boolean value) Enable/disable the popup tooltip when the edit control has focus. |
public void | setFont(Font value) |
public void | setForeColor(Color value) |
public void | setHFont(int value) |
public void | setModified(boolean value) Sets/Returns the control's modified status. |
public void | setOverstrike(boolean value) Gets/Sets the overstrike mode of the control. |
public long | setSel(int nStartChar, int nEndChar) |
public void | setSeparatorList(String value) A list of separator characters used by the fields. |
public void | setStyle(long value) Gets/Sets the Edit Style of the control. |
public void | setText(String value) |
public void | setTooltipText(String sLeft, String sSubject, String sRight) The text for the tooltip. |
public void | setTranslator(ITranslator value) |
public void | setrefBackColor(long value) |
public void | setrefFont(Font value) |
public void | setrefForeColor(long value) |
public void | showHintBar(int nPos) Causes the hintbar to shown at the specified character position. |
public void | updateToolTip() Reload the tooltip's data. |