uk.co.mullsoft.calendar
Class CalendarConfig

java.lang.Object
  extended by uk.co.mullsoft.jean.JEANConfig
      extended by uk.co.mullsoft.calendar.CalendarConfig
Direct Known Subclasses:
BookingsConfiguration, FreelancerConfig

public class CalendarConfig
extends JEANConfig


Field Summary
 
Fields inherited from class uk.co.mullsoft.jean.JEANConfig
configDocument, newConfig
 
Constructor Summary
CalendarConfig(CalendarUtilities calendarUtilities)
           
 
Method Summary
 NamedValue[] getNewParameters(JEANAPI api)
          These are application parameters that must be provided during the first run of the application.
 void setStartupParameters(JEANAPI api, NamedValue[] params)
          application parameters with no user are set up during startup.
 
Methods inherited from class uk.co.mullsoft.jean.JEANConfig
createNewParameters, getConfigDocument, getParameter, getParameterNames, isNewConfig, loadColors, loadConfigDocument, removeParameter, save, setColors, setColorsWithoutSaving, setParameter, setParameters, setParameters, setSystemParameter, setSystemParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarConfig

public CalendarConfig(CalendarUtilities calendarUtilities)
Method Detail

getNewParameters

public NamedValue[] getNewParameters(JEANAPI api)
These are application parameters that must be provided during the first run of the application.

Specified by:
getNewParameters in class JEANConfig
Parameters:
api - the current JEANAPI
Returns:
an array of NamedValues, name and String[2] {value of each parameter,username}

setStartupParameters

public void setStartupParameters(JEANAPI api,
                                 NamedValue[] params)
application parameters with no user are set up during startup.

Specified by:
setStartupParameters in class JEANConfig