Class TextEditorPanel.TextEditorArea

    • Field Detail

      • m_SetTextListeners

        protected HashSet<ChangeListener> m_SetTextListeners
        the listeners for setText events.
      • m_AppendListeners

        protected HashSet<ChangeListener> m_AppendListeners
        the listeners for append events.
    • Constructor Detail

      • TextEditorArea

        public TextEditorArea()
        Initializes the text area.
    • Method Detail

      • addSetTextListener

        public void addSetTextListener​(ChangeListener l)
        Adds the listener to the internal list of change listeners for setText events.
        Parameters:
        l - the listener to add
      • removeSetTextListener

        public void removeSetTextListener​(ChangeListener l)
        Removes the listener from the internal list of change listeners for setText events.
        Parameters:
        l - the listener to remove
      • notifySetTextListeners

        protected void notifySetTextListeners()
        Notifies all the setText change listeners.
      • addAppendListener

        public void addAppendListener​(ChangeListener l)
        Adds the listener to the internal list of change listeners for append events.
        Parameters:
        l - the listener to add
      • removeAppendListener

        public void removeAppendListener​(ChangeListener l)
        Removes the listener from the internal list of change listeners for append events.
        Parameters:
        l - the listener to remove
      • notifyAppendListeners

        protected void notifyAppendListeners()
        Notifies all the append change listeners.