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 ListModelListener
s.
- Version:
- 11 Mar 1998
- Author:
- Kazuki YASUMATSU
- See Also:
- TextListModel
-
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.
-
getTextLayoutChange()
- Returns the text layout change object.
-
paramString()
-
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.
getTextLayoutChange
public TextLayoutChange getTextLayoutChange()
- Returns the text layout change object.
This operation is valid when id is LIST_MODEL_REPLACED.
paramString
public String paramString()
- Overrides:
- paramString in class ListModelEvent
All Packages Class Hierarchy This Package Previous Next Index