Package tech.tablesaw.plotly.components
Enum Font.Family
- All Implemented Interfaces:
Serializable,Comparable<Font.Family>,java.lang.constant.Constable
- Enclosing class:
- Font
HTML font family - the typeface that will be applied by the web browser. The web browser will
only be able to apply a font if it is available on the system which it operates. Provide
multiple font families, separated by commas, to indicate the preference in which to apply fonts
if they aren't available on the system. The plotly service (at https://plot.ly or on-premise)
generates images on a server, where only a select number of fonts are installed and supported.
These include "Arial", "Balto", "Courier New", "Droid Sans",, "Droid Serif", "Droid Sans Mono",
"Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times
New Roman".
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiontoString()static Font.FamilyReturns the enum constant of this type with the specified name.static Font.Family[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPEN_SANS
-
VERDANA
-
ARIAL
-
SANS_SERIF
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<Font.Family>
-