Package editor

Interface IIntelliTextModel

All Known Implementing Classes:
PopupListModel

public interface IIntelliTextModel
  • Method Details

    • getInsertionTextFrom

      String getInsertionTextFrom(Object element)
      Returns a string to insert into a text editor that is representative of the given element in the model.
    • getDisplayText

      String getDisplayText(Object element)
      Returns the display name for the element.
    • getTypeName

      String getTypeName()
      Returns a displayable string for the type of elements in the model. e.g., "ActivityPattern", "LossCause", "DateTime", anything.
    • parseElement

      Object parseElement(String strValue)
      Returns the element in the model corresponding with the string value. Returns null if there is no corresponding element.
    • getFilterPrefix

      String getFilterPrefix()
    • getFilteredModel

      IIntelliTextModel getFilteredModel(String strPrefix)