com.cc.framework.ui.model
Interface RatingItem


public interface RatingItem

A single rating item

Version:
$Revision: 1.2 $
Author:
Harald Schulz

Method Summary
 Color getColor()
           
 java.lang.String getDetail()
           
 java.lang.String getKey()
           
 java.lang.String getLabel()
           
 long getValue()
          Returns an absolute value for this rating item e.g. the number of users who have voted for this rating
 

Method Detail

getKey

public java.lang.String getKey()
Returns:
returns a unique key for this rating

getLabel

public java.lang.String getLabel()
Returns:
returns the item label

getDetail

public java.lang.String getDetail()
Returns:
returns the optional detail text

getValue

public long getValue()
Returns an absolute value for this rating item e.g. the number of users who have voted for this rating

Returns:
absolute value

getColor

public Color getColor()
Returns:
returns the color that should be used to render the percentage bar


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.