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:
  • Constructor Details

    • 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 Details

    • isBackgroundSet

      public boolean isBackgroundSet()
      Deprecated.
      Overrides:
      isBackgroundSet in class Component
    • isForegroundSet

      public boolean isForegroundSet()
      Deprecated.
      Overrides:
      isForegroundSet in class Component
    • 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.