Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public final class ModelAndView

  1. Object
  2. ModelAndView
A compiled view name and the values supplied to it.

Constructors

public ModelAndView(String viewName)

Methods

public ModelAndView addObject(String name, Object value)
public String getViewName()
public Model getModel()

Inherited methods

Constructor details

ModelAndView

public ModelAndView(String viewName)

Method details

addObject

public ModelAndView addObject(String name, Object value)

getViewName

public String getViewName()

getModel

public Model getModel()