Enum FontWeight
- java.lang.Object
- 
- java.lang.Enum<FontWeight>
- 
- com.inductiveautomation.perspective.designer.styles.attributes.FontWeight
 
 
- 
- All Implemented Interfaces:
- AlternateName,- java.io.Serializable,- java.lang.Comparable<FontWeight>
 
 public enum FontWeight extends java.lang.Enum<FontWeight> implements AlternateName 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlternateName()static FontWeightvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FontWeight[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
normalpublic static final FontWeight normal 
 - 
boldpublic static final FontWeight bold 
 - 
lighterpublic static final FontWeight lighter 
 - 
bolderpublic static final FontWeight bolder 
 - 
weight100public static final FontWeight weight100 
 - 
weight200public static final FontWeight weight200 
 - 
weight300public static final FontWeight weight300 
 - 
weight400public static final FontWeight weight400 
 - 
weight500public static final FontWeight weight500 
 - 
weight600public static final FontWeight weight600 
 - 
weight700public static final FontWeight weight700 
 - 
weight800public static final FontWeight weight800 
 - 
weight900public static final FontWeight weight900 
 
- 
 - 
Method Detail- 
valuespublic static FontWeight[] 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 (FontWeight c : FontWeight.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static FontWeight 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
 
 - 
getAlternateNamepublic java.lang.String getAlternateName() - Specified by:
- getAlternateNamein interface- AlternateName
 
 
- 
 
-