Class IconizedLabel


  • public class IconizedLabel
    extends java.lang.Object
    Date: 10/15/2016
    Author:
    Yaron Yamin
    • Constructor Summary

      Constructors 
      Constructor Description
      IconizedLabel​(java.lang.String text, javax.swing.Icon icon, javax.swing.Icon darkIcon)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      javax.swing.Icon getDarkIcon()  
      javax.swing.Icon getIcon()  
      java.lang.String getText()  
      int hashCode()  
      void setText​(java.lang.String text)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IconizedLabel

        public IconizedLabel​(java.lang.String text,
                             javax.swing.Icon icon,
                             javax.swing.Icon darkIcon)
    • Method Detail

      • getText

        public java.lang.String getText()
      • getIcon

        public javax.swing.Icon getIcon()
      • setText

        public void setText​(java.lang.String text)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getDarkIcon

        public javax.swing.Icon getDarkIcon()