Package editor
Interface IIntelliTextModel
-
- All Known Implementing Classes:
PopupListModel
public interface IIntelliTextModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDisplayText(java.lang.Object element)Returns the display name for the element.IIntelliTextModelgetFilteredModel(java.lang.String strPrefix)java.lang.StringgetFilterPrefix()java.lang.StringgetInsertionTextFrom(java.lang.Object element)Returns a string to insert into a text editor that is representative of the given element in the model.java.lang.StringgetTypeName()Returns a displayable string for the type of elements in the model.java.lang.ObjectparseElement(java.lang.String strValue)Returns the element in the model corresponding with the string value.
-
-
-
Method Detail
-
getInsertionTextFrom
java.lang.String getInsertionTextFrom(java.lang.Object element)
Returns a string to insert into a text editor that is representative of the given element in the model.
-
getDisplayText
java.lang.String getDisplayText(java.lang.Object element)
Returns the display name for the element.
-
getTypeName
java.lang.String getTypeName()
Returns a displayable string for the type of elements in the model. e.g., "ActivityPattern", "LossCause", "DateTime", anything.
-
parseElement
java.lang.Object parseElement(java.lang.String strValue)
Returns the element in the model corresponding with the string value. Returns null if there is no corresponding element.
-
getFilterPrefix
java.lang.String getFilterPrefix()
-
getFilteredModel
IIntelliTextModel getFilteredModel(java.lang.String strPrefix)
-
-