ibutoractionform.java

来自「一个实用工具类」· Java 代码 · 共 76 行

JAVA
76
字号
/* * Copyright (C) butor.com. All rights reserved. * * This software is published under the terms of the GNU Library General * Public License (GNU LGPL), a copy of which has been included with this * distribution in the LICENSE.txt file.  */package org.butor.web.action;import org.apache.struts.action.ActionErrors;import org.apache.struts.action.ActionMapping;import org.butor.web.helper.ButorServletRequest;/** * @author nacroaz * * To change this generated comment edit the template variable "typecomment": * Window>Preferences>Java>Templates. */public interface IButorActionForm {	/**	 * Clear all properties of this form.	 */	public void clear();				/**	 * Returns the property enability	 */		public boolean getEnabled(String property);			public boolean isEnablePropertyExists(String property);		/**	 * Returns the property visibility	 */				public boolean getVisible(String property);	/**	 * Wak-specific reset method.  Forces the use of ButorActionMapping and 	 * ButorServletRequest.	 */	public void resetForm(ActionMapping mapping, ButorServletRequest request);	/**	 * Wak-specific validate method.  Forces the use of ButorActionMapping and 	 * ButorServletRequest.	 */	public ActionErrors validateForm(ActionMapping mapping, ButorServletRequest request);	/**	 * Sets the property enability	 */			public void setEnabled(String property, boolean enabled);		/**	 * Sets the property visibility	 */				public void setVisible(String property, boolean visible);			/**	 * Recursively sets every properties enability of this form.	 * 	 * Note: Don't name this method setEnabled, it seems to confuse the introspection!	 */	public void setAllEnabled(boolean enabled);			/**	 * Recursively sets every properties visibility of this form.	 * 	 * Note: Don't name this method setVisible, it seems to confuse the introspection!	 */	public void setAllVisible(boolean visible);	}

⌨️ 快捷键说明

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