1 36 37 40 41 package com.sun.inputmethods.internal.codepointim; 42 43 import java.awt.Image ; 44 import java.awt.im.spi.InputMethodDescriptor ; 45 import java.awt.im.spi.InputMethod ; 46 import java.util.Locale ; 47 48 56 public class CodePointInputMethodDescriptor implements InputMethodDescriptor { 57 58 public CodePointInputMethodDescriptor() { 59 } 60 61 68 public InputMethod createInputMethod() throws Exception { 69 return new CodePointInputMethod(); 70 } 71 72 75 public Locale [] getAvailableLocales() { 76 Locale [] locales = { 77 new Locale ("","",""), 78 }; 79 return locales; 80 } 81 82 public synchronized String getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage) { 83 return "CodePoint Input Method"; 84 } 85 86 public Image getInputMethodIcon(Locale inputLocale) { 87 return null; 88 } 89 90 public boolean hasDynamicLocaleList() { 91 return false; 92 } 93 } 94 | Popular Tags |