Package org.opt4j.config
Class Icons
- java.lang.Object
-
- org.opt4j.config.Icons
-
public class Icons extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADD
An add bullet.static String
APPLICATION
The icon for the application.static String
ARCHIVE
The icon for the archive.static String
CONSOLE
A console.static String
CONTROL_PAUSE
The icon for the control pause.static String
CONTROL_START
The icon for the control start.static String
CONTROL_STOP
The icon for the control stop.static String
CONTROL_TERM
The icon for the control term.static String
CONVERGENCE
The icon for the convergence plot.static String
DELETE
A delete bullet.static String
DISK
A disk.static String
FOLDER
The icon for the control term.static String
FOLDER_ADD
The icon for the control term.static String
HELP
The icon for the tutorial.static String
LOADING
A delete bullet.static String
OPERATOR
The icon for the operator.static String
OPT4J
The Opt4J logo.static String
OPTIMIZER
The icon for the optimizer.static String
PARETO
The icon for the pareto contentPanel.static String
PLAY
The icon for the play button.static String
POPULATION
The icon for the population.static String
PROBLEM
The icon for the problem.static String
PUZZLE_BLUE
The icon for the blue puzzle.static String
PUZZLE_GREEN
The icon for the green puzzle.static String
SELECTOR
The icon for the selector.static String
SFOLDER
The icon for the control term.static String
TEXT
A text sheet.static String
XML
The icon for the xml.static String
XMLTAG
The icon for the xml.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImageIcon
getDefault()
Returns a transparent 16x16pxImageIcon
.static ImageIcon
getIcon(String filename)
Returns anImageIcon
from a filename.static URL
getURL(String filename)
Returns theURL
of a file.static ImageIcon
merge(ImageIcon... icons)
-
-
-
Field Detail
-
XMLTAG
public static final String XMLTAG
The icon for the xml.- See Also:
- Constant Field Values
-
XML
public static final String XML
The icon for the xml.- See Also:
- Constant Field Values
-
OPTIMIZER
public static final String OPTIMIZER
The icon for the optimizer.- See Also:
- Constant Field Values
-
PROBLEM
public static final String PROBLEM
The icon for the problem.- See Also:
- Constant Field Values
-
ARCHIVE
public static final String ARCHIVE
The icon for the archive.- See Also:
- Constant Field Values
-
POPULATION
public static final String POPULATION
The icon for the population.- See Also:
- Constant Field Values
-
PARETO
public static final String PARETO
The icon for the pareto contentPanel.- See Also:
- Constant Field Values
-
CONVERGENCE
public static final String CONVERGENCE
The icon for the convergence plot.- See Also:
- Constant Field Values
-
PLAY
public static final String PLAY
The icon for the play button.- See Also:
- Constant Field Values
-
OPERATOR
public static final String OPERATOR
The icon for the operator.- See Also:
- Constant Field Values
-
APPLICATION
public static final String APPLICATION
The icon for the application.- See Also:
- Constant Field Values
-
PUZZLE_GREEN
public static final String PUZZLE_GREEN
The icon for the green puzzle.- See Also:
- Constant Field Values
-
PUZZLE_BLUE
public static final String PUZZLE_BLUE
The icon for the blue puzzle.- See Also:
- Constant Field Values
-
SELECTOR
public static final String SELECTOR
The icon for the selector.- See Also:
- Constant Field Values
-
HELP
public static final String HELP
The icon for the tutorial.- See Also:
- Constant Field Values
-
CONTROL_START
public static final String CONTROL_START
The icon for the control start.- See Also:
- Constant Field Values
-
CONTROL_STOP
public static final String CONTROL_STOP
The icon for the control stop.- See Also:
- Constant Field Values
-
CONTROL_PAUSE
public static final String CONTROL_PAUSE
The icon for the control pause.- See Also:
- Constant Field Values
-
CONTROL_TERM
public static final String CONTROL_TERM
The icon for the control term.- See Also:
- Constant Field Values
-
FOLDER
public static final String FOLDER
The icon for the control term.- See Also:
- Constant Field Values
-
FOLDER_ADD
public static final String FOLDER_ADD
The icon for the control term.- See Also:
- Constant Field Values
-
SFOLDER
public static final String SFOLDER
The icon for the control term.- See Also:
- Constant Field Values
-
DISK
public static final String DISK
A disk.- See Also:
- Constant Field Values
-
CONSOLE
public static final String CONSOLE
A console.- See Also:
- Constant Field Values
-
OPT4J
public static final String OPT4J
The Opt4J logo.- See Also:
- Constant Field Values
-
ADD
public static final String ADD
An add bullet.- See Also:
- Constant Field Values
-
DELETE
public static final String DELETE
A delete bullet.- See Also:
- Constant Field Values
-
LOADING
public static final String LOADING
A delete bullet.- See Also:
- Constant Field Values
-
TEXT
public static final String TEXT
A text sheet.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Icons
public Icons()
ConstructsIcons
.
-
-
Method Detail
-
getURL
public static URL getURL(String filename)
Returns theURL
of a file.- Parameters:
filename
- the filename- Returns:
- the url
-
getIcon
public static ImageIcon getIcon(String filename)
Returns anImageIcon
from a filename.- Parameters:
filename
- the filename- Returns:
- the corresponding image icon
-
getDefault
public static ImageIcon getDefault()
Returns a transparent 16x16pxImageIcon
.- Returns:
- a transparent 16x16px
ImageIcon
-
-