Package resources
Class Icons
- java.lang.Object
-
- resources.Icons
-
public class Icons extends java.lang.Object
A class to get generic icons for standard actions. All methods in this class return an icon that is 16x16 unless the method name ends in another size.'
-
-
Field Summary
Fields Modifier and Type Field Description static javax.swing.ImageIcon
ADD_ICON
static javax.swing.ImageIcon
COLLAPSE_ALL_ICON
static javax.swing.ImageIcon
CONFIGURE_FILTER_ICON
static javax.swing.ImageIcon
DELETE_ICON
static javax.swing.ImageIcon
ERROR_ICON
static javax.swing.ImageIcon
EXPAND_ALL_ICON
static javax.swing.ImageIcon
LEFT_ALTERNATE_ICON
An version of the LEFT_ICON with a different colorstatic javax.swing.ImageIcon
LEFT_ICON
static javax.swing.ImageIcon
NAVIGATE_ON_INCOMING_EVENT_ICON
static javax.swing.ImageIcon
NAVIGATE_ON_OUTGOING_EVENT_ICON
static javax.swing.ImageIcon
NOT_ALLOWED_ICON
static javax.swing.ImageIcon
OPEN_FOLDER_ICON
static javax.swing.ImageIcon
REFRESH_ICON
static javax.swing.ImageIcon
RIGHT_ALTERNATE_ICON
An version of the RIGHT_ICON with a different colorstatic javax.swing.ImageIcon
RIGHT_ICON
static javax.swing.ImageIcon
SORT_ASCENDING_ICON
static javax.swing.ImageIcon
SORT_DESCENDING_ICON
static javax.swing.ImageIcon
STOP_ICON
static javax.swing.ImageIcon
STRONG_WARNING_ICON
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URL
getUrlForIconsReference(java.lang.String snippet)
Returns a URL for the given code snippet if it is a field reference on this classstatic boolean
isIconsReference(java.lang.String snippet)
Returns true if the given string is a Java code snippet that references this class
-
-
-
Field Detail
-
ADD_ICON
public static final javax.swing.ImageIcon ADD_ICON
-
COLLAPSE_ALL_ICON
public static final javax.swing.ImageIcon COLLAPSE_ALL_ICON
-
EXPAND_ALL_ICON
public static final javax.swing.ImageIcon EXPAND_ALL_ICON
-
CONFIGURE_FILTER_ICON
public static final javax.swing.ImageIcon CONFIGURE_FILTER_ICON
-
DELETE_ICON
public static final javax.swing.ImageIcon DELETE_ICON
-
ERROR_ICON
public static final javax.swing.ImageIcon ERROR_ICON
-
NAVIGATE_ON_INCOMING_EVENT_ICON
public static final javax.swing.ImageIcon NAVIGATE_ON_INCOMING_EVENT_ICON
-
NAVIGATE_ON_OUTGOING_EVENT_ICON
public static final javax.swing.ImageIcon NAVIGATE_ON_OUTGOING_EVENT_ICON
-
NOT_ALLOWED_ICON
public static final javax.swing.ImageIcon NOT_ALLOWED_ICON
-
OPEN_FOLDER_ICON
public static final javax.swing.ImageIcon OPEN_FOLDER_ICON
-
REFRESH_ICON
public static final javax.swing.ImageIcon REFRESH_ICON
-
SORT_ASCENDING_ICON
public static final javax.swing.ImageIcon SORT_ASCENDING_ICON
-
SORT_DESCENDING_ICON
public static final javax.swing.ImageIcon SORT_DESCENDING_ICON
-
STOP_ICON
public static final javax.swing.ImageIcon STOP_ICON
-
STRONG_WARNING_ICON
public static final javax.swing.ImageIcon STRONG_WARNING_ICON
-
LEFT_ICON
public static final javax.swing.ImageIcon LEFT_ICON
-
RIGHT_ICON
public static final javax.swing.ImageIcon RIGHT_ICON
-
LEFT_ALTERNATE_ICON
public static final javax.swing.ImageIcon LEFT_ALTERNATE_ICON
An version of the LEFT_ICON with a different color
-
RIGHT_ALTERNATE_ICON
public static final javax.swing.ImageIcon RIGHT_ALTERNATE_ICON
An version of the RIGHT_ICON with a different color
-
-
Method Detail
-
isIconsReference
public static boolean isIconsReference(java.lang.String snippet)
Returns true if the given string is a Java code snippet that references this class- Parameters:
snippet
- the string to check- Returns:
- true if the given string is a Java code snippet that references this class
-
getUrlForIconsReference
public static java.net.URL getUrlForIconsReference(java.lang.String snippet)
Returns a URL for the given code snippet if it is a field reference on this class- Parameters:
snippet
- the snippet of Java code that references a field of this class- Returns:
- the URL; null if the snippet does not refer to a field of this class
-
-