|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Text>
com.github.croesch.micro_debug.i18n.Text
public enum Text
This class provides access to the internationalized text resources.
| Enum Constant Summary | |
|---|---|
ARGUMENT_WITH_WRONG_PARAM_NUMBER
the text to describe that the argument has the wrong number of parameters |
|
BORDER
the text to visualize a border |
|
BREAKPOINT_MACRO
the text to print the breakpoint for a specific line in macro code |
|
BREAKPOINT_MICRO
the text to print the breakpoint for a specific line in micro code |
|
BREAKPOINT_REGISTER
the text to print the breakpoint for a specific register |
|
ERROR
the text to format an error line output |
|
EXECUTED_CODE
the text to print the executed code |
|
FILE_NOT_FOUND
describes that the specific file couldn't be found |
|
GREETING
the text that is printed when the program is started, before any error message |
|
INPUT_DEBUGGER
the text that should be printed before user input is requested from debugger |
|
INPUT_MIC1
the text that should be printed before user input is requested from the mic1-processor |
|
INVALID_MEM_ADDR
describes an invalid memory address |
|
INVALID_NUMBER
describes an invalid number |
|
INVALID_REGISTER
describes an invalid register |
|
LOCAL_VARIABLE_VALUE
the text to print the value of a local variable |
|
MACRO_CODE_LINE
the text to print a single line of macro code |
|
MEMORY_CONTENT
the text to print the content of the memory |
|
MICRO_CODE_LINE
the text to print a single line of micro code |
|
MISSING_IJVM_FILE
the text to describe that the argument for the ijvm-file is missing |
|
MISSING_MIC1_FILE
the text to describe that the argument for the mic1-file is missing |
|
REGISTER_VALUE
the text to print the value of a register |
|
STACK_CONTENT
the text to print an entry of the stack |
|
STACK_EMPTY
the text to display the user an empty stack |
|
TICKS
the text to view how many ticks have been executed by the processor |
|
TRY_HELP
the text to give a hint to the user that he should try to read the help |
|
UNKNOWN_ARGUMENT
the text to describe an unknown argument |
|
UNKNOWN_IJVM_INSTRUCTION
the text that describes an unknown ijvm instruction |
|
UNKNOWN_INSTRUCTION
describes an unknown instruction |
|
VERSION
the text for the version of the program. |
|
WELCOME
the text that is printed, when the program is starting. |
|
WRONG_FORMAT_IJVM
describes that the ijvm-file has a wrong file format |
|
WRONG_FORMAT_MIC1
describes that the mic1-file has a wrong file format |
|
WRONG_PARAM_NUMBER
the text to describe that there where to few parameters |
|
| Method Summary | |
|---|---|
String |
text()
String representation of this object |
String |
text(Object... s)
String representation of this object, but {x} will be replaced by argument number x starting to count from 0. |
String |
toString()
|
static Text |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Text[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Text VERSION
public static final Text BORDER
public static final Text GREETING
public static final Text WELCOME
public static final Text INPUT_DEBUGGER
public static final Text INPUT_MIC1
public static final Text TICKS
public static final Text REGISTER_VALUE
public static final Text LOCAL_VARIABLE_VALUE
public static final Text EXECUTED_CODE
public static final Text MEMORY_CONTENT
public static final Text STACK_CONTENT
public static final Text STACK_EMPTY
public static final Text MACRO_CODE_LINE
public static final Text MICRO_CODE_LINE
public static final Text BREAKPOINT_REGISTER
public static final Text BREAKPOINT_MACRO
public static final Text BREAKPOINT_MICRO
public static final Text UNKNOWN_IJVM_INSTRUCTION
public static final Text ERROR
public static final Text INVALID_MEM_ADDR
public static final Text INVALID_NUMBER
public static final Text INVALID_REGISTER
public static final Text UNKNOWN_INSTRUCTION
public static final Text UNKNOWN_ARGUMENT
public static final Text ARGUMENT_WITH_WRONG_PARAM_NUMBER
public static final Text WRONG_PARAM_NUMBER
public static final Text MISSING_IJVM_FILE
public static final Text MISSING_MIC1_FILE
public static final Text WRONG_FORMAT_MIC1
public static final Text WRONG_FORMAT_IJVM
public static final Text FILE_NOT_FOUND
public static final Text TRY_HELP
| Method Detail |
|---|
public static Text[] values()
for (Text c : Text.values()) System.out.println(c);
public static Text valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Text>public String text()
public String text(Object... s)
s - the replacements
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||