Package ca.phon.ipadictionary.ui
Class IPALookupContext
java.lang.Object
ca.phon.ipadictionary.ui.IPALookupContext
- Direct Known Subclasses:
IPALookupViewContext
Context object for cmd interpreter.
Includes implementation of expressions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a listenervoid
addTranscript
(String ortho, String ipa) Add transcriptvoid
createDictionary
(String lang, String name) Createvoid
dropDictionary
(String lang) Drop Only user-defined dictionaries can be dropped.void
exportData
(String file) Exportvoid
fireDictionaryAdded
(String dict) void
fireDictionaryChanged
(String dict) void
fireDictionaryRemoved
(String dict) void
void
fireMessage
(String msg) void
importData
(String file) Importvoid
list()
List dicitonaries.void
Lookupvoid
Print helpvoid
Remove all transcriptsvoid
void
removeTranscript
(String ortho, String ipa) Remove transcriptvoid
switchDictionary
(String lang) Switch dictionary.
-
Constructor Details
-
IPALookupContext
public IPALookupContext()Constructor
-
-
Method Details
-
getDictionary
-
addLookupContextListener
Add a listener -
removeLookupContextListener
-
fireDictionaryChanged
-
fireDictionaryAdded
-
fireDictionaryRemoved
-
fireMessage
-
fireError
-
switchDictionary
Switch dictionary. -
list
public void list()List dicitonaries. -
addTranscript
Add transcript -
removeTranscript
Remove transcript -
removeAllTranscripts
public void removeAllTranscripts()Remove all transcripts -
lookup
Lookup -
importData
Import -
exportData
Export -
createDictionary
Create -
dropDictionary
Drop Only user-defined dictionaries can be dropped. -
printHelp
Print help
-