public class SpreadsheetTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements javax.servlet.jsp.tagext.DynamicAttributes
Constructor and Description |
---|
SpreadsheetTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
doAfterComposeComponent()
Invokes composer for further processing after composing component
|
void |
doTag()
Reders ZK Spreadsheet JSP tag
|
static void |
evaluateDynaAttribute(org.zkoss.zk.ui.Component target,
java.lang.String attnm,
java.lang.Object value)
Test if the attribute are annotation or component attribute.
|
protected void |
evaluateDynaAttributes(org.zkoss.zk.ui.Component target,
java.util.Map attrs)
Evaluate all attributes.
|
java.lang.Object |
getBookProvider() |
protected java.lang.String |
getComponentName()
The name of the component from the ZK Component Definition
|
java.lang.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(java.lang.Object bookProvider)
Sets the book provider, it could either a instance or a class name of
BookProvider |
void |
setDynamicAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.Object value)
Stores attribute name-value pairs for later processing
|
void |
setUse(java.lang.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, java.io.IOException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
java.io.IOException
protected void initComponent(org.zkoss.zk.ui.Page page) throws java.lang.Exception
page
- java.lang.Exception
protected java.lang.String getComponentName()
protected void doAfterComposeComponent() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
protected void evaluateDynaAttributes(org.zkoss.zk.ui.Component target, java.util.Map attrs) throws java.lang.NoSuchMethodException
target
- the target componentattrs
- java.lang.NoSuchMethodException
public static void evaluateDynaAttribute(org.zkoss.zk.ui.Component target, java.lang.String attnm, java.lang.Object value) throws java.lang.NoSuchMethodException
target
- attnm
- value
- java.lang.NoSuchMethodException
public void setDynamicAttribute(java.lang.String uri, java.lang.String localName, java.lang.Object value) throws javax.servlet.jsp.JspException
setDynamicAttribute
in interface javax.servlet.jsp.tagext.DynamicAttributes
javax.servlet.jsp.JspException
public java.lang.String getUse()
Default: null
public void setUse(java.lang.String use)
use
- the class name used to implement the component, or null
to use the defaultpublic java.lang.Object getBookProvider()
public void setBookProvider(java.lang.Object bookProvider)
BookProvider
bookProvider
- Copyright © 2005-2010 Potix Corporation. All Rights Reserved.