public class InPlaceEditEvent
extends java.util.EventObject
| Constructor and Description |
|---|
InPlaceEditEvent(java.lang.Object source,
InplaceEditable item,
javax.swing.JComponent editControl,
java.awt.geom.Rectangle2D editBounds)
Initializes a new instance of the LeaveInplaceEditEvent class.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Rectangle2D |
getBounds() |
javax.swing.JComponent |
getEditControl()
Gets the control used to edit the item's text.
|
InplaceEditable |
getItem()
Gets an instance of the
InplaceEditable class. |
void |
setBounds(java.awt.geom.Rectangle2D value) |
void |
setEditControl(javax.swing.JComponent value)
Sets the control used to edit the item's text.
|
void |
setItem(InplaceEditable item)
Sets the
InplaceEditable instance. |
public InPlaceEditEvent(java.lang.Object source,
InplaceEditable item,
javax.swing.JComponent editControl,
java.awt.geom.Rectangle2D editBounds)
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()
public void setEditControl(javax.swing.JComponent value)
value - The component that lets users edit item's text.public java.awt.geom.Rectangle2D getBounds()
public void setBounds(java.awt.geom.Rectangle2D value)