Class SwingTreeMapModel<N extends AbstractTreeMapNode<N,Row,Column,Color,Font>,Row,Column>

java.lang.Object
com.treemap.AbstractTreeMapModel<N,Row,Column,Color,Font>
com.treemap.DefaultTreeMapModel<N,Row,Column,Color,Font>
com.treemap.swing.SwingTreeMapModel<N,Row,Column>
All Implemented Interfaces:
TreeMapModel<N,Row,Column,Color,Font>

public class SwingTreeMapModel<N extends AbstractTreeMapNode<N,Row,Column,Color,Font>,Row,Column> extends DefaultTreeMapModel<N,Row,Column,Color,Font>
Created by luc on 01.05.17.
  • Constructor Details

    • SwingTreeMapModel

      public SwingTreeMapModel(com.macrofocus.molap.dataframe.DataFrame<Row,Column,?> dataFrame)
  • Method Details

    • getGroupByModel

      public ComboBoxModel getGroupByModel()
      Gets a ComboBox model that can be used to control the group by.
      Returns:
      a ComboBox model linked to the group by setting.
    • createGroupByComboBoxModel

      protected GroupByComboBoxModel createGroupByComboBoxModel()
    • getLabelModel

      public ComboBoxModel getLabelModel()
      Gets a ComboBox model that can be used to control the labels.
      Returns:
      a ComboBox model linked to the labels setting.
    • createLabelComboBoxModel

      protected SwingTreeMapModel.LabelComboBoxModel createLabelComboBoxModel()
    • getBackgroundModel

      public ComboBoxModel<TreeMapField> getBackgroundModel()
      Gets a ComboBox model that can be used to control the background.
      Returns:
      a ComboBox model linked to the background setting.
    • createBackgroundComboBoxModel

      protected ComboBoxModel<TreeMapField> createBackgroundComboBoxModel()
    • getSizeModel

      public ComboBoxModel<TreeMapField> getSizeModel()
      Gets a ComboBox model that can be used to control the size.
      Returns:
      a ComboBox model linked to the size setting.
    • createSizeComboBoxModel

      protected ComboBoxModel<TreeMapField> createSizeComboBoxModel()
    • getHeightModel

      public ComboBoxModel<TreeMapField> getHeightModel()
      Gets a ComboBox model that can be used to control the height.
      Returns:
      a ComboBox model linked to the height setting.
    • createHeightComboBoxModel

      protected ComboBoxModel<TreeMapField> createHeightComboBoxModel()
    • getColorModel

      public ComboBoxModel<TreeMapField> getColorModel()
      Gets a ComboBox model that can be used to control the color.
      Returns:
      a ComboBox model linked to the color setting.
    • createColorComboBoxModel

      protected ComboBoxModel<TreeMapField> createColorComboBoxModel()