public class InPlaceEditEvent
extends java.util.EventObject
Constructor and Description |
---|
InPlaceEditEvent(java.lang.Object source,
InplaceEditable item,
javax.swing.JComponent editControl)
Initializes a new instance of the LeaveInplaceEditEvent class.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
getEditControl()
Gets the control used to edit the item's text.
|
InplaceEditable |
getItem()
Gets an instance of the
InplaceEditable class. |
void |
setItem(InplaceEditable item)
Sets the
InplaceEditable instance. |
public InPlaceEditEvent(java.lang.Object source, InplaceEditable item, javax.swing.JComponent editControl)
source
- The node or table cell whose text has been edited.item
- An InplaceEditable instance that contains the event data.editControl
- The Java Swing component used to edit the item.public InplaceEditable getItem()
InplaceEditable
class.InplaceEditable
class.public void setItem(InplaceEditable item)
InplaceEditable
instance.item
- Sets an InplaceEditable
object.public javax.swing.JComponent getEditControl()