javax.swing.JFileChooser.getClientProperty()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(144)

本文整理了Java中javax.swing.JFileChooser.getClientProperty()方法的一些代码示例,展示了JFileChooser.getClientProperty()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JFileChooser.getClientProperty()方法的具体详情如下:
包路径:javax.swing.JFileChooser
类名称:JFileChooser
方法名:getClientProperty

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();

相关文章

JFileChooser类方法