org.viewaframework.model
Interface ViewModelAware

All Known Subinterfaces:
ViewContainer, ViewContainerDialog, ViewContainerEditor, ViewContainerFrame
All Known Implementing Classes:
AboutView, AbstractViewContainer, AbstractViewContainerDialog, AbstractViewContainerFrame, AbstractViewContainerTray, DefaultViewContainer, DefaultViewContainerEditor, DefaultViewContainerFrame, DetailView, LoginView, MasterView

public interface ViewModelAware

Implemented for those classes which holds a ViewModel

Since:
1.0
Author:
Mario Garcia

Method Summary
 void addModelValue(String alias, Object object)
           
 Object getModelValue(String alias)
           
 Map<String,ViewModel> getViewModelMap()
           
 void setViewModelMap(Map<String,ViewModel> viewModelMap)
           
 

Method Detail

addModelValue

void addModelValue(String alias,
                   Object object)
Parameters:
alias -
object -

getModelValue

Object getModelValue(String alias)
Parameters:
alias -
Returns:

getViewModelMap

Map<String,ViewModel> getViewModelMap()
Returns:

setViewModelMap

void setViewModelMap(Map<String,ViewModel> viewModelMap)
Parameters:
viewModelMap -


Copyright © 2010. All Rights Reserved.