com.mindfusion.diagramming
Class InPlaceEditEvent
java.lang.Object
java.util.EventObject
com.mindfusion.diagramming.InPlaceEditEvent
- All Implemented Interfaces:
- java.io.Serializable
public class InPlaceEditEvent
- extends java.util.EventObject
The event is raised when leaving inplace-edit mode.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
InPlaceEditEvent(java.lang.Object source,
InplaceEditable item,
javax.swing.JComponent editControl)
Initializes a new instance of the LeaveInplaceEditEvent class. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InPlaceEditEvent
public InPlaceEditEvent(java.lang.Object source,
InplaceEditable item,
javax.swing.JComponent editControl)
- Initializes a new instance of the LeaveInplaceEditEvent class.
- Parameters:
source
- The node or table cell whose text has been edited.ie
- An InplaceEditable instance that contains the event data.accepted
- True if the LeaveInplaceEditEvent is accepted, otherwise false.
getItem
public InplaceEditable getItem()
- Gets an instance of the
InplaceEditable
class.
- Returns:
- an instance of the
InplaceEditable
class.
setItem
public void setItem(InplaceEditable item)
- Sets the
InplaceEditable
instance.
- Parameters:
inplaceEditable
- Sets an InplaceEditable
object.
getEditControl
public javax.swing.JComponent getEditControl()
- Gets the control used to edit the item's text.