public interface IDragInfoRenderer extends IRenderer
IDragInfoPolicy
during a drag & drop operation. Typical
information shown in such an info object is the start and end time where the
dragged object will be placed when the drop occures.DragLayer.setDragInfoVisible(boolean)
,
DragLayer.setDragInfoRenderer(Class, IDragInfoRenderer)
Modifier and Type | Method and Description |
---|---|
Component |
getDragInfoRendererComponent(DragLayer layer,
TimelineObjectPath path,
Object dragInfo,
ITimeSpan span,
int dndAction)
Returns a component that will be used to render the drag information.
|
Component getDragInfoRendererComponent(DragLayer layer, TimelineObjectPath path, Object dragInfo, ITimeSpan span, int dndAction)
layer
- the drag layer where the rendering will take placepath
- the path to the dragged timeline objectdragInfo
- the drag information objectspan
- the time span where the drop would take place if the d&d
operation finished nowdndAction
- the type of drag and drop that is being performed (move, copy)
(a value listed in DnDConstants
)Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.