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 December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae