Package org.omegat.gui.glossary
Class DictionaryGlossaryRenderer
- java.lang.Object
-
- org.omegat.gui.glossary.DictionaryGlossaryRenderer
-
- All Implemented Interfaces:
IGlossaryRenderer
public class DictionaryGlossaryRenderer extends java.lang.Object implements IGlossaryRenderer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.omegat.gui.glossary.IGlossaryRenderer
IGlossaryRenderer.DocTarget, IGlossaryRenderer.HtmlTarget, IGlossaryRenderer.IRenderTarget<T>
-
-
Field Summary
-
Fields inherited from interface org.omegat.gui.glossary.IGlossaryRenderer
NO_ATTRIBUTES, NOTES_ATTRIBUTES, PRIORITY_ATTRIBUTES, SOURCE_ATTRIBUTES, TARGET_ATTRIBUTES
-
-
Constructor Summary
Constructors Constructor Description DictionaryGlossaryRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
String to be stored in config file.java.lang.String
getName()
Name to be displayed in the drop box.void
render(GlossaryEntry entry, IGlossaryRenderer.IRenderTarget<?> trg)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.omegat.gui.glossary.IGlossaryRenderer
render, renderToHtml
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IGlossaryRenderer
Name to be displayed in the drop box. Can be language-dependent- Specified by:
getName
in interfaceIGlossaryRenderer
-
getId
public java.lang.String getId()
Description copied from interface:IGlossaryRenderer
String to be stored in config file. Must be language-independent, and unique- Specified by:
getId
in interfaceIGlossaryRenderer
-
render
public void render(GlossaryEntry entry, IGlossaryRenderer.IRenderTarget<?> trg)
- Specified by:
render
in interfaceIGlossaryRenderer
-
-