org.araneaframework.core
Class BaseApplicationWidget.ViewModel

java.lang.Object
  extended byorg.araneaframework.core.BaseApplicationWidget.ViewModel
All Implemented Interfaces:
ApplicationComponent.ComponentViewModel, ApplicationService.ServiceViewModel, ApplicationWidget.WidgetViewModel, Serializable
Direct Known Subclasses:
BaseFormListWidget.ViewModel, GenericFormElement.ViewModel, ListWidget.ViewModel
Enclosing class:
BaseApplicationWidget

public class BaseApplicationWidget.ViewModel
extends Object
implements ApplicationWidget.WidgetViewModel

See Also:
Serialized Form

Constructor Summary
BaseApplicationWidget.ViewModel()
           
 
Method Summary
 Map getChildren()
          Return component's child components.
 Map getData()
          Can be used to custom data from the view.
 Scope getScope()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseApplicationWidget.ViewModel

public BaseApplicationWidget.ViewModel()
Method Detail

getScope

public Scope getScope()
Specified by:
getScope in interface ApplicationComponent.ComponentViewModel
Since:
1.1

getChildren

public Map getChildren()
Description copied from interface: ApplicationComponent.ComponentViewModel
Return component's child components.

Specified by:
getChildren in interface ApplicationComponent.ComponentViewModel

getData

public Map getData()
Description copied from interface: ApplicationService.ServiceViewModel
Can be used to custom data from the view.

Specified by:
getData in interface ApplicationService.ServiceViewModel