Package com.tagtraum.beatunes.songtable
Class SongTableDragImageRenderer
- java.lang.Object
-
- com.tagtraum.beatunes.songtable.SongTableDragImageRenderer
-
- All Implemented Interfaces:
DragImageRenderer
public class SongTableDragImageRenderer extends Object implements DragImageRenderer
Renders the Icon that represents songs from a table during a drag operation.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description SongTableDragImageRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iconcreate(JComponent component)Creates an Icon for the given component.IcongetDocumentIcon()intgetMaxVisuallyRepresentedRows()voidsetDocumentIcon(ImageIcon documentIcon)voidsetMaxVisuallyRepresentedRows(int maxVisuallyRepresentedRows)
-
-
-
Method Detail
-
getDocumentIcon
public Icon getDocumentIcon()
-
setDocumentIcon
public void setDocumentIcon(ImageIcon documentIcon)
-
getMaxVisuallyRepresentedRows
public int getMaxVisuallyRepresentedRows()
-
setMaxVisuallyRepresentedRows
public void setMaxVisuallyRepresentedRows(int maxVisuallyRepresentedRows)
-
create
public Icon create(JComponent component)
Description copied from interface:DragImageRendererCreates an Icon for the given component.- Specified by:
createin interfaceDragImageRenderer- Parameters:
component- component- Returns:
- icon
-
-