Package org.omegat.util.gui
Enum Styles.EditorColor
- java.lang.Object
-
- java.lang.Enum<Styles.EditorColor>
-
- org.omegat.util.gui.Styles.EditorColor
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Styles.EditorColor>
- Enclosing class:
- Styles
public static enum Styles.EditorColor extends java.lang.Enum<Styles.EditorColor>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
getColor()
java.awt.Color
getDefault()
java.lang.String
getDisplayName()
void
setColor(java.awt.Color newColor)
java.lang.String
toHex()
static Styles.EditorColor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Styles.EditorColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLOR_BACKGROUND
public static final Styles.EditorColor COLOR_BACKGROUND
-
COLOR_FOREGROUND
public static final Styles.EditorColor COLOR_FOREGROUND
-
COLOR_ACTIVE_SOURCE
public static final Styles.EditorColor COLOR_ACTIVE_SOURCE
-
COLOR_ACTIVE_SOURCE_FG
public static final Styles.EditorColor COLOR_ACTIVE_SOURCE_FG
-
COLOR_ACTIVE_TARGET
public static final Styles.EditorColor COLOR_ACTIVE_TARGET
-
COLOR_ACTIVE_TARGET_FG
public static final Styles.EditorColor COLOR_ACTIVE_TARGET_FG
-
COLOR_SEGMENT_MARKER_FG
public static final Styles.EditorColor COLOR_SEGMENT_MARKER_FG
-
COLOR_SEGMENT_MARKER_BG
public static final Styles.EditorColor COLOR_SEGMENT_MARKER_BG
-
COLOR_SOURCE
public static final Styles.EditorColor COLOR_SOURCE
-
COLOR_SOURCE_FG
public static final Styles.EditorColor COLOR_SOURCE_FG
-
COLOR_NOTED
public static final Styles.EditorColor COLOR_NOTED
-
COLOR_NOTED_FG
public static final Styles.EditorColor COLOR_NOTED_FG
-
COLOR_UNTRANSLATED
public static final Styles.EditorColor COLOR_UNTRANSLATED
-
COLOR_UNTRANSLATED_FG
public static final Styles.EditorColor COLOR_UNTRANSLATED_FG
-
COLOR_TRANSLATED
public static final Styles.EditorColor COLOR_TRANSLATED
-
COLOR_TRANSLATED_FG
public static final Styles.EditorColor COLOR_TRANSLATED_FG
-
COLOR_NON_UNIQUE
public static final Styles.EditorColor COLOR_NON_UNIQUE
-
COLOR_NON_UNIQUE_BG
public static final Styles.EditorColor COLOR_NON_UNIQUE_BG
-
COLOR_MOD_INFO
public static final Styles.EditorColor COLOR_MOD_INFO
-
COLOR_MOD_INFO_FG
public static final Styles.EditorColor COLOR_MOD_INFO_FG
-
COLOR_PLACEHOLDER
public static final Styles.EditorColor COLOR_PLACEHOLDER
-
COLOR_REMOVETEXT_TARGET
public static final Styles.EditorColor COLOR_REMOVETEXT_TARGET
-
COLOR_NBSP
public static final Styles.EditorColor COLOR_NBSP
-
COLOR_WHITESPACE
public static final Styles.EditorColor COLOR_WHITESPACE
-
COLOR_BIDIMARKERS
public static final Styles.EditorColor COLOR_BIDIMARKERS
-
COLOR_PARAGRAPH_START
public static final Styles.EditorColor COLOR_PARAGRAPH_START
-
COLOR_MARK_COMES_FROM_TM
public static final Styles.EditorColor COLOR_MARK_COMES_FROM_TM
-
COLOR_MARK_COMES_FROM_TM_XICE
public static final Styles.EditorColor COLOR_MARK_COMES_FROM_TM_XICE
-
COLOR_MARK_COMES_FROM_TM_X100PC
public static final Styles.EditorColor COLOR_MARK_COMES_FROM_TM_X100PC
-
COLOR_MARK_COMES_FROM_TM_XAUTO
public static final Styles.EditorColor COLOR_MARK_COMES_FROM_TM_XAUTO
-
COLOR_MARK_COMES_FROM_TM_XENFORCED
public static final Styles.EditorColor COLOR_MARK_COMES_FROM_TM_XENFORCED
-
COLOR_REPLACE
public static final Styles.EditorColor COLOR_REPLACE
-
COLOR_LANGUAGE_TOOLS
public static final Styles.EditorColor COLOR_LANGUAGE_TOOLS
-
COLOR_TRANSTIPS
public static final Styles.EditorColor COLOR_TRANSTIPS
-
COLOR_SPELLCHECK
public static final Styles.EditorColor COLOR_SPELLCHECK
-
COLOR_TERMINOLOGY
public static final Styles.EditorColor COLOR_TERMINOLOGY
-
COLOR_MATCHES_CHANGED
public static final Styles.EditorColor COLOR_MATCHES_CHANGED
-
COLOR_MATCHES_UNCHANGED
public static final Styles.EditorColor COLOR_MATCHES_UNCHANGED
-
COLOR_GLOSSARY_SOURCE
public static final Styles.EditorColor COLOR_GLOSSARY_SOURCE
-
COLOR_GLOSSARY_TARGET
public static final Styles.EditorColor COLOR_GLOSSARY_TARGET
-
COLOR_GLOSSARY_NOTE
public static final Styles.EditorColor COLOR_GLOSSARY_NOTE
-
COLOR_MATCHES_DEL_ACTIVE
public static final Styles.EditorColor COLOR_MATCHES_DEL_ACTIVE
-
COLOR_MATCHES_DEL_INACTIVE
public static final Styles.EditorColor COLOR_MATCHES_DEL_INACTIVE
-
COLOR_MATCHES_INS_ACTIVE
public static final Styles.EditorColor COLOR_MATCHES_INS_ACTIVE
-
COLOR_MATCHES_INS_INACTIVE
public static final Styles.EditorColor COLOR_MATCHES_INS_INACTIVE
-
COLOR_HYPERLINK
public static final Styles.EditorColor COLOR_HYPERLINK
-
COLOR_SEARCH_FOUND_MARK
public static final Styles.EditorColor COLOR_SEARCH_FOUND_MARK
-
COLOR_SEARCH_REPLACE_MARK
public static final Styles.EditorColor COLOR_SEARCH_REPLACE_MARK
-
COLOR_NOTIFICATION_MIN
public static final Styles.EditorColor COLOR_NOTIFICATION_MIN
-
COLOR_NOTIFICATION_MAX
public static final Styles.EditorColor COLOR_NOTIFICATION_MAX
-
COLOR_ALIGNER_ACCEPTED
public static final Styles.EditorColor COLOR_ALIGNER_ACCEPTED
-
COLOR_ALIGNER_NEEDSREVIEW
public static final Styles.EditorColor COLOR_ALIGNER_NEEDSREVIEW
-
COLOR_ALIGNER_HIGHLIGHT
public static final Styles.EditorColor COLOR_ALIGNER_HIGHLIGHT
-
COLOR_ALIGNER_TABLE_ROW_HIGHLIGHT
public static final Styles.EditorColor COLOR_ALIGNER_TABLE_ROW_HIGHLIGHT
-
COLOR_MACHINETRANSLATE_SELECTED_HIGHLIGHT
public static final Styles.EditorColor COLOR_MACHINETRANSLATE_SELECTED_HIGHLIGHT
-
-
Method Detail
-
values
public static Styles.EditorColor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Styles.EditorColor c : Styles.EditorColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Styles.EditorColor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toHex
public java.lang.String toHex()
-
getColor
public java.awt.Color getColor()
-
getDefault
public java.awt.Color getDefault()
-
getDisplayName
public java.lang.String getDisplayName()
-
setColor
public void setColor(java.awt.Color newColor)
-
-