wicket.markup.html
Class WebComponent

java.lang.Object
  extended by wicket.Component
      extended by wicket.markup.html.WebComponent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AjaxSubmitButton, Image, Include, Label, MultiLineLabel

public class WebComponent
extends Component

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.

Author:
Jonathan Locke, Juergen Donnerstag, Eelco Hillenius
See Also:
WebMarkupContainer, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class wicket.Component
Component.ComponentModelChange, Component.EnabledChange, Component.IVisitor, Component.VisibilityChange
 
Field Summary
 
Fields inherited from class wicket.Component
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER
 
Constructor Summary
WebComponent(java.lang.String id)
           
WebComponent(java.lang.String id, IModel model)
           
 
Method Summary
protected  void onRender(MarkupStream markupStream)
          Implementation that renders this component.
 
Methods inherited from class wicket.Component
add, addStateChange, checkComponentTag, checkComponentTagAttribute, continueToOriginalDestination, debug, detachBehaviors, detachModel, detachModels, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getApplicationPages, getApplicationSettings, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMetaData, getModel, getModelComparator, getModelObject, getModelObjectAsString, getOutputMarkupId, getPage, getPageFactory, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isBehaviorAccepted, isEnableAllowed, isEnabled, isHeadRendered, isIgnoreAttributeModifier, isRenderAllowed, isVersioned, isVisible, isVisibleInHierarchy, modelChanged, modelChanging, newPage, newPage, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onComponentTag, onComponentTagBody, onDetach, onEndRequest, onModelChanged, onModelChanging, onRender, redirectToInterceptPage, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderedBehaviors, renderHead, replaceComponentTagBody, replaceWith, resetHeadRendered, sameRootModel, sameRootModel, setAuto, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupStream, setMetaData, setModel, setModelObject, setOutputMarkupId, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisible, toString, toString, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebComponent

public WebComponent(java.lang.String id)
See Also:
Component.Component(String)

WebComponent

public WebComponent(java.lang.String id,
                    IModel model)
See Also:
Component.Component(String, IModel)
Method Detail

onRender

protected void onRender(MarkupStream markupStream)
Description copied from class: Component
Implementation that renders this component.

Specified by:
onRender in class Component
See Also:
Component.onRender(wicket.markup.MarkupStream)


Copyright © 2004-2007 Wicket developers. All Rights Reserved.