Class JLabelHpr<T extends javax.swing.JLabel>

  • Direct Known Subclasses:
    RJMenuButton.Helper

    public class JLabelHpr<T extends javax.swing.JLabel>
    extends LabeledHpr<T>
    This helper implementation for JLabel.
    • Constructor Detail

      • JLabelHpr

        public JLabelHpr()
    • Method Detail

      • getIcon

        public javax.swing.Icon getIcon​(T aLabeled)
        Returns the button or label icon.
        Specified by:
        getIcon in class LabeledHpr<T extends javax.swing.JLabel>
      • setIcon

        public void setIcon​(T aLabeled,
                            javax.swing.Icon anIcon)
        Sets the button or label icon.
        Specified by:
        setIcon in class LabeledHpr<T extends javax.swing.JLabel>
      • getHorizontalAlignment

        public int getHorizontalAlignment​(T aLabeled)
        Standard button or label property.
        Specified by:
        getHorizontalAlignment in class LabeledHpr<T extends javax.swing.JLabel>
      • setHorizontalAlignment

        public void setHorizontalAlignment​(T aLabeled,
                                           int aValue)
        Standard button or label property.
        Specified by:
        setHorizontalAlignment in class LabeledHpr<T extends javax.swing.JLabel>
      • getVerticalAlignment

        public int getVerticalAlignment​(T aLabeled)
        Standard button or label property.
        Specified by:
        getVerticalAlignment in class LabeledHpr<T extends javax.swing.JLabel>
      • setVerticalAlignment

        public void setVerticalAlignment​(T aLabeled,
                                         int aValue)
        Standard button or label property.
        Specified by:
        setVerticalAlignment in class LabeledHpr<T extends javax.swing.JLabel>
      • getHorizontalTextPosition

        public int getHorizontalTextPosition​(T aLabeled)
        Standard button or label property.
        Specified by:
        getHorizontalTextPosition in class LabeledHpr<T extends javax.swing.JLabel>
      • setHorizontalTextPosition

        public void setHorizontalTextPosition​(T aLabeled,
                                              int aValue)
        Standard button or label property.
        Specified by:
        setHorizontalTextPosition in class LabeledHpr<T extends javax.swing.JLabel>
      • getVerticalTextPosition

        public int getVerticalTextPosition​(T aLabeled)
        Standard button or label property.
        Specified by:
        getVerticalTextPosition in class LabeledHpr<T extends javax.swing.JLabel>
      • setVerticalTextPosition

        public void setVerticalTextPosition​(T aLabeled,
                                            int aValue)
        Standard button or label property.
        Specified by:
        setVerticalTextPosition in class LabeledHpr<T extends javax.swing.JLabel>
      • getIconTextGap

        public int getIconTextGap​(T aLabeled)
        Standard button or label property.
        Specified by:
        getIconTextGap in class LabeledHpr<T extends javax.swing.JLabel>
      • setIconTextGap

        public void setIconTextGap​(T aLabeled,
                                   int aValue)
        Standard button or label property.
        Specified by:
        setIconTextGap in class LabeledHpr<T extends javax.swing.JLabel>
      • getPropertyNameMapped

        public java.lang.String getPropertyNameMapped​(T anObj,
                                                      java.lang.String aName)
        Returns a mapped property name.
        Overrides:
        getPropertyNameMapped in class UIHelper<T extends javax.swing.JLabel>