Package ptolemy.kernel.util
Interface DropTargetHandler
-
- All Known Implementing Classes:
Clone
,Configure
,Event
,Execute
,FactorOracle
,FmvState
,GTEvent
,InitModel
,InitModelWithContainer
,InputModel
,ListDirectory
,Match
,ModalController
,ModalRefinement
,OracleModel
,OutputModel
,Plot
,PteraController
,ReadModel
,ReceiveInput
,Report
,SetTableau
,Sleep
,State
,StateMatcher
,Stop
,TDLMode
,Test
,TestModel
,Transform
,TransientState
,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$
- Author:
- Thomas Huining Feng
- Pt.AcceptedRating:
- Red (tfeng)
- Pt.ProposedRating:
- Red (tfeng)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dropObject(NamedObj target, java.util.List dropObjects, java.lang.String moml)
React to a list of objects being dropped onto a target.
-
-
-
Method Detail
-
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.
-
-