Interface IEditableText

All Known Implementing Classes:
AbstractFilterQueryJPanel.JEditableTextAreaML, EditableTextDecorator, JEditableTextArea, JEditableTextField

public interface IEditableText

All graphical components which inherit from JTextComponent can enhance their functionality with graphical edition options support implementing this interface.

Version:
03/01/2008
Author:
Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
  • Method Details

    • setUndoRedoLimitActions

      void setUndoRedoLimitActions(int limit)
      Sets the limit of actions that can hold the UndoManager of this component.
      Parameters:
      limit - sets the limit of actions that can hold
    • getUndoRedoLimitActions

      int getUndoRedoLimitActions()
      Gets the limit of actions that can hold the UndoManager.
      Returns:
      int limit of actions that can hold
    • addUndoRedoEditListener

      void addUndoRedoEditListener(UndoRedoEditListener listener)
      Adds a listener for notification of an undo or redo operation executed.
      Parameters:
      listener - the listener to be added
      See Also:
      • invalid reference
        javax.swing.event.UndoRedoEditEvent
    • removeUndoRedoEditListener

      void removeUndoRedoEditListener(UndoRedoEditListener listener)
      Removes a listener for notification of an undo or redo operation executed.
      Parameters:
      listener - the listener to be removed
      See Also:
      • invalid reference
        javax.swing.event.UndoRedoEditEvent
    • getUndoRedoEditListeners

      UndoRedoEditListener[] getUndoRedoEditListeners()
      Returns an array of all the UndoRedoEditListener registered on this text component.
      Returns:
      all of this component's UndoRedoEditListeners or an empty array if no listeners of that kind are currently registered
      See Also: