org.powertac.visualizer.beans
Class ImageBean

java.lang.Object
  extended by org.powertac.visualizer.beans.ImageBean
All Implemented Interfaces:
Serializable

public class ImageBean
extends Object
implements Serializable

Backing bean that returns context-relative path of images for use in PrimeFaces components. This pattern is used for avoiding use of DefaultStreamedContent object from Primefaces (quite buggy as of 2.12.2012.). Properties are set in one of beans declaration (XML).

Author:
Jurica Babic
See Also:
Serialized Form

Constructor Summary
ImageBean()
           
 
Method Summary
 String getLogoPath()
           
 String getMoneyPath()
           
 String getOfferedTarrifPath()
           
 void setLogoPath(String logoPath)
           
 void setMoneyPath(String moneyPath)
           
 void setOfferedTarrifPath(String offeredTarrifPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageBean

public ImageBean()
Method Detail

getLogoPath

public String getLogoPath()

setLogoPath

public void setLogoPath(String logoPath)

getOfferedTarrifPath

public String getOfferedTarrifPath()

setOfferedTarrifPath

public void setOfferedTarrifPath(String offeredTarrifPath)

getMoneyPath

public String getMoneyPath()

setMoneyPath

public void setMoneyPath(String moneyPath)


Copyright © 2013 Power TAC. All Rights Reserved.