tdg
Interface TDGNestedLabel


public interface TDGNestedLabel


Method Summary
 java.util.Vector getAllLabels(int nLevel)
          Get all the labels at the specified level (for batch autofitting).
 java.lang.String getLabel(int nGroup, int nLevel)
          Get the string specified by the group and level; if nLevel is 0, the group label, if nLevel is 1, its immediate parent in the hierarchy, etc.
 int getLabelGrouping(int nGroup, int nLevel)
          Get the number of labels grouped at this level specified by the group and level.
 int getNumLabelsOnLevel(int nLevel)
          How many labels are there on this level?
 int getNumLevels()
          How many nested levels of labels are there?
 

Method Detail

getNumLevels

public int getNumLevels()
How many nested levels of labels are there?

getNumLabelsOnLevel

public int getNumLabelsOnLevel(int nLevel)
How many labels are there on this level?

getAllLabels

public java.util.Vector getAllLabels(int nLevel)
Get all the labels at the specified level (for batch autofitting). Returns a Vector of String objects.

getLabel

public java.lang.String getLabel(int nGroup,
                                 int nLevel)
Get the string specified by the group and level; if nLevel is 0, the group label, if nLevel is 1, its immediate parent in the hierarchy, etc.

getLabelGrouping

public int getLabelGrouping(int nGroup,
                            int nLevel)
Get the number of labels grouped at this level specified by the group and level.