com.evolution.player.ui.artwork
Class AlbumArtworkDecorator.Decoration

java.lang.Object
  extended by com.evolution.player.ui.artwork.AlbumArtworkDecorator.Decoration
Enclosing class:
AlbumArtworkDecorator

public abstract static class AlbumArtworkDecorator.Decoration
extends java.lang.Object

A decoration.

Clients must implement.


Constructor Summary
AlbumArtworkDecorator.Decoration()
           
 
Method Summary
abstract  Action getAction()
          The action to execute if this decoration is selected, if any.
abstract  ActionPosition[] getActionPositions()
          The positions of the action in the workbench, or empty if the action should not be shown anywhere.
abstract  Image getImage()
          The image to use to decorate.
abstract  AlbumArtworkDecorator.Position getPosition()
          The position of the decoration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlbumArtworkDecorator.Decoration

public AlbumArtworkDecorator.Decoration()
Method Detail

getPosition

public abstract AlbumArtworkDecorator.Position getPosition()
The position of the decoration.

Returns:
the position of the decoration

getImage

public abstract Image getImage()
The image to use to decorate.

Returns:
the image to use

getAction

public abstract Action getAction()
The action to execute if this decoration is selected, if any.

Returns:
the action or null

getActionPositions

public abstract ActionPosition[] getActionPositions()
The positions of the action in the workbench, or empty if the action should not be shown anywhere.

Returns:
the action menu positions or empty