Class StatusPanel<T>
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.inductiveautomation.ignition.gateway.web.components.LiveviewPanel
com.inductiveautomation.ignition.gateway.web.components.StatusPanel<T>
- All Implemented Interfaces:
- Serializable,- Iterable<org.apache.wicket.Component>,- org.apache.wicket.event.IEventSink,- org.apache.wicket.event.IEventSource,- org.apache.wicket.IConverterLocator,- 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
A panel that wraps a repeater that displays a list of items wrapped in titled panels that are collapsible and
 live-view enabled.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsFields inherited from class org.apache.wicket.markup.html.panel.PanelPANELFields inherited from class org.apache.wicket.ComponentENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER
- 
Constructor SummaryConstructorsConstructorDescriptionStatusPanel(String id, String titleKey, org.apache.wicket.model.IModel<? extends List<? extends T>> listModel) StatusPanel(String id, org.apache.wicket.model.IModel<String> titleModel, org.apache.wicket.model.IModel<? extends List<? extends T>> listModel) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanOverride this and return true to have live view enabled by defaultprotected org.apache.wicket.markup.html.panel.FragmentgetItemContents(int index, T modelObject) protected org.apache.wicket.model.IModelprotected Stringprotected booleanOverride this and return false to have live view link hiddenprotected booleanprotected booleanprotected org.apache.wicket.Componentprotected abstract org.apache.wicket.ComponentnewItemComponent(String id, T modelObject) Return a component that will be used to display an item.protected org.apache.wicket.ComponentnewItemNameLabel(String id, int itemIndex, T modelObject) Override this to create the component used as the label for each status panel.Methods inherited from class org.apache.wicket.markup.html.panel.PanelnewMarkupSourcingStrategyMethods inherited from class org.apache.wicket.markup.html.WebMarkupContainergetWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionMethods inherited from class org.apache.wicket.MarkupContaineradd, 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, visitChildrenMethods inherited from class org.apache.wicket.Componentadd, 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, wrapMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Field Details- 
listView
 
- 
- 
Constructor Details- 
StatusPanel
- 
StatusPanel
 
- 
- 
Method Details- 
isTitleVisibleprotected boolean isTitleVisible()
- 
getItemContents
- 
defaultLiveViewOnprotected boolean defaultLiveViewOn()Override this and return true to have live view enabled by default
- 
isLiveViewLinkVisibleprotected boolean isLiveViewLinkVisible()Override this and return false to have live view link hidden
- 
getNoItemsLabelprotected org.apache.wicket.model.IModel getNoItemsLabel()
- 
getNoItemsLabelKey
- 
newItemNameLabelOverride this to create the component used as the label for each status panel. By default, the key will be used if it is a string. If the key isn't a string, it will try and use the "name" property of the key, if it exists.
- 
newItemComponentReturn a component that will be used to display an item. This component will be placed in a ListItem whose model is a CompoundPropertyModel on an element of the item list
- 
isStartExpandedprotected boolean isStartExpanded()
 
-