JIDE 3.5.15

com.jidesoft.treemap
Interface TreeMapLabelRenderer<N>

Type Parameters:
N -
All Known Implementing Classes:
DefaultTreeMapLabelRenderer, DefaultTreeMapLabelRenderer.UIResource

public interface TreeMapLabelRenderer<N>

This interface defines the method required to render labels in a TreeMapView.


Method Summary
 JComponent getTreeMapLabelRendererComponent(TreeMapView<N> view, TreeMapField<N> field, N node, Dimension dimension)
          Returns the component used for drawing the labels values.
 int getVerticalAlignment(N node)
           
 

Method Detail

getTreeMapLabelRendererComponent

JComponent getTreeMapLabelRendererComponent(TreeMapView<N> view,
                                            TreeMapField<N> field,
                                            N node,
                                            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

getVerticalAlignment

int getVerticalAlignment(N node)

JIDE 3.5.15