org.rapla.gui
Interface ViewFactory


public interface ViewFactory


Method Summary
 RaplaPageGenerator createHTMLView(RaplaContext context, CalendarModel model)
           
 SwingCalendarView createSwingView(RaplaContext context, CalendarModel model, boolean editable)
           
 Icon getIcon()
           
 String getMenuSortKey()
          return the key that is responsible for placing the view it in the correct position in the drop down selection menu
 String getName()
           
 String getViewId()
           
 

Method Detail

createSwingView

SwingCalendarView createSwingView(RaplaContext context,
                                  CalendarModel model,
                                  boolean editable)
                                  throws RaplaException
Throws:
RaplaException

createHTMLView

RaplaPageGenerator createHTMLView(RaplaContext context,
                                  CalendarModel model)
                                  throws RaplaException
Throws:
RaplaException

getViewId

String getViewId()

getMenuSortKey

String getMenuSortKey()
return the key that is responsible for placing the view it in the correct position in the drop down selection menu


getName

String getName()

getIcon

Icon getIcon()


Copyright 2000-2006 Rapla Team. All Rights Reseserved.