Method Summary |
|
public void | addField(IPropertyElement pData, boolean bNoUpdate) Inserts a new text field that is described by a property element. |
public IEditControlField | addFieldDefinition(IPropertyDefinition pDefinition, IEditControlField pInsertField) Inserts a new text field that is described by a property definition. |
public void | copyToClipboard() Copies the selected text into the Clipboard. |
public void | cutToClipboard() Cuts the selected text from the edit control to the Clipboard. |
public void | dump(String sPad) |
public void | enableFields(boolean EnableFields) Causes enabled field to be displayed, or hidden. |
public String | getCurrent() |
public IEditControlField | getCurrentField() Returns the text field that the caret is currently in. |
public boolean | getDeleted() |
public IEditControl | getEditControl() Sets/Returns the AxEdit control (if setting, re-initializes the translator). |
public IElement | getElement() |
public int | getFieldEndPos() |
public int | getFieldStartPos() Returns the starting add ending positions within the edit control of the text contained by this translator. |
public int | getLastTextStartPos() |
public boolean | getModified() |
public IEditControlField | getNextField(IEditControlField pPreviousField) Returns the next text field following pPreviousField, or the first field if pPreviousField is 0. |
public IEditControlField | getParentField() Get/Set the textfield that contains this translator, if applicable. |
public int | getPosition() Get/Sets the caret position. |
public IEditControlField | getPreviousField(IEditControlField pNextField) Returns the previous text field preceeding pNextField, or the last field if pNextField is 0. |
public String | getSimple() |
public int | getTextEndPos() |
public Vector | getTextFields() Gets a TextFields collection breaking down the translated string into its constituents. |
public int | getTextStartPos() Updates the starting and ending positions within the edit control of the editable text contained by this translator. |
public String | getTooltipLeftText() Returns the tooltip text for translators that contain multiple fields. |
public String | getTooltipRightText() |
public String | getTooltipSubjectText() |
public String | getTooltipText() |
public boolean | handleAccelerator(int nChar) Called when an accelerator is pressed. |
public boolean | handleChar(String nChangedChar) Processes character keypress notifications from the edit control. |
public boolean | handleDelete(boolean deleteRightwards) |
public boolean | handleDelimitor(int nChar, int m_nCurrentPos) For translators with repeating fields, add a new, empty field. |
public void | handleHint() Responds to hint window being clicked. |
public IEditControlField | handleHintText(String sText) Responds to hint list window being closed. |
public boolean | handleKeyDown(int nKey) Processes KeyDown notifications from the edit control. |
public boolean | handleKeyUp(int nKey) Processes KeyUp notifications from the edit control. |
public boolean | handleLButtonDblClk(int nPosition) Processes a left mouse button double click event. |
public boolean | handleLButtonDown(int nPosition) Processes a left mouse button down event. |
public boolean | handleLButtonTripleClk(int nPosition) Processes a left mouse button triple click event. |
public ETPairT<Boolean, Boolean> | handleSeparator(int nChar, int nCurrentPos) If the keychar is a separator, performs the appropriate action. |
public boolean | handleTopLevelSeparators(int nChar) If the keychar is a separator, performs the appropriate action. |
public void | initTextFields() Reads and formats the internal components of the model element for editing. |
public void | onMouseMove(int x, int y) Called by the edit control on mouse moves. |
public void | onSetFocus() |
public void | pasteFromClipboard() Pastes the Clipboard contents in the the text field at the current position. |
public void | registerAccelerators() Tells the translator to register its accelerators with the edit control. |
public void | saveFields() Helper to save this element's fields. |
public void | saveModelElement() Commits this translator's modelelement. |
public void | setCurrentPosition(int nPos) Sets the internal position pointer without updating the edit control. |
public void | setDeleted(boolean value) |
public void | setEditControl(IEditControl value) Sets/Returns the AxEdit control (if setting, re-initializes the translator). |
public void | setEditControl2(IEditControl value) Sets the AxEdit control, does not re-initialize. |
public void | setElement(IElement value) |
public void | setFieldPos(int nStartPosition) Returns the starting position within the edit control of the text contained by this translator. |
public void | setModified(boolean value) |
public void | setParentField(IEditControlField value) Get/Set the textfield that contains this translator, if applicable. |
public void | setPosition(int value) Get/Sets the caret position. |
public void | setPosition(int nStartPos, int nEndPos) Sets the current selection. |
public void | updateField(IEditControlField pField) Informs the field that editing is complete and it should re-format itself depending on its rules. |
public void | updateFieldPositions(IEditControlField pCurrent) Recalculates field positions rightward from the current field. |
public void | updateFields(Vector pElements) Attaches a collection of property elements to their respective fields. |
public void | updateHints() |
public void | updateToolTip() Reload the tooltip's data. |
public void | updateVisibleFields(IEditControlField pField) Hides fields with no data, call after manually updating fields to affect the display. |