⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 texteditable.java

📁 很棒的web服务器源代码
💻 JAVA
字号:
// TextEditable.java// $Id: TextEditable.java,v 1.5 2000/08/16 21:37:57 ylafon Exp $// (c) COPYRIGHT MIT and INRIA, 1997.// Please first read the full copyright statement in file COPYRIGHT.htmlpackage org.w3c.tools.widgets;import java.awt.event.ActionListener;/** * Editable interface * @author Benoit Mahe <bmahe@sophia.inria.fr> */public interface TextEditable {  /**   * Sets the text that is presented by this interface to be the specified    * text.    * @param text - the new text   */  public void setText(String text);  /**   * Gets the text that is presented by this interface.   */  public String getText();  /**   * Check if the current text value and the default value are different.   */  public boolean updated();  /**   * Sets the text at its default value   */  public void setDefault();  /**   * Adds the specified action listener to recieve action events from    * this interface.    * @param al - the action listener.   */  public void addActionListener(ActionListener al);  /**   * Removes the specified action listener so that it no longer receives    * action events from interface.    * @param al - the action listener.   */  public void removeActionListener(ActionListener al);}

⌨️ 快捷键说明

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