本文整理了Java中javax.swing.JFileChooser.isEnabled()
方法的一些代码示例,展示了JFileChooser.isEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JFileChooser.isEnabled()
方法的具体详情如下:
包路径:javax.swing.JFileChooser
类名称:JFileChooser
方法名:isEnabled
暂无
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/toniclf
public boolean isEnabled()
{
return getFileChooser().isEnabled();
}
};
代码示例来源:origin: org.gephi/directory-chooser
@Override
public boolean isEnabled(){
return getFileChooser().isEnabled();
}
};
代码示例来源:origin: joel-costigliola/assertj-swing
/**
* Returns the {@code String} representation of the given {@code Component}, which should be a {@code JFileChooser}.
*
* @param c the given {@code Component}.
* @return the {@code String} representation of the given {@code JFileChooser}.
*/
@RunsInCurrentThread
@Override
@Nonnull protected String doFormat(@Nonnull Component c) {
JFileChooser fileChooser = (JFileChooser) c;
String format = "%s[name=%s, dialogTitle=%s, dialogType=%s, currentDirectory=%s, enabled=%b, visible=%b, showing=%b";
return String.format(format, getRealClassName(c), quote(fileChooser.getName()),
quote(fileChooser.getDialogTitle()), DIALOG_TYPES.get(fileChooser.getDialogType()),
new StandardRepresentation().toStringOf(fileChooser.getCurrentDirectory()),
fileChooser.isEnabled(),
fileChooser.isVisible(), fileChooser.isShowing());
}
内容来源于网络,如有侵权,请联系作者删除!