Class SimpleLabel

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.event.EventListenerList _changeListeners  
      private javax.swing.Icon _icon  
      private java.lang.String _strText  
      • Fields inherited from interface editor.util.ILabel

        OPEN
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleLabel​(java.lang.String strText, javax.swing.Icon icon)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addChangeListener​(javax.swing.event.ChangeListener l)  
      private void fireChanged()  
      java.lang.String getDisplayName()
      A human readable name, typically displayed as a caption.
      javax.swing.Icon getIcon​(int iTypeFlags)
      Supplies an icon for this label
      private void innerSetDisplayName​(java.lang.String strText)  
      void removeChangeListener​(javax.swing.event.ChangeListener l)  
      void setDisplayName​(java.lang.String strName)  
      void setIcon​(javax.swing.Icon icon, int iTypeFlags)  
      • Methods inherited from class java.lang.Object

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

      • _strText

        private java.lang.String _strText
      • _icon

        private javax.swing.Icon _icon
      • _changeListeners

        private javax.swing.event.EventListenerList _changeListeners
    • Constructor Detail

      • SimpleLabel

        public SimpleLabel​(java.lang.String strText,
                           javax.swing.Icon icon)
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Description copied from interface: ILabel
        A human readable name, typically displayed as a caption.
        Specified by:
        getDisplayName in interface ILabel
      • innerSetDisplayName

        private void innerSetDisplayName​(java.lang.String strText)
      • getIcon

        public javax.swing.Icon getIcon​(int iTypeFlags)
        Description copied from interface: ILabel
        Supplies an icon for this label
        Specified by:
        getIcon in interface ILabel
        Parameters:
        iTypeFlags - one flag specifying the requested icon's type
        Returns:
        an icon for this label
        See Also:
        BeanInfo.ICON_COLOR_16x16, BeanInfo.ICON_MONO_16x16, BeanInfo.ICON_COLOR_32x32, BeanInfo.ICON_MONO_32x32, ILabel.OPEN
      • setIcon

        public void setIcon​(javax.swing.Icon icon,
                            int iTypeFlags)
        Specified by:
        setIcon in interface IEditableLabel
      • fireChanged

        private void fireChanged()