public class Resources
extends java.lang.Object
getInstance()
to get an instance of the resource manager. After that you can access the resource data directly
by using the specific resource like SUCCEEDED_ICON
, LANGUAGE_FILE
, and so on.Modifier and Type | Field and Description |
---|---|
javax.swing.ImageIcon |
ANNOTATION_ICON
the annotation icon or
null if the resource could not be loaded |
java.lang.String |
ANNOTATION_ICON_PATH
path to the annotation icon
|
javax.swing.ImageIcon |
BIPARTITE_GRAPH_ICON
the bipartite graph icon or
null if the resource could not be loaded |
java.lang.String |
BIPARTITE_GRAPH_ICON_PATH
path to the bipartite graph in icon
|
javax.swing.ImageIcon |
BIPARTITE_LAYOUT_ICON
the partition layout icon or
null if the resource could not be loaded |
java.lang.String |
BIPARTITE_LAYOUT_ICON_PATH
path to the partition layout icon
|
javax.swing.ImageIcon |
BREAKPOINT_ACTIVE_ICON
the active breakpoint icon or
null if the resource could not be loaded |
java.lang.String |
BREAKPOINT_ACTIVE_ICON_PATH
path to the active breakpoint icon
|
javax.swing.ImageIcon |
BREAKPOINT_ICON
the breakpoint icon or
null if the resource could not be loaded |
java.lang.String |
BREAKPOINT_ICON_PATH
path to the breakpoint icon
|
javax.swing.ImageIcon |
CIRCLE_LAYOUT_ICON
the circle layout icon or
null if the resource could not be loaded |
java.lang.String |
CIRCLE_LAYOUT_ICON_PATH
path to the circle layout icon
|
javax.swing.ImageIcon |
CLOSE_HOVER_ICON
the close hover icon or
null if the resource could not be loaded |
java.lang.String |
CLOSE_HOVER_ICON_PATH
path to the close hover icon
|
javax.swing.ImageIcon |
CLOSE_ICON
the close icon or
null if the resource could not be loaded |
java.lang.String |
CLOSE_ICON_PATH
path to the close icon
|
javax.swing.ImageIcon |
COLLAPSE_ICON
the collapse icon or
null if the resource could not be loaded |
java.lang.String |
COLLAPSE_ICON_PATH
path to the collapse icon
|
javax.swing.ImageIcon |
COMPLETE_BIPARTITE_GRAPH_ICON
the complete bipartite graph icon or
null if the resource could not be loaded |
java.lang.String |
COMPLETE_BIPARTITE_GRAPH_ICON_PATH
path to the create complete bipartite graph icon
|
javax.swing.ImageIcon |
COMPLETE_GRAPH_ICON
the complete graph icon or
null if the resource could not be loaded |
java.lang.String |
COMPLETE_GRAPH_ICON_PATH
path to the complete graph in icon
|
javax.swing.ImageIcon |
CREATE_COMPLETE_BIPARTITE_GRAPH_ICON
the create complete bipartite graph icon or
null if the resource could not be loaded |
java.lang.String |
CREATE_COMPLETE_BIPARTITE_GRAPH_ICON_PATH
path to the create complete bipartite graph icon
|
javax.swing.ImageIcon |
CREATE_COMPLETE_GRAPH_ICON
the create complete graph icon or
null if the resource could not be loaded |
java.lang.String |
CREATE_COMPLETE_GRAPH_ICON_PATH
path to the complete graph in icon
|
javax.swing.ImageIcon |
DELETE_ICON
the delete icon or
null if the resource could not be loaded |
java.lang.String |
DELETE_ICON_PATH
path to the delete icon
|
javax.swing.ImageIcon |
DROPDOWN_ARROW_ICON
the drop down arrow icon or
null if the resource could not be loaded |
java.lang.String |
DROPDOWN_ARROW_ICON_PATH
path to the dropdown arrow icon
|
javax.swing.ImageIcon |
EDGE_ADD_ICON
the edge add icon or
null if the resource could not be loaded |
java.lang.String |
EDGE_ADD_ICON_PATH
path to the edge icon
|
java.awt.Image |
EMPTY_IMAGE
an empty image
|
javax.swing.ImageIcon |
EXERCISE_GIVEUP_ICON
the exercise give up icon or
null if the resource could not be loaded |
java.lang.String |
EXERCISE_GIVEUP_ICON_PATH
path to the exercise give up icon
|
javax.swing.ImageIcon |
EXERCISE_INPUTHINT_ICON
the exercise input hint icon or
null if the resource could not be loaded |
java.lang.String |
EXERCISE_INPUTHINT_ICON_PATH
path to the exercise input hint icon
|
javax.swing.ImageIcon |
EXERCISE_MODE_ICON
the exercise mode icon or
null if the resource could not be loaded |
java.lang.String |
EXERCISE_MODE_ICON_PATH
path to the exercise mode icon
|
javax.swing.ImageIcon |
EXERCISE_SOLVE_ICON
the exercise solve icon or
null if the resource could not be loaded |
java.lang.String |
EXERCISE_SOLVE_ICON_PATH
path to the exercise solve icon
|
javax.swing.ImageIcon |
EXPAND_ICON
the expand icon or
null if the resource could not be loaded |
java.lang.String |
EXPAND_ICON_PATH
path to the expand icon
|
javax.swing.ImageIcon |
FAILED_HINT_ICON
the failed hint icon or
null if the resource could not be loaded |
java.lang.String |
FAILED_HINT_ICON_PATH
URL to the failed hint icon
|
javax.swing.ImageIcon |
FAILED_ICON
the failed icon or
null if the resource could not be loaded |
java.lang.String |
FAILED_ICON_PATH
URL to the failed icon
|
javax.swing.ImageIcon |
FASTER_ICON
the faster icon or
null if the resource could not be loaded |
java.lang.String |
FASTER_ICON_PATH
path to the faster icon
|
javax.swing.ImageIcon |
FONTSIZE_DOWN_ICON
the font size down icon or
null if the resource could not be loaded |
java.lang.String |
FONTSIZE_DOWN_ICON_PATH
path to the font size down icon
|
javax.swing.ImageIcon |
FONTSIZE_NORMAL_ICON
the normal font size icon or
null if the resource could not be loaded |
java.lang.String |
FONTSIZE_NORMAL_ICON_PATH
path to the normal font size icon
|
javax.swing.ImageIcon |
FONTSIZE_UP_ICON
the font size up icon or
null if the resource could not be loaded |
java.lang.String |
FONTSIZE_UP_ICON_PATH
path to the font size up icon
|
javax.swing.ImageIcon |
INSTRUCTIONS_ICON
the instructions icon or
null if the resource could not be loaded |
java.lang.String |
INSTRUCTIONS_ICON_PATH
path to the instructions icon
|
LanguageFile |
LANGUAGE_FILE
the language file or
null if the resource could not be loaded |
java.lang.String |
LANGUAGE_FILE_PATH
path to the language file
|
java.util.Properties |
LAVESDK_PROPERTIES
the properties file of the LAVESDK or
null if the resource could not be loaded |
java.lang.String |
LAVESDK_PROPERTIES_PATH
path to the properties file of the LAVESDK
|
javax.swing.ImageIcon |
MATRIX_TO_GRAPH_ICON
the matrix to graph icon or
null if the resource could not be loaded |
java.lang.String |
MATRIX_TO_GRAPH_ICON_PATH
path to the matrix to graph icon
|
javax.swing.ImageIcon |
MOUSECURSOR_ICON
the mouse cursor icon or
null if the resource could not be loaded |
java.lang.String |
MOUSECURSOR_ICON_PATH
path to the mouse cursor icon
|
javax.swing.ImageIcon |
NEW_ICON
the new algorithm icon or
null if the resource could not be loaded |
java.lang.String |
NEW_ICON_PATH
path to the new algorithm icon
|
javax.swing.ImageIcon |
NEXTSTEP_ICON
the next step icon or
null if the resource could not be loaded |
java.lang.String |
NEXTSTEP_ICON_PATH
path to the next step icon
|
javax.swing.ImageIcon |
OPEN_ICON
the open icon or
null if the resource could not be loaded |
java.lang.String |
OPEN_ICON_PATH
path to the open icon
|
javax.swing.ImageIcon |
PAUSE_BEFORE_STOP_ICON
the pause before stop icon or
null if the resource could not be loaded |
java.lang.String |
PAUSE_BEFORE_STOP_ICON_PATH
path to the pause before stop icon
|
javax.swing.ImageIcon |
PAUSE_ICON
the pause icon or
null if the resource could not be loaded |
java.lang.String |
PAUSE_ICON_PATH
path to the pause icon
|
javax.swing.ImageIcon |
PLAY_PAUSE_ICON
the play pause icon or
null if the resource could not be loaded |
java.lang.String |
PLAY_PAUSE_ICON_PATH
path to the play pause icon
|
javax.swing.ImageIcon |
PREVSTEP_ICON
the previous step icon or
null if the resource could not be loaded |
java.lang.String |
PREVSTEP_ICON_PATH
path to the previous step icon
|
javax.swing.ImageIcon |
PROPERTIES_ICON
the properties icon or
null if the resource could not be loaded |
java.lang.String |
PROPERTIES_ICON_PATH
path to the properties icon
|
javax.swing.ImageIcon |
QUESTION_ICON
the question icon or
null if the resource could not be loaded |
java.lang.String |
QUESTION_ICON_PATH
path to the question icon
|
javax.swing.ImageIcon |
RANDOM_GRAPH_ICON
the random graph icon or
null if the resource could not be loaded |
java.lang.String |
RANDOM_GRAPH_ICON_PATH
path to the random graph icon
|
javax.swing.ImageIcon |
REFRESH_ICON
the refresh icon or
null if the resource could not be loaded |
java.lang.String |
REFRESH_ICON_PATH
path to the refresh icon
|
javax.swing.ImageIcon |
RESET_EXECSPEED_ICON
the reset execution speed factor icon or
null if the resource could not be loaded |
java.lang.String |
RESET_EXECSPEED_ICON_PATH
path to the reset execution speed factor icon
|
javax.swing.ImageIcon |
SAVE_ICON
the save icon or
null if the resource could not be loaded |
java.lang.String |
SAVE_ICON_PATH
path to the save icon
|
javax.swing.ImageIcon |
SKIP_BREAKPOINTS_ICON
the skip breakpoints icon or
null if the resource could not be loaded |
java.lang.String |
SKIP_BREAKPOINTS_ICON_PATH
path to the skip breakpoints icon
|
javax.swing.ImageIcon |
SLOWER_ICON
the slower icon or
null if the resource could not be loaded |
java.lang.String |
SLOWER_ICON_PATH
path to the slower icon
|
javax.swing.ImageIcon |
SORT_DOWN_ICON
the sort down icon or
null if the resource could not be loaded |
java.lang.String |
SORT_DOWN_ICON_PATH
path to the sort down icon
|
javax.swing.ImageIcon |
SORT_UP_ICON
the sort up icon or
null if the resource could not be loaded |
java.lang.String |
SORT_UP_ICON_PATH
path to the sort up icon
|
javax.swing.ImageIcon |
START_FINISH_ICON
the start finish icon or
null if the resource could not be loaded |
java.lang.String |
START_FINISH_ICON_PATH
path to the start finish icon
|
javax.swing.ImageIcon |
START_ICON
the start icon or
null if the resource could not be loaded |
java.lang.String |
START_ICON_PATH
path to the start icon
|
javax.swing.ImageIcon |
STOP_ICON
the stop icon or
null if the resource could not be loaded |
java.lang.String |
STOP_ICON_PATH
path to the stop icon
|
javax.swing.ImageIcon |
SUCCEEDED_ICON
the succeeded icon or
null if the resource could not be loaded |
java.lang.String |
SUCCEEDED_ICON_PATH
URL to the succeeded icon
|
javax.swing.ImageIcon |
SUFFICIENT_ICON
the sufficient icon or
null if the resource could not be loaded |
java.lang.String |
SUFFICIENT_ICON_PATH
URL to the sufficient icon
|
javax.swing.ImageIcon |
VERTEX_ADD_ICON
the vertex add icon or
null if the resource could not be loaded |
java.lang.String |
VERTEX_ADD_ICON_PATH
path to the vertex add icon
|
javax.swing.ImageIcon |
ZOOM_IN_ICON
the zoom in icon or
null if the resource could not be loaded |
java.lang.String |
ZOOM_IN_ICON_PATH
path to the zoom in icon
|
javax.swing.ImageIcon |
ZOOM_OUT_ICON
the zoom out icon or
null if the resource could not be loaded |
java.lang.String |
ZOOM_OUT_ICON_PATH
path to the zoom out icon
|
Modifier and Type | Method and Description |
---|---|
static Resources |
getInstance()
Gets the instance of the resource manager.
|
java.io.InputStream |
getStream(java.lang.String path)
Gets the resource stream of a given resource path.
|
java.net.URL |
getURL(java.lang.String path)
Gets the resource url of a given resource path.
|
public final java.lang.String SUCCEEDED_ICON_PATH
public final java.lang.String FAILED_ICON_PATH
public final java.lang.String FAILED_HINT_ICON_PATH
public final java.lang.String SUFFICIENT_ICON_PATH
public final java.lang.String CLOSE_ICON_PATH
public final java.lang.String CLOSE_HOVER_ICON_PATH
public final java.lang.String VERTEX_ADD_ICON_PATH
public final java.lang.String EDGE_ADD_ICON_PATH
public final java.lang.String DELETE_ICON_PATH
public final java.lang.String MOUSECURSOR_ICON_PATH
public final java.lang.String ZOOM_IN_ICON_PATH
public final java.lang.String ZOOM_OUT_ICON_PATH
public final java.lang.String PROPERTIES_ICON_PATH
public final java.lang.String BIPARTITE_GRAPH_ICON_PATH
public final java.lang.String COMPLETE_GRAPH_ICON_PATH
public final java.lang.String CREATE_COMPLETE_GRAPH_ICON_PATH
public final java.lang.String COMPLETE_BIPARTITE_GRAPH_ICON_PATH
public final java.lang.String CREATE_COMPLETE_BIPARTITE_GRAPH_ICON_PATH
public final java.lang.String CIRCLE_LAYOUT_ICON_PATH
public final java.lang.String BIPARTITE_LAYOUT_ICON_PATH
public final java.lang.String MATRIX_TO_GRAPH_ICON_PATH
public final java.lang.String BREAKPOINT_ICON_PATH
public final java.lang.String BREAKPOINT_ACTIVE_ICON_PATH
public final java.lang.String SKIP_BREAKPOINTS_ICON_PATH
public final java.lang.String START_ICON_PATH
public final java.lang.String START_FINISH_ICON_PATH
public final java.lang.String PLAY_PAUSE_ICON_PATH
public final java.lang.String STOP_ICON_PATH
public final java.lang.String PAUSE_ICON_PATH
public final java.lang.String NEXTSTEP_ICON_PATH
public final java.lang.String PREVSTEP_ICON_PATH
public final java.lang.String NEW_ICON_PATH
public final java.lang.String SAVE_ICON_PATH
public final java.lang.String OPEN_ICON_PATH
public final java.lang.String SLOWER_ICON_PATH
public final java.lang.String FASTER_ICON_PATH
public final java.lang.String RESET_EXECSPEED_ICON_PATH
public final java.lang.String FONTSIZE_UP_ICON_PATH
public final java.lang.String FONTSIZE_DOWN_ICON_PATH
public final java.lang.String FONTSIZE_NORMAL_ICON_PATH
public final java.lang.String COLLAPSE_ICON_PATH
public final java.lang.String EXPAND_ICON_PATH
public final java.lang.String PAUSE_BEFORE_STOP_ICON_PATH
public final java.lang.String DROPDOWN_ARROW_ICON_PATH
public final java.lang.String EXERCISE_SOLVE_ICON_PATH
public final java.lang.String EXERCISE_GIVEUP_ICON_PATH
public final java.lang.String EXERCISE_INPUTHINT_ICON_PATH
public final java.lang.String EXERCISE_MODE_ICON_PATH
public final java.lang.String QUESTION_ICON_PATH
public final java.lang.String REFRESH_ICON_PATH
public final java.lang.String INSTRUCTIONS_ICON_PATH
public final java.lang.String SORT_UP_ICON_PATH
public final java.lang.String SORT_DOWN_ICON_PATH
public final java.lang.String ANNOTATION_ICON_PATH
public final java.lang.String RANDOM_GRAPH_ICON_PATH
public final java.lang.String LANGUAGE_FILE_PATH
public final java.lang.String LAVESDK_PROPERTIES_PATH
public final javax.swing.ImageIcon SUCCEEDED_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon FAILED_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon FAILED_HINT_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon SUFFICIENT_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon CLOSE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon CLOSE_HOVER_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon VERTEX_ADD_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon EDGE_ADD_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon DELETE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon MOUSECURSOR_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon ZOOM_IN_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon ZOOM_OUT_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon PROPERTIES_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon BIPARTITE_GRAPH_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon COMPLETE_GRAPH_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon CREATE_COMPLETE_GRAPH_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon COMPLETE_BIPARTITE_GRAPH_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon CREATE_COMPLETE_BIPARTITE_GRAPH_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon CIRCLE_LAYOUT_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon BIPARTITE_LAYOUT_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon MATRIX_TO_GRAPH_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon BREAKPOINT_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon BREAKPOINT_ACTIVE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon SKIP_BREAKPOINTS_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon START_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon START_FINISH_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon PLAY_PAUSE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon STOP_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon PAUSE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon NEXTSTEP_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon PREVSTEP_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon NEW_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon SAVE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon OPEN_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon SLOWER_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon FASTER_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon RESET_EXECSPEED_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon FONTSIZE_UP_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon FONTSIZE_DOWN_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon FONTSIZE_NORMAL_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon COLLAPSE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon EXPAND_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon PAUSE_BEFORE_STOP_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon DROPDOWN_ARROW_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon EXERCISE_SOLVE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon EXERCISE_GIVEUP_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon EXERCISE_INPUTHINT_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon EXERCISE_MODE_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon QUESTION_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon REFRESH_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon INSTRUCTIONS_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon SORT_UP_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon SORT_DOWN_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon ANNOTATION_ICON
null
if the resource could not be loadedpublic final javax.swing.ImageIcon RANDOM_GRAPH_ICON
null
if the resource could not be loadedpublic final java.awt.Image EMPTY_IMAGE
public final LanguageFile LANGUAGE_FILE
null
if the resource could not be loadedpublic final java.util.Properties LAVESDK_PROPERTIES
null
if the resource could not be loadedpublic static Resources getInstance()
public java.net.URL getURL(java.lang.String path)
path
- the path like SUCCEEDED_ICON_PATH
, LANGUAGE_FILE_PATH
, ...public java.io.InputStream getStream(java.lang.String path)
path
- the path like SUCCEEDED_ICON_PATH
, LANGUAGE_FILE_PATH
, ...