public interface WebComponent extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get a unique ID for this WebComponent.
|
String |
getName()
Deprecated.
no longer used. use
getId() instead. |
void |
paint(RenderContext renderContext)
Produce xml (or other) output.
|
void |
preparePaint(Request request)
Called before the component is painted.
|
void |
serviceRequest(Request request)
Transfer data from the incoming request to the context.
|
void preparePaint(Request request)
request
- the request being responded to.void paint(RenderContext renderContext)
renderContext
- the RenderContext to send the output to.String getName()
getId()
instead.String getId()
void serviceRequest(Request request)
request
- the request being serviced.Copyright © 2021. All rights reserved.