📄 jtabpanel.java
字号:
package salvo.jesus.graph.javax.swing;
import java.io.*;
import javax.swing.JPanel;
/**
* Abstract class for components to act as a tabpage in a GraphTabbedPane,
* which is a subclass of JTabbedPane.
*
* Classes which implement this class must implement the apply()
* and ok() methods, which are automatically called when the Apply
* and OK JButtons are pressed presumably on a container that contains
* a GraphTabbedPane, such as VisualGraphComponentPropertiesPanel.
*
* @author Jesus M. Salvo Jr.
*/
public abstract class JTabPanel extends JPanel implements Serializable {
/**
* The intention is that when an * "Apply" JButton is clicked on a dialog,
* all JTabPanels (tabpages) will have their apply() method called.
*/
public abstract void apply();
/**
* The intention is that when an * "OK" JButton is clicked on a dialog,
* all JTabPanels (tabpages) will have their ok() method called.
*/
public abstract void ok();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -