net.sf.navigator.example
Class SimplePermissionsAdapter
java.lang.Object
net.sf.navigator.example.SimplePermissionsAdapter
- All Implemented Interfaces:
- PermissionsAdapter
public class SimplePermissionsAdapter
- extends Object
- implements PermissionsAdapter
- Author:
- ssayles
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePermissionsAdapter
public SimplePermissionsAdapter(String[] theMenuNames)
- Creates a new instance of SimplePermissionAdapter
isAllowed
public boolean isAllowed(MenuComponent menu)
- If the menu is allowed, this should return true.
- Specified by:
isAllowed
in interface PermissionsAdapter
- Returns:
- whether or not the menu is allowed.
Copyright © 2003-2007 SourceForge. All Rights Reserved.