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 Icon
create(JComponent component)
Creates an Icon for the given component.Icon
getDocumentIcon()
int
getMaxVisuallyRepresentedRows()
void
setDocumentIcon(ImageIcon documentIcon)
void
setMaxVisuallyRepresentedRows(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:DragImageRenderer
Creates an Icon for the given component.- Specified by:
create
in interfaceDragImageRenderer
- Parameters:
component
- component- Returns:
- icon
-
-