本文整理了Java中javax.swing.JFileChooser.getClientProperty()
方法的一些代码示例,展示了JFileChooser.getClientProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JFileChooser.getClientProperty()
方法的具体详情如下:
包路径:javax.swing.JFileChooser
类名称:JFileChooser
方法名:getClientProperty
暂无
代码示例来源:origin: org.gephi/directory-chooser
private void markStartTime () {
if (fileChooser.getClientProperty(DelegatingChooserUI.START_TIME) == null) {
fileChooser.putClientProperty(DelegatingChooserUI.START_TIME,
Long.valueOf(System.currentTimeMillis()));
}
}
代码示例来源:origin: freeplane/freeplane
@Override
protected void updateView(final File file) {
final Object fileFilter = fc.getClientProperty(FactoryFileFilter.class);
if(! (fileFilter instanceof FactoryFileFilter))
return;
final FactoryFileFilter factoryFileFilter = (FactoryFileFilter) fileFilter;
final IViewerFactory factory = factoryFileFilter.getFactory();
new ImageRendererFactory().configureRenderer(factory, file.getAbsoluteFile().toURI(), getSize(), this);
}
}
代码示例来源:origin: org.gephi/directory-chooser
private void checkUpdate() {
if (Utilities.isWindows() && useShellFolder) {
Long startTime = (Long) fileChooser.getClientProperty(DelegatingChooserUI.START_TIME);
if (startTime == null) {
return;
代码示例来源:origin: org.gephi/directory-chooser
if ("1.6.0_02".compareToIgnoreCase(jv) <= 0 &&
"1.6.0_10".compareToIgnoreCase(jv) >= 0) {
if (!Boolean.TRUE.equals(fc.getClientProperty(USE_SHELL_FOLDER))) {
fc.putClientProperty(USE_SHELL_FOLDER, Boolean.FALSE);
if (fc.getClientProperty(START_TIME) == null) {
fc.putClientProperty(START_TIME, Long.valueOf(System.currentTimeMillis()));
代码示例来源:origin: org.gephi/directory-chooser
(Boolean)fileChooser.getClientProperty(DelegatingChooserUI.USE_SHELL_FOLDER);
if (prop != null) {
useShellFolder = prop.booleanValue();
内容来源于网络,如有侵权,请联系作者删除!