| org.netbeans.modules.form.NewComponentDrop
All known Subclasses: org.netbeans.modules.form.j2ee.DBConnectionDrop,
NewComponentDrop | public interface NewComponentDrop (Code) | | Interface allowing drag and drop of nodes to form module.
author: Jan Stola, Tomas Pavek |
componentAdded | void componentAdded(String componentId, String droppedOverId)(Code) | | Callback method that notifies about the added component. You should
set properties of the added component or add other beans to the model
in this method.
Parameters: componentId - ID of the newly added component. Parameters: droppedOverId - ID of a component the new component has been dropped over;used only if the dropped component is non-visual, it is null otherwise. |
getPaletteItem | PaletteItem getPaletteItem(DropTargetDragEvent dtde)(Code) | | Describes the primary component that should be added.
Parameters: dtde - corresponding drop target drag event. palette item that describes the component that should be added. |
|
|