public class StringBindingListener extends Object implements DocumentListener
StringBindingListener acts as listener of the input of a text component and
updates the given Model.| Constructor and Description |
|---|
StringBindingListener(de.alpharogroup.model.api.Model<String> model)
Instantiates a new
StringBindingListener. |
| Modifier and Type | Method and Description |
|---|---|
void |
changedUpdate(DocumentEvent event) |
void |
insertUpdate(DocumentEvent event) |
void |
removeUpdate(DocumentEvent event) |
protected void |
update(DocumentEvent event)
Update the underlying model object.
|
public StringBindingListener(de.alpharogroup.model.api.Model<String> model)
StringBindingListener.model - the modelpublic void changedUpdate(DocumentEvent event)
changedUpdate in interface DocumentListenerpublic void insertUpdate(DocumentEvent event)
insertUpdate in interface DocumentListenerpublic void removeUpdate(DocumentEvent event)
removeUpdate in interface DocumentListenerprotected void update(DocumentEvent event)
event - the eventCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.