The primary focus of the com.sas.swing.visuals.dualselector package is the DualSelector components, which provide a convenient available/selected user interface.

Dual Selector components

Overview

The dual selector components are made up of a DualListSelector, DualTreeSelector, and TreeListSelector. The classes encapsulate Java Swing JTree and JList components and provide the mechanism for moving items between the two Java components.

The BaseDualSelector class is an abstract class used by the concrete classes to provide the basic functionality and the initialization of the visuals components.

The adapter classes, JTreeDualSelectorAdapter and JListDualSelectorAdapter, provide the implementation for the DualSelectorInterface. They handle the interaction between that interface and the actual Java Swing JTree and JList components.