Method Summary |
|
public boolean | checkInertSeparator(int nChar, int absolutePosition) |
public long | dump(String sPad) |
public boolean | getDefault() |
public String | getDefaultText() Returns the default text. |
public boolean | getDeleted() |
public boolean | getDeleted2() |
public String | getDelimitor() |
public int | getEditKind() Retrieves this textfields edit kind, e.g. |
public boolean | getEnabled() Is this field Enabled? An enabled field is not necessarily visible, depending
on its visibility rules. |
public int | getFieldEndPos() |
public int | getFieldPos(int nStartPos) |
public int | getFieldStartPos() |
public Font | getFont() Returns the font used for rendering this textfield. |
public int | getLastTextStartPos() |
public String | getLeadSeparator() |
public boolean | getModified() |
public boolean | getMultiplicity() |
public String | getName() |
public ITranslator | getOwnerTranslator() Returns the translator that contains this text field. |
public IPropertyDefinition | getPropertyDefinition() |
public IPropertyElement | getPropertyElement() |
public boolean | getRequired() |
public boolean | getSelected() Is this field selected? If so it rendered in the current selected color scheme. |
public String | getText() Returns the full text contained by this TextField. |
public Color | getTextColor() The field's text color. |
public int | getTextEndPos() |
public int | getTextPos(int nStartPos) Returns the relative offsets of the beginning and end of
the text represented by this textfield. |
public int | getTextStartPos() |
public String | getToolTipText() The value of this text field's tooltip.
pVal[out] Tooltip. |
public String | getTrailSeparator() |
public ITranslator | getTranslator() Returns the translator hosted by this text field. |
public Vector | getValidValues() Returns a list of valid values for a list or combo type edit kind. |
public String | getVisibility() |
public boolean | getVisible() |
public boolean | getVisible2() |
public void | init(String sText, Font font, Color textColor) A helper function to initialize a TextField with one
function call. |
public boolean | isDelimitor(int nChar) Is the character a delimitor for repeating fields?
Parameters: nChar - [in] The character to check. Parameters: bIsDelimitor - [out,retval] TRUE if the field contains sub-fields and thecharacter is one of the delimitor characters. |
public boolean | isLeadSeparator(int nChar) Determines if the character matches the leading separator, thereby becoming a "shortcut" to this field.
Parameters: nChar - [in] The character keycode. Parameters: bIsSeparator - [out, retval] TRUE is the character is a separator. |
public boolean | isTrailSeparator(int nChar) Determines if the character matches the trailing separator, thereby becoming a "shortcut" to this field.
Parameters: nChar - [in] The character keycode. Parameters: bIsSeparator - [out, retval] TRUE is the character is a separator. |
public boolean | save() Saves the textfield's value, if modified. |
public void | setDefault(boolean newVal) |
public void | setDefaultText(String newVal) Sets the default text. |
public long | setDefaultText() Fills the field's value with the default text. |
public void | setDeleted(boolean value) |
public void | setDelimitor(String newVal) |
public void | setEnabled(boolean newVal) Is this field Enabled? An enabled field is not necessarily visible, depending
on its visibility rules. |
public long | setFieldPos(int nStartPos) Sets the relative offsets for the beginning and end of the text
represented by this textfield. |
public void | setFont(Font newVal) Sets the font used for rendering this textfield. |
public void | setLeadSeparator(String newVal) |
public void | setModified(boolean bModified) Force's this field's modified status.
bModified[in] The new modified value. |
public void | setMultiplicity(boolean newVal) |
public void | setOwnerTranslator(ITranslator pTranslator) Sets the translator that contains this text field. |
public void | setPropertyDefinition(IPropertyDefinition pDef) |
public void | setPropertyElement(IPropertyElement pEle) |
public void | setPropertyElement2(IPropertyElement pEle) |
public void | setRequired(boolean newVal) |
public void | setSelected(boolean newVal) Is this field selected? If so it rendered in the current selected color scheme. |
public void | setText(String newVal) Sets the text for this textfield. |
public void | setTextColor(Color newVal) The field's text color. |
public long | setTextPos(int nStartPos) Sets the relative offsets for the beginning and end of the text
represented by this textfield. |
public void | setToolTipText(String newVal) The value of this text field's tooltip.
pVal[in] Tooltip. |
public void | setTrailSeparator(String newVal) |
public void | setTranslator(ITranslator pTranslator) Sets the translator hosted by this text field. |
public void | setVisibility(String newVal) |
public void | setVisible(boolean bVisible) Forces the field to be visible. |
public void | setVisible2(boolean bVisible) Forces the field to be visible AND sets its default text if the current field text is empty. |
public long | update() Updates the field according to its visibility and validation rules. |