Data Selection with Partition Labels

Partition labels provide a user interface for displaying and interacting with groups of partitioned data. Partition labels enable users to select the items in a partition, transfer the selected items in a drag and drop operation, and change the color of the partition.

1. Introduction

Data is often partitioned into categories by data analysis, visualization, and other applications. Partition labels provide a user interface for displaying and interacting with groups of partitioned data. A partition label contains a check box, a color square, and a label:

Partition labels contains a check box, a color square, and a label

2. Interaction

Partition labels enable the user to select the items in a partition, transfer the selected items in a drag and drop operation, and change the color of the partition. Checking the box selects the partition, which can invoke application specific behavior such as highlighting the items in the partition by changing the color of the items to the color displayed in the color square.

Checking the box selects the partition

After the box has been checked, a badge is displayed in the lower left corner of the color square to indicate that the data items in the partition can be dragged. Dragging the color square represents an action that transfers the items in the partition to a drag and drop destination. An application specific operation can then be applied to the items.

The color square represents the color of the items in the partition. Clicking the color square displays a color selection dialog that enables the user to change the color of the partition. The following screenshot shows a list of partition labels that represent a set of student data partitioned by course. The biology, chemistry, and physics partitions have been selected.

Screenshot of partition labels representing student data partitioned by course

Partition labels generate events when the box is checked or unchecked, when the color of the partition is changed, and when a drag and drop operation is initiated.