net.nand.util.i18n.gui
Enum PropertiesTranslatorEditor.CellStatus

java.lang.Object
  extended by java.lang.Enum<PropertiesTranslatorEditor.CellStatus>
      extended by net.nand.util.i18n.gui.PropertiesTranslatorEditor.CellStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PropertiesTranslatorEditor.CellStatus>
Enclosing class:
PropertiesTranslatorEditor

public static enum PropertiesTranslatorEditor.CellStatus
extends java.lang.Enum<PropertiesTranslatorEditor.CellStatus>

Return types for PropertiesTranslatorEditor.PTSwingTableModel.getCellStatus(int, int)


Enum Constant Summary
COMMENT_KEY_COL
          Key column in a comment row (not a blank row)
DEFAULT
          Default status (editable, no errors)
DEST_EMPTY
          Key's value exists in source, destination value is empty: Ready to localize
DEST_ONLY_ERROR
          Key exists in destination only, not in source
READONLY_NOT_LOCALIZED
          Read-only in destination: Key is not localized
SEARCH_MATCH
          Matches current search.
SRC_EMPTY_ERROR
          Key exists in source, but value is empty in source: Needs a value
 
Method Summary
static PropertiesTranslatorEditor.CellStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PropertiesTranslatorEditor.CellStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final PropertiesTranslatorEditor.CellStatus DEFAULT
Default status (editable, no errors)


COMMENT_KEY_COL

public static final PropertiesTranslatorEditor.CellStatus COMMENT_KEY_COL
Key column in a comment row (not a blank row)


SEARCH_MATCH

public static final PropertiesTranslatorEditor.CellStatus SEARCH_MATCH
Matches current search. See also current match cell at location (PropertiesTranslatorEditor.PTSwingTableModel.sr, PropertiesTranslatorEditor.PTSwingTableModel.sc).


SRC_EMPTY_ERROR

public static final PropertiesTranslatorEditor.CellStatus SRC_EMPTY_ERROR
Key exists in source, but value is empty in source: Needs a value


DEST_EMPTY

public static final PropertiesTranslatorEditor.CellStatus DEST_EMPTY
Key's value exists in source, destination value is empty: Ready to localize


DEST_ONLY_ERROR

public static final PropertiesTranslatorEditor.CellStatus DEST_ONLY_ERROR
Key exists in destination only, not in source


READONLY_NOT_LOCALIZED

public static final PropertiesTranslatorEditor.CellStatus READONLY_NOT_LOCALIZED
Read-only in destination: Key is not localized

Method Detail

values

public static PropertiesTranslatorEditor.CellStatus[] 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 (PropertiesTranslatorEditor.CellStatus c : PropertiesTranslatorEditor.CellStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PropertiesTranslatorEditor.CellStatus 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 name
java.lang.NullPointerException - if the argument is null