net.sf.borg.common
Class Resource.ComponentParms

java.lang.Object
  extended by net.sf.borg.common.Resource.ComponentParms
Enclosing class:
Resource

public static class Resource.ComponentParms
extends Object

ComponentParms contains the text and keyboard shortcut info for a resource string. Most resource strings do not have keyboard shortcut info.


Constructor Summary
Resource.ComponentParms(String text, int keyEvent, KeyStroke keyStroke)
          Instantiates a new component parms.
 
Method Summary
 int getKeyEvent()
          Gets the key event.
 KeyStroke getKeyStroke()
          Gets the key stroke.
 String getText()
          Gets the text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource.ComponentParms

public Resource.ComponentParms(String text,
                               int keyEvent,
                               KeyStroke keyStroke)
Instantiates a new component parms.

Parameters:
text - the text
keyEvent - the key event
keyStroke - the key stroke
Method Detail

getKeyEvent

public final int getKeyEvent()
Gets the key event.

Returns:
the key event

getKeyStroke

public final KeyStroke getKeyStroke()
Gets the key stroke.

Returns:
the key stroke

getText

public final String getText()
Gets the text.

Returns:
the text


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