org.universAAL.ui.dm.userInteraction.mainMenu
Class AggregatedMainMenuProvider

Package class diagram package AggregatedMainMenuProvider
java.lang.Object
  extended by org.universAAL.ui.dm.userInteraction.mainMenu.AggregatedMainMenuProvider
All Implemented Interfaces:
IMainMenuProvider, ISubmitGroupListener
Direct Known Subclasses:
SearchableAggregatedMainMenuProvider

public class AggregatedMainMenuProvider
extends Object
implements IMainMenuProvider

Aggregates the behavior of several IMainMenuProviders

Author:
amedrano

Constructor Summary
AggregatedMainMenuProvider()
           
 
Method Summary
 void add(IMainMenuProvider mmp)
          Add a new IMainMenuProvider to the aggregate.
 Group getMainMenu(Resource user, AbsLocation location, Form systemForm)
          Generate the IO Group that contains the main menu for the user.
 void handle(UIResponse response)
          Handle the UIResponse for any of the SubmitionIDs declared in ISubmitGroupListener.listDeclaredSubmitIds().
 Set<String> listDeclaredSubmitIds()
          List the SubmissionIDs implementations of this interface will handle.
 void remove(IMainMenuProvider mmp)
          Remove a IMainMenuProvider from the aggregation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedMainMenuProvider

public AggregatedMainMenuProvider()
Method Detail

handle

public void handle(UIResponse response)
Handle the UIResponse for any of the SubmitionIDs declared in ISubmitGroupListener.listDeclaredSubmitIds().

Specified by:
handle in interface ISubmitGroupListener

listDeclaredSubmitIds

public Set<String> listDeclaredSubmitIds()
List the SubmissionIDs implementations of this interface will handle.

Specified by:
listDeclaredSubmitIds in interface ISubmitGroupListener
Returns:

getMainMenu

public Group getMainMenu(Resource user,
                         AbsLocation location,
                         Form systemForm)
Generate the IO Group that contains the main menu for the user.

Specified by:
getMainMenu in interface IMainMenuProvider

add

public void add(IMainMenuProvider mmp)
Add a new IMainMenuProvider to the aggregate.

Parameters:
mmp - the IMainMenuProvider to be aggregated.

remove

public void remove(IMainMenuProvider mmp)
Remove a IMainMenuProvider from the aggregation.

Parameters:
mmp - the IMainMenuProvider to be removed.


Copyright © 2014 universAAL Consortium. All Rights Reserved.