Package gov.nih.mipav.view
Class MaximumLinesDocumentListener
java.lang.Object
gov.nih.mipav.view.MaximumLinesDocumentListener
- All Implemented Interfaces:
EventListener,DocumentListener
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) long(package private) int(package private) long -
Constructor Summary
ConstructorsConstructorDescriptionMaximumLinesDocumentListener(int maxLines) MaximumLinesDocumentListener(int maxLines, long waitIntervalMillis) -
Method Summary
-
Field Details
-
maxLines
int maxLines -
waitIntervalMillis
long waitIntervalMillis -
lastRunTimeMillis
long lastRunTimeMillis
-
-
Constructor Details
-
MaximumLinesDocumentListener
public MaximumLinesDocumentListener(int maxLines) -
MaximumLinesDocumentListener
public MaximumLinesDocumentListener(int maxLines, long waitIntervalMillis)
-
-
Method Details
-
getMaxLines
public int getMaxLines() -
setMaxLines
public void setMaxLines(int maxLines) -
insertUpdate
- Specified by:
insertUpdatein interfaceDocumentListener
-
removeUpdate
- Specified by:
removeUpdatein interfaceDocumentListener
-
changedUpdate
- Specified by:
changedUpdatein interfaceDocumentListener
-
removeLines
-