本文整理了Java中javax.swing.JCheckBox.getMnemonic()
方法的一些代码示例,展示了JCheckBox.getMnemonic()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCheckBox.getMnemonic()
方法的具体详情如下:
包路径:javax.swing.JCheckBox
类名称:JCheckBox
方法名:getMnemonic
暂无
代码示例来源:origin: dcaoyuan/nbscala
public CustomizerCompile( J2SEProjectProperties uiProperties ) {
initComponents();
uiProperties.SCALAC_DEPRECATION_MODEL.setMnemonic( deprecationCheckBox.getMnemonic() );
deprecationCheckBox.setModel( uiProperties.SCALAC_DEPRECATION_MODEL );
uiProperties.SCALAC_UNCHECKED_MODEL.setMnemonic( uncheckedCheckBox.getMnemonic() );
uncheckedCheckBox.setModel( uiProperties.SCALAC_UNCHECKED_MODEL );
uiProperties.JAVAC_DEBUG_MODEL.setMnemonic( debugInfoCheckBox.getMnemonic() );
debugInfoCheckBox.setModel( uiProperties.JAVAC_DEBUG_MODEL );
uiProperties.DO_DEPEND_MODEL.setMnemonic(doDependCheckBox.getMnemonic());
doDependCheckBox.setModel(uiProperties.DO_DEPEND_MODEL);
additionalJavacParamsField.setDocument( uiProperties.SCALAC_COMPILER_ARG_MODEL );
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-clientproject
public CustomizerCompile( AppClientProjectProperties uiProperties ) {
initComponents();
uiProperties.JAVAC_DEPRECATION_MODEL.setMnemonic( jCheckBoxDeprecation.getMnemonic() );
jCheckBoxDeprecation.setModel( uiProperties.JAVAC_DEPRECATION_MODEL );
uiProperties.JAVAC_DEBUG_MODEL.setMnemonic( jCheckBoxDebugInfo.getMnemonic() );
jCheckBoxDebugInfo.setModel( uiProperties.JAVAC_DEBUG_MODEL );
uiProperties.ENABLE_ANNOTATION_PROCESSING_MODEL.setMnemonic(enableAPTCheckBox.getMnemonic());
enableAPTCheckBox.setModel(uiProperties.ENABLE_ANNOTATION_PROCESSING_MODEL);
uiProperties.ENABLE_ANNOTATION_PROCESSING_IN_EDITOR_MODEL.setMnemonic(enableAPTEditorCheckBox.getMnemonic());
enableAPTEditorCheckBox.setModel(uiProperties.ENABLE_ANNOTATION_PROCESSING_IN_EDITOR_MODEL);
annotationProcessorsList.setModel(uiProperties.ANNOTATION_PROCESSORS_MODEL);
enableAPTCheckBoxActionPerformed(null);
additionalJavacParamsJTextField.setDocument( uiProperties.JAVAC_COMPILER_ARG_MODEL );
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-ejbjarproject
public CustomizerCompile( EjbJarProjectProperties uiProperties ) {
initComponents();
uiProperties.JAVAC_DEPRECATION_MODEL.setMnemonic( jCheckBoxDeprecation.getMnemonic() );
jCheckBoxDeprecation.setModel( uiProperties.JAVAC_DEPRECATION_MODEL );
uiProperties.JAVAC_DEBUG_MODEL.setMnemonic( jCheckBoxDebugInfo.getMnemonic() );
jCheckBoxDebugInfo.setModel( uiProperties.JAVAC_DEBUG_MODEL );
uiProperties.ENABLE_ANNOTATION_PROCESSING_MODEL.setMnemonic(enableAPTCheckBox.getMnemonic());
enableAPTCheckBox.setModel(uiProperties.ENABLE_ANNOTATION_PROCESSING_MODEL);
uiProperties.ENABLE_ANNOTATION_PROCESSING_IN_EDITOR_MODEL.setMnemonic(enableAPTEditorCheckBox.getMnemonic());
enableAPTEditorCheckBox.setModel(uiProperties.ENABLE_ANNOTATION_PROCESSING_IN_EDITOR_MODEL);
annotationProcessorsList.setModel(uiProperties.ANNOTATION_PROCESSORS_MODEL);
enableAPTCheckBoxActionPerformed(null);
additionalJavacParamsJTextField.setDocument( uiProperties.JAVAC_COMPILER_ARG_MODEL );
jCheckBoxCompileOnSave.setModel(uiProperties.COMPILE_ON_SAVE_MODEL);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-ejbjarproject
public CustomizerJar( EjbJarProjectProperties uiProperties ) {
initComponents();
jTextFieldDistDir.setDocument( uiProperties.DIST_JAR_MODEL );
jTextFieldExcludes.setDocument( uiProperties.BUILD_CLASSES_EXCLUDES_MODEL );
uiProperties.JAR_COMPRESS_MODEL.setMnemonic( jCheckBoxCommpress.getMnemonic() );
jCheckBoxCommpress.setModel( uiProperties.JAR_COMPRESS_MODEL );
uiProperties.INCLUDE_JARS_MODEL.setMnemonic( includeJarsCheckBox.getMnemonic() );
includeJarsCheckBox.setModel(uiProperties.INCLUDE_JARS_MODEL);
}
代码示例来源:origin: dcaoyuan/nbscala
public CustomizerJar( J2SEProjectProperties uiProperties ) {
initComponents();
distDirField.setDocument(uiProperties.DIST_JAR_MODEL);
excludeField.setDocument(uiProperties.BUILD_CLASSES_EXCLUDES_MODEL);
uiProperties.JAR_COMPRESS_MODEL.setMnemonic(compressCheckBox.getMnemonic());
compressCheckBox.setModel(uiProperties.JAR_COMPRESS_MODEL);
uiProperties.DO_JAR_MODEL.setMnemonic(doJarCheckBox.getMnemonic());
doJarCheckBox.setModel(uiProperties.DO_JAR_MODEL);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-web-project
/** Creates new form CustomizerCompile */
public CustomizerCompile(WebProjectProperties uiProperties) {
initComponents();
uiProperties.JAVAC_DEPRECATION_MODEL.setMnemonic( jCheckBoxDeprecation.getMnemonic() );
jCheckBoxDeprecation.setModel( uiProperties.JAVAC_DEPRECATION_MODEL );
uiProperties.JAVAC_DEBUG_MODEL.setMnemonic( jCheckBoxDebugInfo.getMnemonic() );
jCheckBoxDebugInfo.setModel( uiProperties.JAVAC_DEBUG_MODEL );
uiProperties.COMPILE_JSP_MODEL.setMnemonic( jCheckBoxCompileJSP.getMnemonic() );
jCheckBoxCompileJSP.setModel( uiProperties.COMPILE_JSP_MODEL );
uiProperties.ENABLE_ANNOTATION_PROCESSING_MODEL.setMnemonic(enableAPTCheckBox.getMnemonic());
enableAPTCheckBox.setModel(uiProperties.ENABLE_ANNOTATION_PROCESSING_MODEL);
uiProperties.ENABLE_ANNOTATION_PROCESSING_IN_EDITOR_MODEL.setMnemonic(enableAPTEditorCheckBox.getMnemonic());
enableAPTEditorCheckBox.setModel(uiProperties.ENABLE_ANNOTATION_PROCESSING_IN_EDITOR_MODEL);
annotationProcessorsList.setModel(uiProperties.ANNOTATION_PROCESSORS_MODEL);
enableAPTCheckBoxActionPerformed(null);
additionalJavacParamsJTextField.setDocument( uiProperties.JAVAC_COMPILER_ARG_MODEL );
jCheckBoxCompileOnSave.setModel(uiProperties.COMPILE_ON_SAVE_MODEL);
jCopyOnSaveCheckBox.setModel(uiProperties.COPY_STATIC_RESOURCE_ON_SAVE_MODEL);
}
代码示例来源:origin: dcaoyuan/nbscala
uiProperties.JAVADOC_PRIVATE_MODEL.setMnemonic( jCheckBoxPrivate.getMnemonic() );
jCheckBoxPrivate.setModel( uiProperties.JAVADOC_PRIVATE_MODEL );
uiProperties.JAVADOC_NO_TREE_MODEL.setMnemonic( jCheckBoxTree.getMnemonic() );
jCheckBoxTree.setModel( uiProperties.JAVADOC_NO_TREE_MODEL );
uiProperties.JAVADOC_USE_MODEL.setMnemonic( jCheckBoxUsages.getMnemonic() );
jCheckBoxUsages.setModel( uiProperties.JAVADOC_USE_MODEL );
uiProperties.JAVADOC_NO_NAVBAR_MODEL.setMnemonic( jCheckBoxNavigation.getMnemonic() );
jCheckBoxNavigation.setModel( uiProperties.JAVADOC_NO_NAVBAR_MODEL );
uiProperties.JAVADOC_NO_INDEX_MODEL.setMnemonic( jCheckBoxIndex.getMnemonic() );
jCheckBoxIndex.setModel( uiProperties.JAVADOC_NO_INDEX_MODEL );
uiProperties.JAVADOC_SPLIT_INDEX_MODEL.setMnemonic( jCheckBoxSplitIndex.getMnemonic() );
jCheckBoxSplitIndex.setModel( uiProperties.JAVADOC_SPLIT_INDEX_MODEL );
uiProperties.JAVADOC_AUTHOR_MODEL.setMnemonic( jCheckBoxAuthor.getMnemonic() );
jCheckBoxAuthor.setModel( uiProperties.JAVADOC_AUTHOR_MODEL );
uiProperties.JAVADOC_VERSION_MODEL.setMnemonic( jCheckBoxVersion.getMnemonic() );
jCheckBoxVersion.setModel( uiProperties.JAVADOC_VERSION_MODEL );
uiProperties.JAVADOC_PREVIEW_MODEL.setMnemonic( jCheckBoxPreview.getMnemonic() );
jCheckBoxPreview.setModel( uiProperties.JAVADOC_PREVIEW_MODEL );
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-clientproject
uiProperties.JAVADOC_PRIVATE_MODEL.setMnemonic( jCheckBoxPrivate.getMnemonic() );
jCheckBoxPrivate.setModel( uiProperties.JAVADOC_PRIVATE_MODEL );
uiProperties.JAVADOC_NO_TREE_MODEL.setMnemonic( jCheckBoxTree.getMnemonic() );
jCheckBoxTree.setModel( uiProperties.JAVADOC_NO_TREE_MODEL );
uiProperties.JAVADOC_USE_MODEL.setMnemonic( jCheckBoxUsages.getMnemonic() );
jCheckBoxUsages.setModel( uiProperties.JAVADOC_USE_MODEL );
uiProperties.JAVADOC_NO_NAVBAR_MODEL.setMnemonic( jCheckBoxNavigation.getMnemonic() );
jCheckBoxNavigation.setModel( uiProperties.JAVADOC_NO_NAVBAR_MODEL );
uiProperties.JAVADOC_NO_INDEX_MODEL.setMnemonic( jCheckBoxIndex.getMnemonic() );
jCheckBoxIndex.setModel( uiProperties.JAVADOC_NO_INDEX_MODEL );
uiProperties.JAVADOC_SPLIT_INDEX_MODEL.setMnemonic( jCheckBoxSplitIndex.getMnemonic() );
jCheckBoxSplitIndex.setModel( uiProperties.JAVADOC_SPLIT_INDEX_MODEL );
uiProperties.JAVADOC_AUTHOR_MODEL.setMnemonic( jCheckBoxAuthor.getMnemonic() );
jCheckBoxAuthor.setModel( uiProperties.JAVADOC_AUTHOR_MODEL );
uiProperties.JAVADOC_VERSION_MODEL.setMnemonic( jCheckBoxVersion.getMnemonic() );
jCheckBoxVersion.setModel( uiProperties.JAVADOC_VERSION_MODEL );
uiProperties.JAVADOC_PREVIEW_MODEL.setMnemonic( jCheckBoxPreview.getMnemonic() );
jCheckBoxPreview.setModel( uiProperties.JAVADOC_PREVIEW_MODEL );
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-web-project
public CustomizerJavadoc( WebProjectProperties uiProperties ) {
initComponents();
uiProperties.JAVADOC_PRIVATE_MODEL.setMnemonic( jCheckBoxPrivate.getMnemonic() );
jCheckBoxPrivate.setModel( uiProperties.JAVADOC_PRIVATE_MODEL );
uiProperties.JAVADOC_NO_TREE_MODEL.setMnemonic( jCheckBoxTree.getMnemonic() );
jCheckBoxTree.setModel( uiProperties.JAVADOC_NO_TREE_MODEL );
uiProperties.JAVADOC_USE_MODEL.setMnemonic( jCheckBoxUsages.getMnemonic() );
jCheckBoxUsages.setModel( uiProperties.JAVADOC_USE_MODEL );
uiProperties.JAVADOC_NO_NAVBAR_MODEL.setMnemonic( jCheckBoxNavigation.getMnemonic() );
jCheckBoxNavigation.setModel( uiProperties.JAVADOC_NO_NAVBAR_MODEL );
uiProperties.JAVADOC_NO_INDEX_MODEL.setMnemonic( jCheckBoxIndex.getMnemonic() );
jCheckBoxIndex.setModel( uiProperties.JAVADOC_NO_INDEX_MODEL );
uiProperties.JAVADOC_SPLIT_INDEX_MODEL.setMnemonic( jCheckBoxSplitIndex.getMnemonic() );
jCheckBoxSplitIndex.setModel( uiProperties.JAVADOC_SPLIT_INDEX_MODEL );
uiProperties.JAVADOC_AUTHOR_MODEL.setMnemonic( jCheckBoxAuthor.getMnemonic() );
jCheckBoxAuthor.setModel( uiProperties.JAVADOC_AUTHOR_MODEL );
uiProperties.JAVADOC_VERSION_MODEL.setMnemonic( jCheckBoxVersion.getMnemonic() );
jCheckBoxVersion.setModel( uiProperties.JAVADOC_VERSION_MODEL );
jTextFieldWinTitle.setDocument( uiProperties.JAVADOC_WINDOW_TITLE_MODEL );
uiProperties.JAVADOC_PREVIEW_MODEL.setMnemonic( jCheckBoxPreview.getMnemonic() );
jCheckBoxPreview.setModel( uiProperties.JAVADOC_PREVIEW_MODEL );
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-ejbjarproject
public CustomizerJavadoc( EjbJarProjectProperties uiProperties ) {
initComponents();
uiProperties.JAVADOC_PRIVATE_MODEL.setMnemonic( jCheckBoxPrivate.getMnemonic() );
jCheckBoxPrivate.setModel( uiProperties.JAVADOC_PRIVATE_MODEL );
uiProperties.JAVADOC_NO_TREE_MODEL.setMnemonic( jCheckBoxTree.getMnemonic() );
jCheckBoxTree.setModel( uiProperties.JAVADOC_NO_TREE_MODEL );
uiProperties.JAVADOC_USE_MODEL.setMnemonic( jCheckBoxUsages.getMnemonic() );
jCheckBoxUsages.setModel( uiProperties.JAVADOC_USE_MODEL );
uiProperties.JAVADOC_NO_NAVBAR_MODEL.setMnemonic( jCheckBoxNavigation.getMnemonic() );
jCheckBoxNavigation.setModel( uiProperties.JAVADOC_NO_NAVBAR_MODEL );
uiProperties.JAVADOC_NO_INDEX_MODEL.setMnemonic( jCheckBoxIndex.getMnemonic() );
jCheckBoxIndex.setModel( uiProperties.JAVADOC_NO_INDEX_MODEL );
uiProperties.JAVADOC_SPLIT_INDEX_MODEL.setMnemonic( jCheckBoxSplitIndex.getMnemonic() );
jCheckBoxSplitIndex.setModel( uiProperties.JAVADOC_SPLIT_INDEX_MODEL );
uiProperties.JAVADOC_AUTHOR_MODEL.setMnemonic( jCheckBoxAuthor.getMnemonic() );
jCheckBoxAuthor.setModel( uiProperties.JAVADOC_AUTHOR_MODEL );
uiProperties.JAVADOC_VERSION_MODEL.setMnemonic( jCheckBoxVersion.getMnemonic() );
jCheckBoxVersion.setModel( uiProperties.JAVADOC_VERSION_MODEL );
jTextFieldWinTitle.setDocument( uiProperties.JAVADOC_WINDOW_TITLE_MODEL );
uiProperties.JAVADOC_PREVIEW_MODEL.setMnemonic( jCheckBoxPreview.getMnemonic() );
jCheckBoxPreview.setModel( uiProperties.JAVADOC_PREVIEW_MODEL );
jTextFieldAddOptions.setDocument( uiProperties.JAVADOC_ADDITIONALPARAM_MODEL );
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-clientproject
public CustomizerJar( AppClientProjectProperties uiProperties ) {
initComponents();
jTextFieldDistDir.setDocument( uiProperties.DIST_JAR_MODEL );
jTextFieldExcludes.setDocument( uiProperties.BUILD_CLASSES_EXCLUDES_MODEL );
uiProperties.JAR_COMPRESS_MODEL.setMnemonic( jCheckBoxCommpress.getMnemonic() );
jCheckBoxCommpress.setModel( uiProperties.JAR_COMPRESS_MODEL );
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/org-netbeans-modules-editor-lib
im.put(KeyStroke.getKeyStroke(caseSensitive.getMnemonic(), InputEvent.ALT_MASK), CASE_SENSITIVE_SHORTCUT_ACTION);
am.put(CASE_SENSITIVE_SHORTCUT_ACTION, new AbstractAction() {
public void actionPerformed(ActionEvent e) {
im.put(KeyStroke.getKeyStroke(innerClasses.getMnemonic(), InputEvent.ALT_MASK), INNER_CLASSES_SHORTCUT_ACTION);
am.put(INNER_CLASSES_SHORTCUT_ACTION, new AbstractAction() {
public void actionPerformed(ActionEvent e) {
im.put(KeyStroke.getKeyStroke(libraryClasses.getMnemonic(), InputEvent.ALT_MASK), LIBRARY_CLASSES_SHORTCUT_ACTION);
am.put(LIBRARY_CLASSES_SHORTCUT_ACTION, new AbstractAction() {
public void actionPerformed(ActionEvent e) {
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-web-project
jTextFieldRelativeURL.setDocument( uiProperties.LAUNCH_URL_RELATIVE_MODEL );
vmOptions.setDocument(uiProperties.RUNMAIN_JVM_MODEL);
uiProperties.DISPLAY_BROWSER_MODEL.setMnemonic( jCheckBoxDisplayBrowser.getMnemonic() );
jCheckBoxDisplayBrowser.setModel( uiProperties.DISPLAY_BROWSER_MODEL );
jCheckBoxDeployOnSave.setModel(uiProperties.DEPLOY_ON_SAVE_MODEL);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-web-project
uiProperties.WAR_COMPRESS_MODEL.setMnemonic( jCheckBoxCompress.getMnemonic() );
jCheckBoxCompress.setModel( uiProperties.WAR_COMPRESS_MODEL );
ClassPathUiSupport.Callback callback = new ClassPathUiSupport.Callback() {
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-web-project
callback );
uiProperties.NO_DEPENDENCIES_MODEL.setMnemonic( jCheckBoxBuildSubprojects.getMnemonic() );
jCheckBoxBuildSubprojects.setModel( uiProperties.NO_DEPENDENCIES_MODEL );
librariesLocation.setDocument(uiProperties.SHARED_LIBRARIES_MODEL);
代码示例来源:origin: dcaoyuan/nbscala
null);
uiProperties.NO_DEPENDENCIES_MODEL.setMnemonic( jCheckBoxBuildSubprojects.getMnemonic() );
jCheckBoxBuildSubprojects.setModel( uiProperties.NO_DEPENDENCIES_MODEL );
librariesLocation.setDocument(uiProperties.SHARED_LIBRARIES_MODEL);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-clientproject
null);
uiProperties.NO_DEPENDENCIES_MODEL.setMnemonic( jCheckBoxBuildSubprojects.getMnemonic() );
jCheckBoxBuildSubprojects.setModel( uiProperties.NO_DEPENDENCIES_MODEL );
librariesLocation.setDocument(uiProperties.SHARED_LIBRARIES_MODEL);
内容来源于网络,如有侵权,请联系作者删除!