org.musicontroller.gui.components
Class PlaylistList

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.musicontroller.gui.components.PlaylistList
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IDirectEvent, org.apache.tapestry.internal.Component, org.apache.tapestry.IRender, org.apache.tapestry.ITemplateComponent

public abstract class PlaylistList
extends org.apache.tapestry.BaseComponent

This component shows a list of playlists. This component can show the cover art, playlist name, release date, a request button, a download button and a link to the playlist edit page for each playlist in the list. Displaying the cover art, playlist link and the edit link is optional and can be controlled using parameters:

Version:
$Id: PlaylistList.java,v 1.1 2010/03/16 18:55:42 varienaja Exp $
Author:
Arjan Verstoep

Field Summary
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
Constructor Summary
PlaylistList()
           
 
Method Summary
abstract  boolean getDisplayPlaylistLink()
          Getter for this components displayPlaylistLink parameter.
 java.lang.String getPlaylistListCssClass()
          Returns the Css style class of this Playlist list.
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, getContainedRenderers, getInnerRenderers, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

PlaylistList

public PlaylistList()
Method Detail

getDisplayPlaylistLink

public abstract boolean getDisplayPlaylistLink()
Getter for this components displayPlaylistLink parameter.

Returns:
The value of this components displayPlaylistLink parameter

getPlaylistListCssClass

public java.lang.String getPlaylistListCssClass()
Returns the Css style class of this Playlist list. The class depends on the settings of the displayPlaylistLink parameter.

Returns:
The appropriate CSS class name of this component.


Copyright © 2010 A.J.V.. All Rights Reserved.