public class SpreadsheetTag extends javax.servlet.jsp.tagext.SimpleTagSupport implements javax.servlet.jsp.tagext.DynamicAttributes, Serializable
| Constructor and Description | 
|---|
| SpreadsheetTag() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | doAfterComposeComponent()Invokes composer for further processing after composing component | 
| void | doTag()Reders Keikai Spreadsheet JSP tag | 
| static void | evaluateDynaAttribute(org.zkoss.zk.ui.Component target,
                     String attnm,
                     Object value)Test if the attribute are annotation or component attribute. If(is Component attribute)Invokes setter method to update all assigned attribute. | 
| protected void | evaluateDynaAttributes(org.zkoss.zk.ui.Component target,
                      Map attrs)Evaluate all attributes. | 
| Object | getBookProvider() | 
| protected String | getComponentName()The name of the component from the ZK Component Definition | 
| String | getUse()Returns the class name that is used to implement the component
 associated with this tag. | 
| protected void | initComponent(org.zkoss.zk.ui.Page page)Inits Spreadsheet component | 
| void | setBookProvider(Object bookProvider)Sets the book provider, it could either a instance or a class name of  BookProvider | 
| void | setDynamicAttribute(String uri,
                   String localName,
                   Object value)Stores attribute name-value pairs for later processing | 
| void | setUse(String use)Sets the class name that is used to implement the component
 associated with this tag. | 
public void doTag()
           throws javax.servlet.jsp.JspException,
                  IOException
doTag in interface javax.servlet.jsp.tagext.SimpleTagdoTag in class javax.servlet.jsp.tagext.SimpleTagSupportjavax.servlet.jsp.JspExceptionIOExceptionprotected void initComponent(org.zkoss.zk.ui.Page page)
                      throws Exception
page - Exceptionprotected String getComponentName()
protected void doAfterComposeComponent()
                                throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspExceptionprotected void evaluateDynaAttributes(org.zkoss.zk.ui.Component target,
                                      Map attrs)
                               throws NoSuchMethodException
target - the target componentattrs - NoSuchMethodExceptionpublic static void evaluateDynaAttribute(org.zkoss.zk.ui.Component target,
                                         String attnm,
                                         Object value)
                                  throws NoSuchMethodException
target - attnm - value - NoSuchMethodExceptionpublic void setDynamicAttribute(String uri, String localName, Object value) throws javax.servlet.jsp.JspException
setDynamicAttribute in interface javax.servlet.jsp.tagext.DynamicAttributesjavax.servlet.jsp.JspExceptionpublic String getUse()
Default: null
public void setUse(String use)
use - the class name used to implement the component, or null
 to use the defaultpublic Object getBookProvider()
public void setBookProvider(Object bookProvider)
BookProviderbookProvider - Copyright © 2020. All rights reserved.