Class DocumentAdapter
- java.lang.Object
-
- jadex.bpmn.editor.gui.propertypanels.DocumentAdapter
-
- All Implemented Interfaces:
java.util.EventListener
,javax.swing.event.DocumentListener
public abstract class DocumentAdapter extends java.lang.Object implements javax.swing.event.DocumentListener
Adapter class that merges all document updates.
-
-
Constructor Summary
Constructors Constructor Description DocumentAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
changedUpdate(javax.swing.event.DocumentEvent e)
static java.lang.String
getText(javax.swing.text.Document doc)
Text extraction from the Java "Document" class is braindead, throws non-RuntimeException: Bloat, bloat, bloat.void
insertUpdate(javax.swing.event.DocumentEvent e)
void
removeUpdate(javax.swing.event.DocumentEvent e)
abstract void
update(javax.swing.event.DocumentEvent e)
Merged update call.
-
-
-
Method Detail
-
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate
in interfacejavax.swing.event.DocumentListener
-
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate
in interfacejavax.swing.event.DocumentListener
-
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interfacejavax.swing.event.DocumentListener
-
update
public abstract void update(javax.swing.event.DocumentEvent e)
Merged update call.- Parameters:
e
- The event.
-
getText
public static final java.lang.String getText(javax.swing.text.Document doc)
Text extraction from the Java "Document" class is braindead, throws non-RuntimeException: Bloat, bloat, bloat.- Parameters:
doc
- The document.- Returns:
- The extracted String.
-
-