net.docliff.models.applicationmodel.guimodel.editor
Enum AskAddTranslationMessageBox.AskResult

java.lang.Object
  extended by java.lang.Enum<AskAddTranslationMessageBox.AskResult>
      extended by net.docliff.models.applicationmodel.guimodel.editor.AskAddTranslationMessageBox.AskResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AskAddTranslationMessageBox.AskResult>
Enclosing class:
AskAddTranslationMessageBox

public static enum AskAddTranslationMessageBox.AskResult
extends java.lang.Enum<AskAddTranslationMessageBox.AskResult>

Author:
klemens Result types for AskAddTranslationMessageBox

Enum Constant Summary
ADD
          Add to chosen MUL
CANCEL
          no action
FALSE
          if nothing was done or the method not called
NO
          approve, but do not save
REPLACE
          REPLACE in chosen MUL
TRUE
          if success
 
Method Summary
static AskAddTranslationMessageBox.AskResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AskAddTranslationMessageBox.AskResult[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO

public static final AskAddTranslationMessageBox.AskResult NO
approve, but do not save


ADD

public static final AskAddTranslationMessageBox.AskResult ADD
Add to chosen MUL


REPLACE

public static final AskAddTranslationMessageBox.AskResult REPLACE
REPLACE in chosen MUL


CANCEL

public static final AskAddTranslationMessageBox.AskResult CANCEL
no action


FALSE

public static final AskAddTranslationMessageBox.AskResult FALSE
if nothing was done or the method not called


TRUE

public static final AskAddTranslationMessageBox.AskResult TRUE
if success

Method Detail

values

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

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

valueOf

public static AskAddTranslationMessageBox.AskResult 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