Interface IconFactory.IconData

All Known Subinterfaces:
MemberCompletion.Data
All Known Implementing Classes:
FieldData, FieldInfoData, MethodData, MethodInfoData
Enclosing class:
IconFactory

public static interface IconFactory.IconData
Information about an icon.
Version:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the main icon to use when rendering this member's completion.
    boolean
    Returns whether this icon represents an abstract class/method/etc.
    boolean
    Returns whether this icon represents a deprecated class/method/etc.
    boolean
    Returns whether this icon represents a final class/method/etc.
    boolean
    Returns whether this icon represents a static class/method/etc.
  • Method Details

    • getIcon

      String getIcon()
      Returns the main icon to use when rendering this member's completion. This icon will be decorated appropriately based on whether it is abstract, deprecated, final, static, or any of the above.
      Returns:
      The icon to use.
    • isAbstract

      boolean isAbstract()
      Returns whether this icon represents an abstract class/method/etc.
      Returns:
      Whether it represents something abstract.
    • isDeprecated

      boolean isDeprecated()
      Returns whether this icon represents a deprecated class/method/etc.
      Returns:
      Whether it represents something deprecated.
    • isFinal

      boolean isFinal()
      Returns whether this icon represents a final class/method/etc.
      Returns:
      Whether it represents something final.
    • isStatic

      boolean isStatic()
      Returns whether this icon represents a static class/method/etc.
      Returns:
      Whether it represents something static.