SRJRCFrames
v0.1.296

de.schwarzrot.ui.control.model
Class DefaultTextChangeModel

java.lang.Object
  extended by de.schwarzrot.ui.control.model.DefaultTextChangeModel
All Implemented Interfaces:
TextChangeModel
Direct Known Subclasses:
FileChangeAdapter, TextChangeAdapter

public class DefaultTextChangeModel
extends Object
implements TextChangeModel

default implementation of a TextChangeModel

Author:
Reinhard Mantey

Field Summary
protected  ChangeEvent changeEvent
           
protected  EventListenerList listenerList
           
 
Constructor Summary
DefaultTextChangeModel()
           
 
Method Summary
 void addChangeListener(ChangeListener cl)
           
 void fireStateChanged()
           
 ChangeListener[] getChangeListeners()
           
 String getText()
           
 void removeChangeListener(ChangeListener cl)
           
 void setText(String newText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changeEvent

protected transient ChangeEvent changeEvent

listenerList

protected EventListenerList listenerList
Constructor Detail

DefaultTextChangeModel

public DefaultTextChangeModel()
Method Detail

addChangeListener

public void addChangeListener(ChangeListener cl)
Specified by:
addChangeListener in interface TextChangeModel

fireStateChanged

public void fireStateChanged()
Specified by:
fireStateChanged in interface TextChangeModel

getChangeListeners

public ChangeListener[] getChangeListeners()
Specified by:
getChangeListeners in interface TextChangeModel

getText

public String getText()
Specified by:
getText in interface TextChangeModel

removeChangeListener

public void removeChangeListener(ChangeListener cl)
Specified by:
removeChangeListener in interface TextChangeModel

setText

public void setText(String newText)
Specified by:
setText in interface TextChangeModel

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.