Class YGuardLogParser.Icons

  • All Implemented Interfaces:
    javax.swing.Icon
    Enclosing class:
    YGuardLogParser

    public static final class YGuardLogParser.Icons
    extends java.lang.Object
    implements javax.swing.Icon
    The type Icons.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static javax.swing.Icon CLASS_ICON
      The constant CLASS_ICON.
      protected java.awt.Color color
      The Color.
      static javax.swing.Icon FIELD_ICON
      The constant FIELD_ICON.
      protected java.lang.String label
      The Label.
      static javax.swing.Icon METHOD_ICON
      The constant METHOD_ICON.
      static javax.swing.Icon PACKAGE_ICON
      The constant PACKAGE_ICON.
    • Constructor Summary

      Constructors 
      Constructor Description
      Icons​(java.awt.Color color, java.lang.String label)
      Instantiates a new Icons.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIconHeight()  
      int getIconWidth()  
      void paintIcon​(java.awt.Component c, java.awt.Graphics g, int x, int y)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CLASS_ICON

        public static final javax.swing.Icon CLASS_ICON
        The constant CLASS_ICON.
      • METHOD_ICON

        public static final javax.swing.Icon METHOD_ICON
        The constant METHOD_ICON.
      • PACKAGE_ICON

        public static final javax.swing.Icon PACKAGE_ICON
        The constant PACKAGE_ICON.
      • FIELD_ICON

        public static final javax.swing.Icon FIELD_ICON
        The constant FIELD_ICON.
      • color

        protected java.awt.Color color
        The Color.
      • label

        protected java.lang.String label
        The Label.
    • Constructor Detail

      • Icons

        public Icons​(java.awt.Color color,
                     java.lang.String label)
        Instantiates a new Icons.
        Parameters:
        color - the color
        label - the label
    • Method Detail

      • paintIcon

        public void paintIcon​(java.awt.Component c,
                              java.awt.Graphics g,
                              int x,
                              int y)
        Specified by:
        paintIcon in interface javax.swing.Icon
      • getIconWidth

        public int getIconWidth()
        Specified by:
        getIconWidth in interface javax.swing.Icon
      • getIconHeight

        public int getIconHeight()
        Specified by:
        getIconHeight in interface javax.swing.Icon