public class ReporterInput extends org.apache.wicket.markup.html.WebMarkupContainer implements AuthorizedComponent, ChangeGenerator<Object[]>
Reporter
. Will add an Ajax button that will trigger the listeners
on Ajax submut.
ChangeGenerator
; it will also generate Events of TypeDynamicInputForm
,
Serialized FormConstructor and Description |
---|
ReporterInput(String id,
org.apache.wicket.model.IModel<ReporterMeta<FacetMeta>> model) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener)
Allow Notify all
ChangeListener s about a change |
List |
getListeners()
Get list directly.
|
void |
notifyAllListeners(Object[] params)
Whenever a node is selected/updated, it also notifies its listeners.
|
void |
onInitialize() |
protected void |
onSubmit(ReporterMeta<FacetMeta> rmeta) |
void |
setListeners(List listeners)
Set list directly.
|
getMarkupType, getWebPage, getWebRequest
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onComponentTag, onConfigure, onDetach, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
public ReporterInput(String id, org.apache.wicket.model.IModel<ReporterMeta<FacetMeta>> model)
public void onInitialize()
onInitialize
in class org.apache.wicket.Component
protected void onSubmit(ReporterMeta<FacetMeta> rmeta)
public void addChangeListener(ChangeListener listener)
ChangeGenerator
ChangeListener
s about a changeaddChangeListener
in interface ChangeGenerator<Object[]>
public void notifyAllListeners(Object[] params)
ChangeGenerator
notifyAllListeners
in interface ChangeGenerator<Object[]>
public List getListeners()
ChangeGenerator
getListeners
in interface ChangeGenerator<Object[]>
public void setListeners(List listeners)
ChangeGenerator
setListeners
in interface ChangeGenerator<Object[]>
Copyright © 2018. All rights reserved.