All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.javadocking.drag.painter.package.html Maven / Gradle / Ivy

The newest version!



Contains the functionality for painting a representation of the {@link com.javadocking.dockable.Dockable}, when it is dragged. The basic interface is {@link com.javadocking.drag.painter.DockableDragPainter}.

Information on using dockable drag painters is in How to Use Dragging in The Sanaware Developer Guide.

Usually the representation for a dragged dockable is a rectangle. It shows where the dockable will be docked in a {@link com.javadocking.dock.Dock}, if the mouse would be released at the current mouse position. This rectangle can be painted with a {@link com.javadocking.drag.painter.RectanglePainter}:

  • on the glass pane ({@link com.javadocking.drag.painter.SwDockableDragPainter}),
  • on a window ({@link com.javadocking.drag.painter.WindowDockableDragPainter}),
  • or on a transparent window ({@link com.javadocking.drag.painter.TransparentWindowDockableDragPainter}).

Different drag painters can be combined with the {@link com.javadocking.drag.painter.CompositeDockableDragPainter}.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy