public class PaletteDropEvent extends EventObject
PaletteDragAndDropListener
when changes occur in the palette after a drag-and-drop operation
in a palette viewer.Modifier and Type | Field and Description |
---|---|
protected Collection |
children
The objects dropped, that is, moved or copied.
|
protected IlvPalette |
sourcePalette
The source palette of the drag-and-drop operation.
|
protected IlvPalette |
targetPalette
The target palette of the drag-and-drop operation.
|
source
Constructor and Description |
---|
PaletteDropEvent(IlvPalette sourcePalette,
IlvPalette targetPalette,
Collection children)
Creates an event.
|
Modifier and Type | Method and Description |
---|---|
Collection |
getChildren()
Returns the children that have been dropped.
|
IlvPalette |
getSourcePalette()
Returns the palette that has caused the event.
|
IlvPalette |
getTargetPalette()
Returns the palette that is target of the event.
|
getSource, toString
protected transient IlvPalette sourcePalette
getSourcePalette()
protected transient IlvPalette targetPalette
getTargetPalette()
protected transient Collection children
getChildren()
public PaletteDropEvent(IlvPalette sourcePalette, IlvPalette targetPalette, Collection children)
sourcePalette
- The source palette.targetPalette
- The target palette.children
- The elements that have been dropped.public IlvPalette getSourcePalette()
public IlvPalette getTargetPalette()
public Collection getChildren()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.