public abstract class BaseChatPanel
extends org.apache.wicket.markup.html.panel.Panel
| Constructor and Description |
|---|
BaseChatPanel(String id,
org.apache.wicket.model.IModel<ChatroomModel> model)
Instantiates a new base chat panel.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChannelListener(org.apache.wicket.model.IModel<ChatroomModel> model)
Adds the channel listener to the channel service.
|
protected abstract org.wicketstuff.chat.channel.api.IChannelService |
getChannelService()
Abstract method that subclasses must implement.
|
org.apache.wicket.Component |
getChat()
Gets the chat.
|
org.apache.wicket.markup.html.form.Form<ChatroomModel> |
getForm()
Gets the form.
|
org.apache.wicket.markup.html.form.TextField<String> |
getMessage()
Gets the message.
|
org.apache.wicket.ajax.markup.html.form.AjaxButton |
getSend()
Gets the send.
|
protected org.apache.wicket.Component |
newChatLabel(String id)
Factory method for creating the Chat component.
|
protected org.apache.wicket.markup.html.form.Form<ChatroomModel> |
newForm(String id,
org.apache.wicket.model.IModel<ChatroomModel> model)
New form.
|
protected org.apache.wicket.markup.html.form.TextField<String> |
newMessageTextField(String id)
Factory method for creating the TextField for the message.
|
protected org.apache.wicket.ajax.markup.html.form.AjaxButton |
newSendAjaxButton(String id,
org.apache.wicket.markup.html.form.Form<ChatroomModel> form)
Factory method for creating the AjaxButton.
|
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic BaseChatPanel(String id, org.apache.wicket.model.IModel<ChatroomModel> model)
id - the idmodel - the modelprotected void addChannelListener(org.apache.wicket.model.IModel<ChatroomModel> model)
model - the modelprotected abstract org.wicketstuff.chat.channel.api.IChannelService getChannelService()
public org.apache.wicket.Component getChat()
public org.apache.wicket.markup.html.form.Form<ChatroomModel> getForm()
public org.apache.wicket.markup.html.form.TextField<String> getMessage()
public org.apache.wicket.ajax.markup.html.form.AjaxButton getSend()
protected org.apache.wicket.Component newChatLabel(String id)
id - the idprotected org.apache.wicket.markup.html.form.Form<ChatroomModel> newForm(String id, org.apache.wicket.model.IModel<ChatroomModel> model)
id - the idmodel - the modelprotected org.apache.wicket.markup.html.form.TextField<String> newMessageTextField(String id)
id - the idprotected org.apache.wicket.ajax.markup.html.form.AjaxButton newSendAjaxButton(String id, org.apache.wicket.markup.html.form.Form<ChatroomModel> form)
id - the idform - the formCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.