Java 类javax.swing.DefaultSingleSelectionModel 实例源码

项目:incubator-netbeans    文件:TabbedSlideAdapter.java   
/** Creates a new instance of SlideBarTabs */
public TabbedSlideAdapter(String side) {
    dataModel = new SlideBarDataModel.Impl();
    setSide(side);
    selModel = new DefaultSingleSelectionModel();
    slideBar = new SlideBar(this, (SlideBarDataModel)dataModel, selModel);
    slidingMode = findSlidingMode();
}