|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.PageNode org.japano.pagenode.Button
public class Button
Inserts a javascript button into the document if javascript is enabled. When javascript is disabled no button will be generated. You can use the HTML <noscript> to specify alternate HTML elements for it.
Make sure your pages are working even if the user disables javascript!
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.japano.PageNode |
---|
PageNode.Output |
Field Summary |
---|
Fields inherited from class org.japano.PageNode |
---|
children, context, EMPTY, nodeId, parent |
Constructor Summary | |
---|---|
Button()
|
Method Summary | |
---|---|
void |
generate(Buffer out)
Generates this node The base implementation just calls PageNode.generateChildren(Buffer) |
void |
setFn(java.lang.String fn)
Sets the javascript function to call when the button is pressed. |
Methods inherited from class org.japano.PageNode |
---|
findChildren, findParent, findRootNode, generateChildren, getChildren, getContext, getNodeId, getParent, init, recInit, release, setChildren, setContext, setNodeId, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Button()
Method Detail |
---|
public void setFn(java.lang.String fn)
public void generate(Buffer out)
PageNode
PageNode.generateChildren(Buffer)
generate
in class PageNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |