Enum Class TextUse
- All Implemented Interfaces:
Serializable, Comparable<TextUse>, Constable
@ClassVersion(sourceVersion="$Id: TextUse.java 1123 2024-03-19 10:06:45Z tquadrat $")
@API(status=STABLE,
since="0.1.0")
public enum TextUse
extends Enum<TextUse>
The uses for a text. It is used to compose the resource bundle key for
text.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: TextUse.java 1123 2024-03-19 10:06:45Z tquadrat $
- Since:
- 0.1.0
- See Also:
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.i18n.TextUse"
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe text for a button.A caption for a GUI form.The localised name of a file.The localised name of a folder/directory.A column header or alike.A help text.A localised link or part of a link.The name of a menu entry.The localised name of a property.A prompt text.A section header or alike.The String representation for anenumvalue.The default; should not be used.A title text (a window title, or a program title, or alike).A tooltip text.A general purpose text.The text is a usage message for an argument or an option on the command line. -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
BUTTON
-
CAPTION
-
FILE
-
FOLDER
-
HELP
-
HEADER
-
LINK
-
NAME
-
MENU
-
MESSAGE
-
PROMPT
-
SECTION
-
STRING
-
TITLE
-
TOOLTIP
-
TXT
-
USAGE
-
TEXTUSE_DEFAULT
The default; should not be used.
-
-
Constructor Details
-
TextUse
private TextUse()
-
-
Method Details
-
values
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
