org.kuali.rice.krad.uif.view
Class ViewTheme

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DictionaryBeanBase
      extended by org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
          extended by org.kuali.rice.krad.uif.view.ViewTheme
All Implemented Interfaces:
Serializable, DictionaryBean, UifDictionaryBean

public class ViewTheme
extends UifDictionaryBeanBase
implements Serializable

Theme for the current view, currently just a list of stylesheets and js files, but has the potential for expansion in the future

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
ViewTheme()
           
 
Method Summary
 List<String> getCssFiles()
          Get the css stylesheets to be imported for this view, this must be a list of .css files with their relative paths
 String getImageDirectory()
          Path to the directory (either relative or absolute) that contains images for the theme
 List<String> getScriptFiles()
          Get the javascript files to be imported for this view, these must be a list of .js files with their relative paths
 void setCssFiles(List<String> cssFiles)
          Set the css stylesheets
 void setImageDirectory(String imageDirectory)
          Setter for the directory that contains images for the theme
 void setScriptFiles(List<String> scriptFiles)
          Set the js files
 
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
getComponentCode, getNamespaceCode
 

Constructor Detail

ViewTheme

public ViewTheme()
Method Detail

getImageDirectory

public String getImageDirectory()
Path to the directory (either relative or absolute) that contains images for the theme

Configured diretory will populate the UifConstants.ContextVariableNames.THEME_IMAGES context variable which can be referenced with an expression for an image source

Returns:
String theme image directory

setImageDirectory

public void setImageDirectory(String imageDirectory)
Setter for the directory that contains images for the theme

Parameters:
imageDirectory -

getCssFiles

public List<String> getCssFiles()
Get the css stylesheets to be imported for this view, this must be a list of .css files with their relative paths

Returns:
List

setCssFiles

public void setCssFiles(List<String> cssFiles)
Set the css stylesheets

Parameters:
cssFiles -

getScriptFiles

public List<String> getScriptFiles()
Get the javascript files to be imported for this view, these must be a list of .js files with their relative paths

Returns:
List

setScriptFiles

public void setScriptFiles(List<String> scriptFiles)
Set the js files

Parameters:
scriptFiles -


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.