Interface TreeMapLabelRenderer<C,​N,​Row,​Column,​Color,​Font>

  • Type Parameters:
    N -
    All Known Implementing Classes:
    DefaultTreeMapLabelRenderer

    public interface TreeMapLabelRenderer<C,​N,​Row,​Column,​Color,​Font>
    This interface defines the method required to render labels in a TreeMapView.
    • Method Detail

      • getTreeMapLabelRendererComponent

        com.macrofocus.labeling.EnhancedLabel<Color,​Font> getTreeMapLabelRendererComponent​(TreeMapView<C,​N,​Row,​Column,​Color,​Font> view,
                                                                                                 TreeMapField<N,​Column> field,
                                                                                                 N node,
                                                                                                 java.awt.Dimension dimension)
        Returns the component used for drawing the labels values.
        Parameters:
        view - the view
        field - the field for which the value should be queried
        node - the node for which the value should be queried
        dimension -
        Returns:
        the component