uic
Class Translate.Translator

java.lang.Object
  extended byuic.Translate.Translator
Enclosing class:
Translate

public static class Translate.Translator
extends Object


Field Summary
 ResourceBundle bundle
           
 
Constructor Summary
Translate.Translator(ResourceBundle bundle)
           
 
Method Summary
 String getButtonText(String in)
          In Qt the '&' in front of a character represents a mnemonic; but should not be visible on buttons; this method returns the string sans the '&'.
 char getMnemonic(String in)
          In Qt the '&' in front of a character represents a mnemonic; but should not be visible on buttons; this method returns the first character that follows the '& char.
 String i18n(String in)
           
 void setBundle(ResourceBundle bundle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundle

public ResourceBundle bundle
Constructor Detail

Translate.Translator

public Translate.Translator(ResourceBundle bundle)
Method Detail

setBundle

public void setBundle(ResourceBundle bundle)

i18n

public String i18n(String in)

getButtonText

public String getButtonText(String in)
In Qt the '&' in front of a character represents a mnemonic; but should not be visible on buttons; this method returns the string sans the '&'.


getMnemonic

public char getMnemonic(String in)
In Qt the '&' in front of a character represents a mnemonic; but should not be visible on buttons; this method returns the first character that follows the '& char.



Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence