Class AbstractSummaryPanel<C extends Containerable>
- java.lang.Object
-
- org.apache.wicket.Component
-
- org.apache.wicket.MarkupContainer
-
- org.apache.wicket.markup.html.WebMarkupContainer
-
- org.apache.wicket.markup.html.panel.Panel
-
- com.evolveum.midpoint.gui.api.component.BasePanel<C>
-
- com.evolveum.midpoint.web.component.AbstractSummaryPanel<C>
-
- All Implemented Interfaces:
Serializable
,Iterable<org.apache.wicket.Component>
,org.apache.wicket.event.IEventSink
,org.apache.wicket.event.IEventSource
,org.apache.wicket.feedback.IFeedbackContributor
,org.apache.wicket.IConverterLocator
,org.apache.wicket.IMetadataContext<Serializable,org.apache.wicket.Component>
,org.apache.wicket.IQueueRegion
,org.apache.wicket.markup.html.IHeaderContributor
,org.apache.wicket.request.component.IRequestableComponent
,org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
CaseWorkItemSummaryPanel
,ObjectSummaryPanel
public abstract class AbstractSummaryPanel<C extends Containerable> extends BasePanel<C>
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
ARCHETYPE_ICON_FONT_SIZE
protected org.apache.wicket.markup.html.WebMarkupContainer
box
protected static String
BOX_CSS_CLASS
protected SummaryPanelSpecificationType
configuration
protected static String
ICON_BOX_CSS_CLASS
protected org.apache.wicket.markup.html.WebMarkupContainer
iconBox
protected static String
ID_BOX
protected static String
ID_DISPLAY_NAME
protected static String
ID_ICON
protected static String
ID_ICON_BOX
protected static String
ID_IDENTIFIER
protected static String
ID_IDENTIFIER_PANEL
protected static String
ID_NAVIGATE_TO_OBJECT_BUTTON
protected static String
ID_ORGANIZATION
protected static String
ID_PHOTO
protected static String
ID_SUMMARY_TAG
protected static String
ID_TAG_BOX
protected static String
ID_TITLE
protected static String
ID_TITLE2
protected static String
ID_TITLE3
protected org.apache.wicket.markup.repeater.RepeatingView
tagBox
-
Constructor Summary
Constructors Constructor Description AbstractSummaryPanel(String id, org.apache.wicket.model.IModel<C> model, SummaryPanelSpecificationType configuration)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalVariablesMap(VariablesMap variables)
protected abstract String
getBoxAdditionalCssClass()
protected abstract String
getDefaultIconCssClass()
protected org.apache.wicket.model.IModel<String>
getDefaultParentOrgModel()
protected org.apache.wicket.model.IModel<String>
getDisplayNameModel()
protected QName
getDisplayNamePropertyName()
protected abstract String
getIconBoxAdditionalCssClass()
protected QName
getIdentifierPropertyName()
protected org.apache.wicket.model.IModel<String>
getParentOrgModel()
protected org.apache.wicket.model.IModel<org.apache.wicket.request.resource.AbstractResource>
getPhotoModel()
protected ObjectReferenceType
getReferencedObjectToNavigate()
protected org.apache.wicket.model.IModel<String>
getReferenceObjectTitleModel()
protected org.apache.wicket.markup.html.WebMarkupContainer
getSummaryBoxPanel()
protected List<SummaryTag<C>>
getSummaryTagComponentList()
org.apache.wicket.Component
getTag(String id)
protected String
getTagBoxCssClass()
protected org.apache.wicket.model.IModel<String>
getTitle2Model()
protected QName
getTitle2PropertyName()
protected org.apache.wicket.model.IModel<String>
getTitle3Model()
protected QName
getTitle3PropertyName()
protected org.apache.wicket.model.IModel<String>
getTitleModel()
protected QName
getTitlePropertyName()
protected boolean
isIdentifierVisible()
protected void
onInitialize()
-
Methods inherited from class com.evolveum.midpoint.gui.api.component.BasePanel
createComponentPath, createModel, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, getFeedbackPanel, getMidpointConfiguration, getModel, getModelObject, getPageBase, getParentPage, getPrismContext, getRegistry, getSchemaService, getSession, getString, getString, getWebApplicationConfiguration, showResult
-
Methods inherited from class org.apache.wicket.markup.html.panel.Panel
getRegionMarkup, newMarkupSourcingStrategy
-
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
-
Methods inherited from class org.apache.wicket.MarkupContainer
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildren
-
Methods inherited from class org.apache.wicket.Component
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, 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, getMarkupTag, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
ID_BOX
protected static final String ID_BOX
- See Also:
- Constant Field Values
-
ID_ICON_BOX
protected static final String ID_ICON_BOX
- See Also:
- Constant Field Values
-
ID_TAG_BOX
protected static final String ID_TAG_BOX
- See Also:
- Constant Field Values
-
ID_SUMMARY_TAG
protected static final String ID_SUMMARY_TAG
- See Also:
- Constant Field Values
-
ID_ICON
protected static final String ID_ICON
- See Also:
- Constant Field Values
-
ID_DISPLAY_NAME
protected static final String ID_DISPLAY_NAME
- See Also:
- Constant Field Values
-
ID_IDENTIFIER
protected static final String ID_IDENTIFIER
- See Also:
- Constant Field Values
-
ID_IDENTIFIER_PANEL
protected static final String ID_IDENTIFIER_PANEL
- See Also:
- Constant Field Values
-
ID_NAVIGATE_TO_OBJECT_BUTTON
protected static final String ID_NAVIGATE_TO_OBJECT_BUTTON
- See Also:
- Constant Field Values
-
ID_TITLE
protected static final String ID_TITLE
- See Also:
- Constant Field Values
-
ID_TITLE2
protected static final String ID_TITLE2
- See Also:
- Constant Field Values
-
ID_TITLE3
protected static final String ID_TITLE3
- See Also:
- Constant Field Values
-
ID_PHOTO
protected static final String ID_PHOTO
- See Also:
- Constant Field Values
-
ID_ORGANIZATION
protected static final String ID_ORGANIZATION
- See Also:
- Constant Field Values
-
BOX_CSS_CLASS
protected static final String BOX_CSS_CLASS
- See Also:
- Constant Field Values
-
ICON_BOX_CSS_CLASS
protected static final String ICON_BOX_CSS_CLASS
- See Also:
- Constant Field Values
-
ARCHETYPE_ICON_FONT_SIZE
protected static final String ARCHETYPE_ICON_FONT_SIZE
- See Also:
- Constant Field Values
-
configuration
protected SummaryPanelSpecificationType configuration
-
box
protected org.apache.wicket.markup.html.WebMarkupContainer box
-
tagBox
protected org.apache.wicket.markup.repeater.RepeatingView tagBox
-
iconBox
protected org.apache.wicket.markup.html.WebMarkupContainer iconBox
-
-
Constructor Detail
-
AbstractSummaryPanel
public AbstractSummaryPanel(String id, org.apache.wicket.model.IModel<C> model, SummaryPanelSpecificationType configuration)
-
-
Method Detail
-
onInitialize
protected void onInitialize()
- Overrides:
onInitialize
in classorg.apache.wicket.MarkupContainer
-
getSummaryTagComponentList
protected List<SummaryTag<C>> getSummaryTagComponentList()
-
getReferencedObjectToNavigate
protected ObjectReferenceType getReferencedObjectToNavigate()
-
getReferenceObjectTitleModel
protected org.apache.wicket.model.IModel<String> getReferenceObjectTitleModel()
-
addAdditionalVariablesMap
protected void addAdditionalVariablesMap(VariablesMap variables)
-
getTagBoxCssClass
protected String getTagBoxCssClass()
-
getTag
public org.apache.wicket.Component getTag(String id)
-
getDefaultIconCssClass
protected abstract String getDefaultIconCssClass()
-
getIconBoxAdditionalCssClass
protected abstract String getIconBoxAdditionalCssClass()
-
getBoxAdditionalCssClass
protected abstract String getBoxAdditionalCssClass()
-
getIdentifierPropertyName
protected QName getIdentifierPropertyName()
-
getDisplayNamePropertyName
protected QName getDisplayNamePropertyName()
-
getDisplayNameModel
protected org.apache.wicket.model.IModel<String> getDisplayNameModel()
-
getTitlePropertyName
protected QName getTitlePropertyName()
-
getTitleModel
protected org.apache.wicket.model.IModel<String> getTitleModel()
-
getTitle2PropertyName
protected QName getTitle2PropertyName()
-
getTitle2Model
protected org.apache.wicket.model.IModel<String> getTitle2Model()
-
getTitle3PropertyName
protected QName getTitle3PropertyName()
-
getTitle3Model
protected org.apache.wicket.model.IModel<String> getTitle3Model()
-
isIdentifierVisible
protected boolean isIdentifierVisible()
-
getParentOrgModel
protected org.apache.wicket.model.IModel<String> getParentOrgModel()
-
getDefaultParentOrgModel
protected org.apache.wicket.model.IModel<String> getDefaultParentOrgModel()
-
getPhotoModel
protected org.apache.wicket.model.IModel<org.apache.wicket.request.resource.AbstractResource> getPhotoModel()
-
getSummaryBoxPanel
protected org.apache.wicket.markup.html.WebMarkupContainer getSummaryBoxPanel()
-
-