edu.umd.cfar.lamp.apploader
Class AppLoaderMenu

java.lang.Object
  extended byedu.umd.cfar.lamp.apploader.AppLoaderMenu

public class AppLoaderMenu
extends java.lang.Object

A JMenu that uses the preferences file to determine its contents.


Constructor Summary
AppLoaderMenu()
           
 
Method Summary
 AppLoader getCore()
           
 void resetMenu(javax.swing.JRootPane frame)
          Resets the menu attached to the given Swing frame to the menu this object describes.
 void setCore(AppLoader core)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppLoaderMenu

public AppLoaderMenu()
Method Detail

resetMenu

public void resetMenu(javax.swing.JRootPane frame)
               throws PreferenceException
Resets the menu attached to the given Swing frame to the menu this object describes.

Parameters:
frame - the frame to hold the menu
Throws:
PreferenceException - if there is an error while parsing the menu from its RDF description

getCore

public AppLoader getCore()
Returns:
Returns the core.

setCore

public void setCore(AppLoader core)
Parameters:
core - The core to set.