propertyeditorlistener.java

来自「本系统是用 java 语言实现的一个 Email客户端」· Java 代码 · 共 30 行

JAVA
30
字号
package net.suberic.util.gui.propedit;/** * This listens to a PropertyEditorUI and reacts to changes. */public interface PropertyEditorListener {  /**   * Called when a property is about to change.  If the value is not ok   * with the listener, a PropertyValueVetoException should be thrown.   */  public void propertyChanging(PropertyEditorUI source, String property, String newValue) throws PropertyValueVetoException;  /**   * Called after a property changes.   */  public void propertyChanged(PropertyEditorUI source, String property, String newValue);  /**   * Called when a property is about to change.  If the value is not ok   * with the listener, a PropertyValueVetoException should be thrown.   */  public void propertyCommitting(PropertyEditorUI source, String property, String newValue) throws PropertyValueVetoException;  /**   * Called when an editor is initialized with a set value.   */  public void propertyInitialized(PropertyEditorUI source, String property, String newValue);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?