com.mindfusion.diagramming
Class InPlaceEditEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
 
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.
 
Method Summary
 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.
 
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
 

Constructor Detail

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.
Method Detail

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.