com.scudata.ide.common.FileChooserUICN Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
package com.scudata.ide.common;
import javax.swing.JFileChooser;
import javax.swing.plaf.basic.BasicDirectoryModel;
import javax.swing.plaf.metal.MetalFileChooserUI;
/**
* FileChooser that supports Chinese sorting
*
*/
class FileChooserUICN extends MetalFileChooserUI {
private BasicDirectoryModel model = null;
/**
* Constructor
*
* @param filechooser
*/
public FileChooserUICN(JFileChooser filechooser) {
super(filechooser);
}
/**
* Create model
*/
protected void createModel() {
model = new DirectoryModelCN(getFileChooser());
}
/**
* Get BasicDirectoryModel
*/
public BasicDirectoryModel getModel() {
return model;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy