Package jisa.enums
Enum Icon
- java.lang.Object
-
- java.lang.Enum<Icon>
-
- jisa.enums.Icon
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.image.Image
getBlackImage()
javafx.scene.image.Image
getColouredImage(javafx.scene.paint.Color colour)
java.net.URL
getURL()
javafx.scene.image.Image
getWhiteImage()
static Icon
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Icon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLASK
public static final Icon FLASK
-
CLOCK
public static final Icon CLOCK
-
REPEAT
public static final Icon REPEAT
-
DEVICE
public static final Icon DEVICE
-
DASHBOARD
public static final Icon DASHBOARD
-
PLOT
public static final Icon PLOT
-
DATA
public static final Icon DATA
-
VOLTMETER
public static final Icon VOLTMETER
-
THERMOMETER
public static final Icon THERMOMETER
-
SNOWFLAKE
public static final Icon SNOWFLAKE
-
LIGHTBULB
public static final Icon LIGHTBULB
-
WIFI
public static final Icon WIFI
-
CONNECTION
public static final Icon CONNECTION
-
MAGNET
public static final Icon MAGNET
-
WAVE
public static final Icon WAVE
-
COGS
public static final Icon COGS
-
DIODE
public static final Icon DIODE
-
TRANSISTOR
public static final Icon TRANSISTOR
-
RHEOSTAT
public static final Icon RHEOSTAT
-
LED
public static final Icon LED
-
RESISTOR
public static final Icon RESISTOR
-
HALL
public static final Icon HALL
-
ELECTRICITY
public static final Icon ELECTRICITY
-
CIRCLES
public static final Icon CIRCLES
-
-
Method Detail
-
values
public static Icon[] 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 (Icon c : Icon.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Icon 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 namejava.lang.NullPointerException
- if the argument is null
-
getURL
public java.net.URL getURL()
-
getWhiteImage
public javafx.scene.image.Image getWhiteImage()
-
getBlackImage
public javafx.scene.image.Image getBlackImage()
-
getColouredImage
public javafx.scene.image.Image getColouredImage(javafx.scene.paint.Color colour)
-
-