|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Component org.apache.wicket.markup.html.WebComponent
public class WebComponent
Base class for simple HTML components which do not hold nested components. If you need to support nested components, see WebMarkupContainer or use Panel if the component will have its own associated markup.
WebMarkupContainer
,
Serialized FormField Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
WebComponent(String id)
|
|
WebComponent(String id,
IModel<?> model)
|
Method Summary | |
---|---|
WebApplication |
getWebApplication()
A convenience method to return the WebApplication. |
WebPage |
getWebPage()
A convenience method to return the WebPage. |
WebRequest |
getWebRequest()
A convenience method to return the current WebRequest. |
WebResponse |
getWebResponse()
A convenience method to return the current WebResponse. |
WebSession |
getWebSession()
A convenience method to return the WebSession. |
protected void |
onRender()
Implementation that renders this component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebComponent(String id)
Component.Component(String)
public WebComponent(String id, IModel<?> model)
Component.Component(String, IModel)
Method Detail |
---|
protected void onRender()
Component
onRender
in class Component
public final WebPage getWebPage()
public final WebRequest getWebRequest()
Component.getRequest()
.
public final WebResponse getWebResponse()
Component.getResponse()
.
public final WebSession getWebSession()
Component.getSession()
.
public final WebApplication getWebApplication()
WebApplication.get()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |