Class BaseObjectTextField<T extends BaseObject>

    • Constructor Detail

      • BaseObjectTextField

        public BaseObjectTextField​(T check)
        Constructs a new TextField. The initial value is the current value of the check object.
      • BaseObjectTextField

        public BaseObjectTextField​(T check,
                                   String initial)
        Constructs a new TextField.
        Parameters:
        initial - the initial string
    • Method Detail

      • setObject

        public void setObject​(T value)
        Sets the object.
        Parameters:
        value - the object
      • getObject

        public T getObject()
        Returns the current object.
        Returns:
        the object
      • getPopupMenu

        protected BasePopupMenu getPopupMenu()
        Returns a popup menu when right-clicking on the edit field.
        Overrides:
        getPopupMenu in class CheckedTextField
        Returns:
        the menu, null if non available
      • getHelpText

        public String getHelpText()
        The help string (can be HTML) to use as tool tip.
        Overrides:
        getHelpText in class CheckedTextField
        Returns:
        the tool tip, null if none available