Package org.fife.rsta.ac.java
Class IconFactory
java.lang.Object
org.fife.rsta.ac.java.IconFactory
Holds icons used by Java auto-completion.
- Version:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInformation about an icon. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate static final IconFactorystatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IconFactoryget()Returns the singleton instance of this class.Returns a known icon.Returns a known icon, possibly marked as deprecated.getIcon(IconFactory.IconData data) Creates and returns an icon based on the properties provided.private Icon
-
Field Details
-
SOURCE_FILE_ICON
- See Also:
-
PACKAGE_ICON
- See Also:
-
IMPORT_ROOT_ICON
- See Also:
-
IMPORT_ICON
- See Also:
-
DEFAULT_CLASS_ICON
- See Also:
-
DEFAULT_INTERFACE_ICON
- See Also:
-
CLASS_ICON
- See Also:
-
ENUM_ICON
- See Also:
-
ENUM_PROTECTED_ICON
- See Also:
-
ENUM_PRIVATE_ICON
- See Also:
-
ENUM_DEFAULT_ICON
- See Also:
-
INNER_CLASS_PUBLIC_ICON
- See Also:
-
INNER_CLASS_PROTECTED_ICON
- See Also:
-
INNER_CLASS_PRIVATE_ICON
- See Also:
-
INNER_CLASS_DEFAULT_ICON
- See Also:
-
INTERFACE_ICON
- See Also:
-
JAVADOC_ITEM_ICON
- See Also:
-
LOCAL_VARIABLE_ICON
- See Also:
-
METHOD_PUBLIC_ICON
- See Also:
-
METHOD_PROTECTED_ICON
- See Also:
-
METHOD_PRIVATE_ICON
- See Also:
-
METHOD_DEFAULT_ICON
- See Also:
-
TEMPLATE_ICON
- See Also:
-
FIELD_PUBLIC_ICON
- See Also:
-
FIELD_PROTECTED_ICON
- See Also:
-
FIELD_PRIVATE_ICON
- See Also:
-
FIELD_DEFAULT_ICON
- See Also:
-
CONSTRUCTOR_ICON
- See Also:
-
DEPRECATED_ICON
- See Also:
-
ABSTRACT_ICON
- See Also:
-
FINAL_ICON
- See Also:
-
STATIC_ICON
- See Also:
-
iconMap
-
INSTANCE
-
-
Constructor Details
-
IconFactory
private IconFactory()
-
-
Method Details
-
get
Returns the singleton instance of this class.- Returns:
- The singleton instance.
-
getIcon
Returns a known icon.- Parameters:
key- The icon to retrieve.- Returns:
- The icon.
- See Also:
-
getIcon
Returns a known icon, possibly marked as deprecated.- Parameters:
key- The icon to retrieve.deprecated- Whether to render it as deprecated.- Returns:
- The icon.
- See Also:
-
getIcon
Creates and returns an icon based on the properties provided.- Parameters:
data- Properties about the icon to create.- Returns:
- The icon.
- See Also:
-
loadIcon
-