ptolemy.kernel.util
Interface DropTargetHandler
- All Known Implementing Classes:
- Clone, Configure, Event, Execute, FmvState, FmvState, GTEvent, InitModel, InitModelWithContainer, InputModel, ListDirectory, Match, ModalController, ModalController, ModalRefinement, OutputModel, Plot, PteraController, ReadModel, ReceiveInput, Report, SetTableau, Sleep, State, State, StateMatcher, Stop, TDLMode, Test, Transform, View, WriteModel
public interface DropTargetHandler
An interface to be implemented by the entities that specifically handle
drag-and-drop events.
- Since:
- Ptolemy II 8.0
- Version:
- $Id: DropTargetHandler.java 57044 2010-01-27 22:41:05Z cxh $
- Author:
- Thomas Huining Feng
- Accepted Rating:
- Proposed Rating:
Method Summary |
void |
dropObject(NamedObj target,
java.util.List dropObjects,
java.lang.String moml)
React to a list of objects being dropped onto a target. |
dropObject
void dropObject(NamedObj target,
java.util.List dropObjects,
java.lang.String moml)
throws IllegalActionException
- React to a list of objects being dropped onto a target.
- Parameters:
target
- The target on which the objects are dropped.dropObjects
- The list of objects dropped onto the target.moml
- The moml string generated for the dropped objects.
- Throws:
IllegalActionException
- If the handling is unsuccessful.