net.sf.borg.ui.util
Class PopupMenuHelper.Entry

java.lang.Object
  extended by net.sf.borg.ui.util.PopupMenuHelper.Entry
Enclosing class:
PopupMenuHelper

public static class PopupMenuHelper.Entry
extends Object

Holds the Listener and ResourceKey for a Popup Menu Item


Constructor Summary
PopupMenuHelper.Entry(ActionListener listener, String resourceKey)
          Instantiates a new entry.
 
Method Summary
 ActionListener getListener()
          Gets the listener.
 String getResourceKey()
          Gets the resource key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupMenuHelper.Entry

public PopupMenuHelper.Entry(ActionListener listener,
                             String resourceKey)
Instantiates a new entry.

Parameters:
listener - the listener
resourceKey - the resource key
Method Detail

getListener

public final ActionListener getListener()
Gets the listener.

Returns:
the listener

getResourceKey

public final String getResourceKey()
Gets the resource key.

Returns:
the resource key


Generated September 24 2010 by mbb using Apache Ant version 1.7.1 compiled on June 27 2008 and Java version 1.6.0_20 from Sun Microsystems Inc. on Linux i386 2.6.24-28-generic