com.github.croesch.micro_debug.gui.i18n
Enum GuiText

java.lang.Object
  extended by java.lang.Enum<GuiText>
      extended by com.github.croesch.micro_debug.gui.i18n.GuiText
All Implemented Interfaces:
Serializable, Comparable<GuiText>

public enum GuiText
extends Enum<GuiText>

This class provides access to the internationalized text resources.

Since:
Date: Feb 28, 2012
Author:
croesch

Enum Constant Summary
BORDER
          the text to visualize a border
GREETING
          the text that is printed when the program is started, before any error message
GUI_ABOUT_DESCRIPTION
          the description of the debugger - as shown in the about section
GUI_ABOUT_LICENSE
          the title of license information in about file
GUI_ABOUT_TITLE
          the title of the about information
GUI_ACTIONS_ABOUT
          the text for the about action
GUI_ACTIONS_EXIT
          the text for the exit action
GUI_ACTIONS_HELP
          the text for the help action
GUI_ACTIONS_INTERRUPT
          the text for the interrupt action
GUI_ACTIONS_MICRO_STEP
          the text for the micro step action
GUI_ACTIONS_RESET
          the text for the reset action
GUI_ACTIONS_RUN
          the text for the run action
GUI_ACTIONS_STEP
          the text for the step action
GUI_COMMAND_BROWSE
          the text for the command to browse something
GUI_HELP_COMP_DESCR
          the content of the component description
GUI_HELP_DEV_DESCR
          the content of the development description
GUI_HELP_ISSUE_DESCR
          the content of the issue tracking system description
GUI_HELP_TITLE
          the title of the help frame
GUI_MAIN_BINARY
          the description for the number format: binary
GUI_MAIN_DECIMAL
          the description for the number format: decimal
GUI_MAIN_HEXADECIMAL
          the description for the number format: hexadecimal
GUI_MAIN_TITLE
          the title of the main frame
GUI_MENU_HELP
          the text for the help menu
GUI_MENU_MICRODEBUG
          the text for the micro-debug menu
GUI_MENU_PROCESSOR
          the text for the processor menu
GUI_START_DESCRIPTION
          the description of the start frame for the user
GUI_START_MACRO
          the text to identify the components for macro assembler binary code
GUI_START_MACRO_WFF
          the message to explain that the macro file is wrong
GUI_START_MICRO
          the text to identify the components for micro assembler binary code
GUI_START_MICRO_WFF
          the message to explain that the micro file is wrong
GUI_START_OKAY
          the text to represent the action to start the debugger
GUI_START_TITLE
          the title of the start frame
VERSION
          the text for the version of the program.
 
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 GuiText valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GuiText[] 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

VERSION

public static final GuiText VERSION
the text for the version of the program.


BORDER

public static final GuiText BORDER
the text to visualize a border


GREETING

public static final GuiText GREETING
the text that is printed when the program is started, before any error message


GUI_COMMAND_BROWSE

public static final GuiText GUI_COMMAND_BROWSE
the text for the command to browse something


GUI_ABOUT_TITLE

public static final GuiText GUI_ABOUT_TITLE
the title of the about information


GUI_ABOUT_LICENSE

public static final GuiText GUI_ABOUT_LICENSE
the title of license information in about file


GUI_ABOUT_DESCRIPTION

public static final GuiText GUI_ABOUT_DESCRIPTION
the description of the debugger - as shown in the about section


GUI_START_TITLE

public static final GuiText GUI_START_TITLE
the title of the start frame


GUI_START_DESCRIPTION

public static final GuiText GUI_START_DESCRIPTION
the description of the start frame for the user


GUI_START_OKAY

public static final GuiText GUI_START_OKAY
the text to represent the action to start the debugger


GUI_START_MACRO

public static final GuiText GUI_START_MACRO
the text to identify the components for macro assembler binary code


GUI_START_MICRO

public static final GuiText GUI_START_MICRO
the text to identify the components for micro assembler binary code


GUI_START_MICRO_WFF

public static final GuiText GUI_START_MICRO_WFF
the message to explain that the micro file is wrong


GUI_START_MACRO_WFF

public static final GuiText GUI_START_MACRO_WFF
the message to explain that the macro file is wrong


GUI_MAIN_TITLE

public static final GuiText GUI_MAIN_TITLE
the title of the main frame


GUI_MAIN_BINARY

public static final GuiText GUI_MAIN_BINARY
the description for the number format: binary


GUI_MAIN_DECIMAL

public static final GuiText GUI_MAIN_DECIMAL
the description for the number format: decimal


GUI_MAIN_HEXADECIMAL

public static final GuiText GUI_MAIN_HEXADECIMAL
the description for the number format: hexadecimal


GUI_ACTIONS_ABOUT

public static final GuiText GUI_ACTIONS_ABOUT
the text for the about action


GUI_ACTIONS_MICRO_STEP

public static final GuiText GUI_ACTIONS_MICRO_STEP
the text for the micro step action


GUI_ACTIONS_RESET

public static final GuiText GUI_ACTIONS_RESET
the text for the reset action


GUI_ACTIONS_RUN

public static final GuiText GUI_ACTIONS_RUN
the text for the run action


GUI_ACTIONS_STEP

public static final GuiText GUI_ACTIONS_STEP
the text for the step action


GUI_ACTIONS_EXIT

public static final GuiText GUI_ACTIONS_EXIT
the text for the exit action


GUI_ACTIONS_HELP

public static final GuiText GUI_ACTIONS_HELP
the text for the help action


GUI_ACTIONS_INTERRUPT

public static final GuiText GUI_ACTIONS_INTERRUPT
the text for the interrupt action


GUI_MENU_HELP

public static final GuiText GUI_MENU_HELP
the text for the help menu


GUI_MENU_PROCESSOR

public static final GuiText GUI_MENU_PROCESSOR
the text for the processor menu


GUI_MENU_MICRODEBUG

public static final GuiText GUI_MENU_MICRODEBUG
the text for the micro-debug menu


GUI_HELP_TITLE

public static final GuiText GUI_HELP_TITLE
the title of the help frame


GUI_HELP_COMP_DESCR

public static final GuiText GUI_HELP_COMP_DESCR
the content of the component description


GUI_HELP_ISSUE_DESCR

public static final GuiText GUI_HELP_ISSUE_DESCR
the content of the issue tracking system description


GUI_HELP_DEV_DESCR

public static final GuiText GUI_HELP_DEV_DESCR
the content of the development description

Method Detail

values

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

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

valueOf

public static GuiText valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

@NotNull
public String toString()
Overrides:
toString in class Enum<GuiText>

text

@NotNull
public String text()
String representation of this object

Returns:
the String that represents the object
Since:
Date: Feb 28, 2012

text

@NotNull
public String text(Object... s)
String representation of this object, but {x} will be replaced by argument number x starting to count from 0.

Parameters:
s - the replacements
Returns:
the String that represents the object with replaced placeholders
Since:
Date: Feb 28, 2012
See Also:
APropertiesProvider.replacePlaceholdersInString(String, Object...)


Copyright © 2012. All Rights Reserved.