Class LabelProperties

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

    @Deprecated
    public class LabelProperties
    extends JLabel
    Deprecated.
    (pre-1.6.2) no replacement
    Class used to store label properties in a single object so that they may be applied as a set on renderers.

    NOTE JW: no longer used except in ColumnHeaderRenderer which is EOL (will be removed once we switch over to jdk16). So probably will be removed as well.

    Version:
    1.0
    Author:
    Amy Fowler
    See Also:
    Serialized Form
    • Constructor Detail

      • LabelProperties

        public LabelProperties()
        Deprecated.
      • LabelProperties

        public LabelProperties​(Color background,
                               Color foreground,
                               Font font,
                               int horizontalAlignment,
                               int horizontalTextPosition,
                               int verticalAlignment,
                               int verticalTextPosition,
                               Icon icon,
                               int iconTextGap,
                               String text)
        Deprecated.
    • Method Detail

      • isFontSet

        public boolean isFontSet()
        Deprecated.
        Overrides:
        isFontSet in class Component
      • isHorizontalAlignmentSet

        public boolean isHorizontalAlignmentSet()
        Deprecated.
      • isHorizontalTextPositionSet

        public boolean isHorizontalTextPositionSet()
        Deprecated.
      • isIconSet

        public boolean isIconSet()
        Deprecated.
      • isIconTextGapSet

        public boolean isIconTextGapSet()
        Deprecated.
      • isTextSet

        public boolean isTextSet()
        Deprecated.
      • isVerticalAlignmentSet

        public boolean isVerticalAlignmentSet()
        Deprecated.
      • isVerticalTextPositionSet

        public boolean isVerticalTextPositionSet()
        Deprecated.
      • noPropertiesSet

        public boolean noPropertiesSet()
        Deprecated.
      • applyPropertiesTo

        public void applyPropertiesTo​(JLabel label)
        Deprecated.
      • applyPropertiesTo

        public void applyPropertiesTo​(AbstractButton button)
        Deprecated.
      • applyPropertiesTo

        public void applyPropertiesTo​(LabelProperties props)
        Deprecated.
      • applyPropertiesTo

        public void applyPropertiesTo​(TableCellRenderer renderer)
        Deprecated.