|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tapestry.spec.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.form.AbstractFormComponent
org.apache.tapestry.form.Button
public abstract class Button
Implements a component that manages an HTML <input type=button> form element. [Component Reference]
This component is useful for attaching JavaScript onclick event handlers.
| Constructor Summary | |
|---|---|
Button()
|
|
| Method Summary | |
|---|---|
abstract String |
getLabel()
|
abstract boolean |
isDisabled()
Returns true if the component is disabled. |
protected void |
renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle)
to actually render the component (with any parameter values
already set). |
| Methods inherited from class org.apache.tapestry.form.AbstractFormComponent |
|---|
getDisplayName, getForm, getForm, getName, setForm, setName |
| Methods inherited from class org.apache.tapestry.spec.BaseLocatable |
|---|
getLocation, setLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.tapestry.IComponent |
|---|
addAsset, addBody, addComponent, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, renderBody, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification |
| Methods inherited from interface org.apache.tapestry.IRender |
|---|
render |
| Methods inherited from interface org.apache.tapestry.ILocationHolder |
|---|
setLocation |
| Methods inherited from interface org.apache.tapestry.ILocatable |
|---|
getLocation |
| Constructor Detail |
|---|
public Button()
| Method Detail |
|---|
protected void renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
AbstractComponentAbstractComponent.render(IMarkupWriter, IRequestCycle)
to actually render the component (with any parameter values
already set). This is the method that subclasses must implement.
renderComponent in class AbstractComponentpublic abstract String getLabel()
public abstract boolean isDisabled()
IFormComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||