Class BasicTextPropertyEditorDialog.DocumentUpdateHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.designtime.swing.propertyeditors.BasicTextPropertyEditorDialog.DocumentUpdateHandler
-
- All Implemented Interfaces:
EventListener
,DocumentListener
- Enclosing class:
- BasicTextPropertyEditorDialog
protected class BasicTextPropertyEditorDialog.DocumentUpdateHandler extends Object implements DocumentListener
-
-
Constructor Summary
Constructors Constructor Description DocumentUpdateHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changedUpdate(DocumentEvent e)
Gives notification that an attribute or set of attributes changed.void
insertUpdate(DocumentEvent e)
Gives notification that there was an insert into the document.void
removeUpdate(DocumentEvent e)
Gives notification that a portion of the document has been removed.
-
-
-
Method Detail
-
insertUpdate
public void insertUpdate(DocumentEvent e)
Gives notification that there was an insert into the document. The range given by the DocumentEvent bounds the freshly inserted region.- Specified by:
insertUpdate
in interfaceDocumentListener
- Parameters:
e
- the document event
-
removeUpdate
public void removeUpdate(DocumentEvent e)
Gives notification that a portion of the document has been removed. The range is given in terms of what the view last saw (that is, before updating sticky positions).- Specified by:
removeUpdate
in interfaceDocumentListener
- Parameters:
e
- the document event
-
changedUpdate
public void changedUpdate(DocumentEvent e)
Gives notification that an attribute or set of attributes changed.- Specified by:
changedUpdate
in interfaceDocumentListener
- Parameters:
e
- the document event
-
-