insertstructureaction.java
来自「化学图形处理软件」· Java 代码 · 共 30 行
JAVA
30 行
package org.openscience.cdk.applications.jchempaint.action;import org.openscience.cdk.applications.jchempaint.JChemPaintEditorPanel;import java.awt.event.ActionEvent;/** * Opens a new empty JChemPaintFrame. * * @author Rajarshi Guha * @cdk.module jchempaint * @cdk.created 2006-09-26 */public class InsertStructureAction extends JCPAction { private static final long serialVersionUID = -7685519078261241187L; /** * Hide or show the structure entry text field. * * @param e Description of the Parameter */ public void actionPerformed(ActionEvent e) { if (((JChemPaintEditorPanel) jcpPanel).getShowInsertTextField()) ((JChemPaintEditorPanel) jcpPanel).setShowInsertTextField(false); else ((JChemPaintEditorPanel) jcpPanel).setShowInsertTextField(true); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?