📄 formevent.java
字号:
/* * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a> * @version $Id: FormEvent.java 4709 2006-03-31 20:41:54Z novotny $ */package org.gridsphere.provider.event.jsr;import org.gridsphere.provider.portletui.beans.*;import org.gridsphere.services.core.persistence.QueryFilter;import java.io.IOException;import java.util.Map;/** * The <code>FormEvent</code> provides a decorator around a <code>ActionEvent</code> and is used in the GridSphere * <code>ActionPortlet</code> model to create and store visual beans representing user interfaces. */public interface FormEvent { /** * Return an existing <code>ActionLinkBean</code> or create a new one * * @param beanId the bean identifier * @return a ActionLinkBean */ public ActionLinkBean getActionLinkBean(String beanId); /** * Return an existing <code>ParamBean</code> or create a new one * * @param beanId the bean identifier * @return a ParamBean */ public ParamBean getParamBean(String beanId); /** * Return an existing <code>ActionSubmitBean</code> or create a new one * * @param beanId the bean identifier * @return a ActionSubmitBean */ public ActionSubmitBean getActionSubmitBean(String beanId); /** * Return an existing <code>FrameBean</code> or create a new one * * @param beanId the bean identifier * @return a FrameBean */ public FrameBean getFrameBean(String beanId); /** * Return an existing <code>FileInputBean</code> or create a new one * * @param beanId the bean identifier * @return a FileInputBean * @throws IOException if an I/O error occurs */ public FileInputBean getFileInputBean(String beanId) throws IOException; /** * Return an existing <code>CalendarBean</code> or create a new one * * @param beanId the bean identifier * @return a CalendarBean */ public CalendarBean getCalendarBean(String beanId); /** * Return an existing <code>CheckBoxBean</code> or create a new one * * @param beanId the bean identifier * @return a CheckBoxBean */ public CheckBoxBean getCheckBoxBean(String beanId); /** * Return an existing <code>RadioButtonBean</code> or create a new one * * @param beanId the bean identifier * @return a RadioButtonBean */ public RadioButtonBean getRadioButtonBean(String beanId); /** * Return an existing <code>TextFieldBean</code> or create a new one * * @param beanId the bean identifier * @return a TextFieldBean */ public TextFieldBean getTextFieldBean(String beanId); /** * Return an existing <code>TextEditorBean</code> or create a new one * * @param beanId the bean identifier * @return a TextEditorBean */ public TextEditorBean getTextEditorBean(String beanId); /** * Return an existing <code>RichTextEditroBean</code> or cerate a new one. * * @param beanId the bean identifier * @return a RichTextEditorBean */ public RichTextEditorBean getRichTextEditorBean(String beanId); /** * Return an existing <code>TreeBean</code> or create a new one. * * @param beanId bendId of the bean Idetifier * @return a TreeBean */ public TreeBean getTreeBean(String beanId); /** * Return an existing <code>HiddenFieldBean</code> or create a new one * * @param beanId the bean identifier * @return a HiddenFieldBean */ public HiddenFieldBean getHiddenFieldBean(String beanId); /** * Return an existing <code>PasswordBean</code> or create a new one * * @param beanId the bean identifier * @return a PasswordBean */ public PasswordBean getPasswordBean(String beanId); /** * Return an existing <code>TextAreaBean</code> or create a new one * * @param beanId the bean identifier * @return a TextAreaBean */ public TextAreaBean getTextAreaBean(String beanId); /** * Return an existing <code>TextBean</code> or create a new one * * @param beanId the bean identifier * @return a TextBean */ public TextBean getTextBean(String beanId); /** * Return an existing <code>ImageBean</code> or create a new one * * @param beanId the bean identifier * @return a ImageBean */ public ImageBean getImageBean(String beanId); /** * Return an existing <code>ListBoxBean</code> or create a new one * * @param beanId the bean identifier * @return a ListBoxBean */ public ListBoxBean getListBoxBean(String beanId); /** * Return an existing <code>PanelBean</code> or create a new one * * @param beanId the bean identifier * @return a PanelBean */ public PanelBean getPanelBean(String beanId); /** * Return an existing <code>TableCellBean</code> or create a new one * * @param beanId the bean identifier * @return a TableCellBean */ public TableCellBean getTableCellBean(String beanId); /** * Return an existing <code>TableRowBean</code> or create a new one * * @param beanId the bean identifier * @return a TableRowBean */ public TableRowBean getTableRowBean(String beanId); /** * Return an existing <code>TableBean</code> or create a new one * * @param beanId the bean identifier * @return a TableBean */ public TableBean getTableBean(String beanId); /** * Returns the collection of visual tag beans contained by this form event * * @return the collection of visual tag beans */ public Map getTagBeans(); public ActionMenuBean getActionMenuBean(String beanId); public ActionMenuItemBean getActionMenuItemBean(String beanId); /** * Return an existing <code>IncludeBean</code> or create a new one * * @param beanId the bean identifier * @return an include bean */ public IncludeBean getIncludeBean(String beanId); /** * Return an existing <code>MessageBoxBean</code> or create a new one * * @param beanId bean identifier * @return a mesage box bean */ public MessageBoxBean getMessageBoxBean(String beanId); public QueryFilter getQueryFilter(int maxResults, int totalItems); /** * Stores any created beans into the request */ public void store();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -