Package org.omegat.util.gui
Enum Class Styles.EditorColor
- All Implemented Interfaces:
Serializable,Comparable<Styles.EditorColor>,Constable
- Enclosing class:
- Styles
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionActive source text background.Active source text foreground.Active target text background.Active target text foreground.Aligner "accepted" group color.Aligner highlight color.Aligner "needs review" group color.Aligner table row highlight color.Background color.Bidirectional control characters background color.Foreground color.Glossary note background color.Glossary source background color.Glossary target background color.Hyperlink highlight color.Language checker suggestion highlight color.Aligner table selected row highlight.Alternative translation highlight color.The background color of a segment comes from MT memory.The background color of a segment comes from 100% memory.The background color of a segment comes from auto memory.The background color of a segment comes from enforced memroy.The background color of a segment comes from ICE memory.Matches changed words background color.Matches deleted active background color.Matches deleted inactive background color.Matches inserted active background color.Matches inserted inactive background color.Matches unchanged words background color.Modification information background.Modification information text.Non-breakable space character background.non unique entry text.non unique entry background.noted segment background.noted segment foreground.Notification (flash) color.Notification (steady) color.Paragraph start delimitation background color.Tags placeholder color.Flagged text target color.Replace background color.Search found mark highlight color.Search replace mark highlight color.SEgment marker background color.Segment marker foreground color.source text background.source text foreground.Spellcheck suggestion highlight color.Terminology suggestion highlight color.translated segment background.translated segment text.Glossary matches highlight color.untranslated segment background.untranslated segment foreground.White space marker background color. -
Method Summary
Modifier and TypeMethodDescriptiongetColor()voidtoHex()static Styles.EditorColorReturns the enum constant of this class with the specified name.static Styles.EditorColor[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
COLOR_BACKGROUND
Background color.Also used for EditorPane.background
-
COLOR_FOREGROUND
Foreground color. -
COLOR_ACTIVE_SOURCE
Active source text background. -
COLOR_ACTIVE_SOURCE_FG
Active source text foreground. -
COLOR_ACTIVE_TARGET
Active target text background. -
COLOR_ACTIVE_TARGET_FG
Active target text foreground. -
COLOR_SEGMENT_MARKER_FG
Segment marker foreground color. -
COLOR_SEGMENT_MARKER_BG
SEgment marker background color. -
COLOR_SOURCE
source text background. -
COLOR_SOURCE_FG
source text foreground. -
COLOR_NOTED
noted segment background. -
COLOR_NOTED_FG
noted segment foreground. -
COLOR_UNTRANSLATED
untranslated segment background. -
COLOR_UNTRANSLATED_FG
untranslated segment foreground. -
COLOR_TRANSLATED
translated segment background. -
COLOR_TRANSLATED_FG
translated segment text. -
COLOR_NON_UNIQUE
non unique entry text. -
COLOR_NON_UNIQUE_BG
non unique entry background. -
COLOR_MOD_INFO
Modification information background. -
COLOR_MOD_INFO_FG
Modification information text. -
COLOR_PLACEHOLDER
Tags placeholder color. -
COLOR_REMOVETEXT_TARGET
Flagged text target color. -
COLOR_NBSP
Non-breakable space character background. -
COLOR_WHITESPACE
White space marker background color. -
COLOR_BIDIMARKERS
Bidirectional control characters background color. -
COLOR_PARAGRAPH_START
Paragraph start delimitation background color. -
COLOR_MARK_COMES_FROM_TM_MT
The background color of a segment comes from MT memory. -
COLOR_MARK_COMES_FROM_TM_XICE
The background color of a segment comes from ICE memory. -
COLOR_MARK_COMES_FROM_TM_X100PC
The background color of a segment comes from 100% memory. -
COLOR_MARK_COMES_FROM_TM_XAUTO
The background color of a segment comes from auto memory. -
COLOR_MARK_COMES_FROM_TM_XENFORCED
The background color of a segment comes from enforced memroy. -
COLOR_MARK_ALT_TRANSLATION
Alternative translation highlight color. -
COLOR_REPLACE
Replace background color. -
COLOR_LANGUAGE_TOOLS
Language checker suggestion highlight color. -
COLOR_TRANSTIPS
Glossary matches highlight color. -
COLOR_SPELLCHECK
Spellcheck suggestion highlight color. -
COLOR_TERMINOLOGY
Terminology suggestion highlight color. -
COLOR_MATCHES_CHANGED
Matches changed words background color. -
COLOR_MATCHES_UNCHANGED
Matches unchanged words background color. -
COLOR_GLOSSARY_SOURCE
Glossary source background color. -
COLOR_GLOSSARY_TARGET
Glossary target background color. -
COLOR_GLOSSARY_NOTE
Glossary note background color. -
COLOR_MATCHES_DEL_ACTIVE
Matches deleted active background color. -
COLOR_MATCHES_DEL_INACTIVE
Matches deleted inactive background color. -
COLOR_MATCHES_INS_ACTIVE
Matches inserted active background color. -
COLOR_MATCHES_INS_INACTIVE
Matches inserted inactive background color. -
COLOR_HYPERLINK
Hyperlink highlight color. -
COLOR_SEARCH_FOUND_MARK
Search found mark highlight color. -
COLOR_SEARCH_REPLACE_MARK
Search replace mark highlight color. -
COLOR_NOTIFICATION_MIN
Notification (steady) color. -
COLOR_NOTIFICATION_MAX
Notification (flash) color. -
COLOR_ALIGNER_ACCEPTED
Aligner "accepted" group color. -
COLOR_ALIGNER_NEEDSREVIEW
Aligner "needs review" group color. -
COLOR_ALIGNER_HIGHLIGHT
Aligner highlight color. -
COLOR_ALIGNER_TABLE_ROW_HIGHLIGHT
Aligner table row highlight color. -
COLOR_MACHINETRANSLATE_SELECTED_HIGHLIGHT
Aligner table selected row highlight.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toHex
-
getColor
-
getDefault
-
getDisplayName
-
setColor
-