All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.awt.event.TextListModelEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----jp.kyasu.awt.event.ListModelEvent
                   |
                   +----jp.kyasu.awt.event.TextListModelEvent

public class TextListModelEvent
extends ListModelEvent
The TextListModel event that is originated from a TextListModel to ListModelListeners.

Version:
11 Mar 1998
Author:
Kazuki YASUMATSU
See Also:
TextListModel

Constructor Index

 o TextListModelEvent(ListModel, int, int, int, int, TextLayoutChange)
Constructs a list model event with the specified list model (event source), id, range to be replaced, item count changed, and text layout change object.

Method Index

 o getTextLayoutChange()
Returns the text layout change object.
 o paramString()

Constructors

 o TextListModelEvent
 public TextListModelEvent(ListModel model,
                           int id,
                           int begin,
                           int end,
                           int itemCountChanged,
                           TextLayoutChange textLayoutChange)
Constructs a list model event with the specified list model (event source), id, range to be replaced, item count changed, and text layout change object.

Parameters:
model - the list model (event source).
id - the id.
begin - the beginning index to be replaced, inclusive.
end - the ending index to be replaced, exclusive.
itemCountChanged - the item count changed.
textLayoutChange - the text layout change object.
Throws: IllegalArgumentException
if the id is not LIST_MODEL_REPLACED.

Methods

 o getTextLayoutChange
 public TextLayoutChange getTextLayoutChange()
Returns the text layout change object. This operation is valid when id is LIST_MODEL_REPLACED.

 o paramString
 public String paramString()
Overrides:
paramString in class ListModelEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index