当前位置: 首页>>代码示例>>Java>>正文


Java FileChooserFilter类代码示例

本文整理汇总了Java中net.sf.launch4j.FileChooserFilter的典型用法代码示例。如果您正苦于以下问题:Java FileChooserFilter类的具体用法?Java FileChooserFilter怎么用?Java FileChooserFilter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


FileChooserFilter类属于net.sf.launch4j包,在下文中一共展示了FileChooserFilter类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: BrowseActionListener

import net.sf.launch4j.FileChooserFilter; //导入依赖的package包/类
public BrowseActionListener(boolean save, JFileChooser fileChooser,
		FileChooserFilter filter, JTextField field) {
	_save = save;
	_fileChooser = fileChooser;
	_filter = filter;
	_field = field;
}
 
开发者ID:clidev,项目名称:spike.x,代码行数:8,代码来源:BrowseActionListener.java

示例2: SplashFormImpl

import net.sf.launch4j.FileChooserFilter; //导入依赖的package包/类
public SplashFormImpl(Bindings bindings, JFileChooser fc) {
	bindings.addOptComponent("splash", Splash.class, _splashCheck)
			.add("splash.file", _splashFileField)
			.add("splash.waitForWindow", _waitForWindowCheck, true)
			.add("splash.timeout", _timeoutField, "60")
			.add("splash.timeoutErr", _timeoutErrCheck, true);

	_splashFileButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Bitmap files (.bmp)", ".bmp"), _splashFileField));
}
 
开发者ID:clidev,项目名称:spike.x,代码行数:11,代码来源:SplashFormImpl.java

示例3: BasicFormImpl

import net.sf.launch4j.FileChooserFilter; //导入依赖的package包/类
public BasicFormImpl(Bindings bindings, JFileChooser fc) {
	bindings.add("outfile", _outfileField)
			.add("dontWrapJar", _dontWrapJarCheck)
			.add("jar", _jarField)
			.add("manifest", _manifestField)
			.add("icon", _iconField)
			.add("cmdLine", _cmdLineField)
			.add("errTitle", _errorTitleField)
			.add("downloadUrl", _downloadUrlField, Config.DOWNLOAD_URL)
			.add("supportUrl", _supportUrlField)
			.add("chdir", _chdirField, ".")
			.add("priorityIndex", new JRadioButton[] { _normalPriorityRadio,
														_idlePriorityRadio,
														_highPriorityRadio })
			.add("stayAlive", _stayAliveCheck)
			.add("restartOnCrash", _restartOnCrashCheck);

	_dontWrapJarCheck.addChangeListener(new DontWrapJarChangeListener());

	_outfileButton.addActionListener(new BrowseActionListener(true, fc,
			new FileChooserFilter("Windows executables (.exe)", ".exe"),
			_outfileField));
	_jarButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Jar files", ".jar"), _jarField));
	_manifestButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Manifest files (.manifest)", ".manifest"),
			_manifestField));
	_iconButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Icon files (.ico)", ".ico"), _iconField));
}
 
开发者ID:clidev,项目名称:spike.x,代码行数:31,代码来源:BasicFormImpl.java

示例4: BasicFormImpl

import net.sf.launch4j.FileChooserFilter; //导入依赖的package包/类
public BasicFormImpl(Bindings bindings, JFileChooser fc) {
	bindings.add("outfile", _outfileField)
			.add("dontWrapJar", _dontWrapJarCheck)
			.add("jar", _jarField)
			.add("manifest", _manifestField)
			.add("icon", _iconField)
			.add("cmdLine", _cmdLineField)
			.add("errTitle", _errorTitleField)
			.add("downloadUrl", _downloadUrlField, Config.DOWNLOAD_URL)
			.add("supportUrl", _supportUrlField)
			.add("chdir", _chdirField, ".")
			.add("priorityIndex", new JRadioButton[] { _normalPriorityRadio,
														_idlePriorityRadio,
														_highPriorityRadio })
			.add("stayAlive", _stayAliveCheck);

	_dontWrapJarCheck.addChangeListener(new DontWrapJarChangeListener());

	_outfileButton.addActionListener(new BrowseActionListener(true, fc,
			new FileChooserFilter("Windows executables (.exe)", ".exe"),
			_outfileField));
	_jarButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Jar files", ".jar"), _jarField));
	_manifestButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Manifest files (.manifest)", ".manifest"),
			_manifestField));
	_iconButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Icon files (.ico)", ".ico"), _iconField));
}
 
开发者ID:somedevelopment,项目名称:CardDAVSyncOutlook,代码行数:30,代码来源:BasicFormImpl.java

示例5: BasicFormImpl

import net.sf.launch4j.FileChooserFilter; //导入依赖的package包/类
public BasicFormImpl(Bindings bindings, JFileChooser fc) {
	bindings.add("outfile", _outfileField)
			.add("dontWrapJar", _dontWrapJarCheck)
			.add("jar", _jarField)
			.add("manifest", _manifestField)
			.add("icon", _iconField)
			.add("cmdLine", _cmdLineField)
			.add("errTitle", _errorTitleField)
			.add("downloadUrl", _downloadUrlField, Config.DOWNLOAD_URL)
			.add("supportUrl", _supportUrlField)
			.add("chdir", _chdirField)
			.add("priorityIndex", new JRadioButton[] { _normalPriorityRadio,
														_idlePriorityRadio,
														_highPriorityRadio })
			.add("customProcName", _customProcNameCheck)
			.add("stayAlive", _stayAliveCheck);

	_dontWrapJarCheck.addChangeListener(new DontWrapJarChangeListener());

	_outfileButton.addActionListener(new BrowseActionListener(true, fc,
			new FileChooserFilter("Windows executables (.exe)", ".exe"),
			_outfileField));
	_jarButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Jar files", ".jar"), _jarField));
	_manifestButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Manifest files (.manifest)", ".manifest"),
			_manifestField));
	_iconButton.addActionListener(new BrowseActionListener(false, fc,
			new FileChooserFilter("Icon files (.ico)", ".ico"), _iconField));
}
 
开发者ID:p4553d,项目名称:carPirate,代码行数:31,代码来源:BasicFormImpl.java


注:本文中的net.sf.launch4j.FileChooserFilter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。