Class ImageFactoryField

    • Constructor Detail

      • ImageFactoryField

        public ImageFactoryField​(FieldFactory factory,
                                 javax.swing.ImageIcon icon,
                                 ProxyObj proxy,
                                 java.awt.FontMetrics metrics,
                                 int x,
                                 int width)
        Constructor
        Parameters:
        factory - the FieldFactory that generated this field.
        icon - the ImageIcon to display.
        proxy - the object that this field represents.
        metrics - the FontMetrics used to render.
        x - the starting x position for this field.
        width - the width of this field.
      • ImageFactoryField

        public ImageFactoryField​(FieldFactory factory,
                                 javax.swing.ImageIcon icon,
                                 ProxyObj proxy,
                                 java.awt.FontMetrics metrics,
                                 int x,
                                 int width,
                                 boolean center)
        Constructor
        Parameters:
        factory - the FieldFactory that generated this field.
        icon - the ImageIcon to display.
        proxy - the object that this field represents.
        metrics - the FontMetrics used to render.
        x - the starting x position for this field.
        width - the width of this field.
        center - centers the image if true.