Class AlarmStatusTable
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.vision.api.client.components.model.AbstractVisionPanel
com.inductiveautomation.factorypmi.application.components.alarm.AbstractAlarmTable
com.inductiveautomation.factorypmi.application.components.AlarmStatusTable
- All Implemented Interfaces:
DynamicPropertyProvider,LocaleListener,MutableDynamicPropertyProvider,StyleProvider,ComponentLifecycle,EnabledEx,ExtensibleComponent,QualityMonitor,VisionComponent,ImageObserver,MenuContainer,Serializable,Accessible
public class AlarmStatusTable
extends AbstractAlarmTable
implements ExtensibleComponent, LocaleListener
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.factorypmi.application.components.alarm.AbstractAlarmTable
AbstractAlarmTable.AbstractRowStyleTableModel, AbstractAlarmTable.AlarmDetailsViewer, AbstractAlarmTable.AlarmPopup, AbstractAlarmTable.AlarmTableTabbedPane, AbstractAlarmTable.DateCellRenderer, AbstractAlarmTable.NumberCellRenderer, AbstractAlarmTable.PopupHolderPanel, AbstractAlarmTable.TranslatableCellRenderer, AbstractAlarmTable.TranslatableHeaderRenderer, AbstractAlarmTable.TranslatableListCellRendererNested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intprotected JPanelstatic final intFields inherited from class com.inductiveautomation.factorypmi.application.components.alarm.AbstractAlarmTable
alarmRef, dateFormat, durationFormat, flasher, flashInterval, hidePopupRunner, log, numberFormat, POPUP, rowStyles, rowStylesActual, selectionColor, selectionThickness, slider, slidingContentHolder, STANDARD_STYLE, table, tableBackground, touchscreenModeFields inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionPanel
antialias, context, cursorCode, dynamicPropsFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecycle
COMPONENT_RUNNINGFields inherited from interface com.inductiveautomation.vision.api.client.components.model.EnabledEx
DISABLED_BY_PERMISSIONSFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListener
LOCAL_CHANGE_EVENTFields inherited from interface com.inductiveautomation.vision.api.client.binding.MutableDynamicPropertyProvider
RESERVED_SET_KEYFields inherited from interface com.inductiveautomation.vision.api.client.components.model.VisionComponent
COMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintintbooleanintintintlongintintintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidlocaleChanged(Locale newLocale) protected voidSubclasses should override this to provide shutdown logic.protected voidSubclasses should override this to provide startup logic.protected List<AlarmEvent>Gets the current List of selected AlarmEventsprotected List<AlarmEvent>voidsetActiveAndAcked(boolean activeAndAcked) voidsetActiveAndUnacked(boolean activeAndUnacked) voidsetAlarmJournalName(String alarmJournalName) voidsetAlarms(List<AlarmEvent> alarms) voidsetChartResolution(int chartResolution) voidsetClearAndAcked(boolean clearAndAcked) voidsetClearAndUnacked(boolean clearAndUnacked) voidsetDefaultView(String defaultView) voidsetDisplayPathFilter(String displayPathFilter) voidsetEnabled(boolean enabled) voidvoidsetHeaderAlignment(int alignment) voidsetMarqueeMode(boolean marqueeMode) voidsetMinPriority(int min) voidsetMultiSelect(boolean multiSelect) voidsetNotesAreaBorder(Border notesAreaBorder) voidsetNotesAreaFont(Font notesAreaFont) voidsetNotesAreaLocation(int notesAreaLocation) voidsetNotesAreaSize(int notesAreaSize) voidsetProviderFilter(String providerFilter) voidsetRefreshRate(long rate) voidsetRowHeight(int newHeight) voidsetScrollDelay(int delay) voidsetSelectedAlarms(Dataset value) voidsetShelvingTimes(Dataset shelvingTimes) voidsetShowAck(boolean showAck) voidsetShowChart(boolean showChart) voidsetShowDetails(boolean showDetails) voidsetShowFooterPanel(boolean showFooterPanel) voidsetShowManageShelf(boolean showManageShelf) voidsetShowShelve(boolean showShelve) voidsetShowTableHeader(boolean showTableHeader) voidsetShowTableHeaderPopup(boolean showTableHeaderPopup) voidsetSortOldestFirst(boolean sortOldestFirst) voidsetSortOrder(int sortOrder) voidsetSourceFilter(String sourceFilter) voidsetStayDelay(int delay) voidsetTableBackground(Color tableBackground) voidsetTableHeaderFont(Font tableHeaderFont) Methods inherited from class com.inductiveautomation.factorypmi.application.components.alarm.AbstractAlarmTable
applyRowStyles, evaluateEnabled, getActualRow, getDateFormat, getDisplayValue, getDurationFormat, getFlashInterval, getHeaderDisplayValue, getNumberFormat, getSelectionColor, getSelectionThickness, getSortable, getTableBackground, getTouchscreenMode, hidePopup, initSliderUi, isComponentEnabled, paintChildren, print, setComponentEnabled, setDateFormat, setDurationFormat, setFlashInterval, setFont, setNumberFormat, setRowStyles, setSelectionColor, setSelectionThickness, setTouchscreenMode, showPopup, showPopup, syncTableFont, viewRowToAlarmMethods inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionPanel
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getQuality, getStyles, getToolTipText, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, paintComponent, paintOverlayOverChildren, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setName, setPropertyValue, setQuality, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, translate, updateQualityMethods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecycle
getAppContext, shutdownComponent, startupComponent
-
Field Details
-
HIDDEN
public static final int HIDDEN- See Also:
-
SOUTH
public static final int SOUTH- See Also:
-
WEST
public static final int WEST- See Also:
-
NORTH
public static final int NORTH- See Also:
-
EAST
public static final int EAST- See Also:
-
tableHolder
-
-
Constructor Details
-
AlarmStatusTable
public AlarmStatusTable()
-
-
Method Details
-
getExtensionFunctions
- Specified by:
getExtensionFunctionsin interfaceExtensibleComponent
-
setExtensionFunctions
- Specified by:
setExtensionFunctionsin interfaceExtensibleComponent
-
localeChanged
- Specified by:
localeChangedin interfaceLocaleListener- Overrides:
localeChangedin classAbstractAlarmTable
-
setEnabled
public void setEnabled(boolean enabled) - Overrides:
setEnabledin classJComponent
-
selectedAlarms
Gets the current List of selected AlarmEvents -
selectedAlarmsUnique
-
onStartup
protected void onStartup()Description copied from class:AbstractVisionPanelSubclasses should override this to provide startup logic.- Overrides:
onStartupin classAbstractAlarmTable
-
onShutdown
protected void onShutdown()Description copied from class:AbstractVisionPanelSubclasses should override this to provide shutdown logic.- Overrides:
onShutdownin classAbstractAlarmTable
-
getRefreshRate
public long getRefreshRate() -
setRefreshRate
public void setRefreshRate(long rate) -
getSortOrder
public int getSortOrder() -
setSortOrder
public void setSortOrder(int sortOrder) -
isSortOldestFirst
public boolean isSortOldestFirst() -
setSortOldestFirst
public void setSortOldestFirst(boolean sortOldestFirst) -
setMarqueeMode
public void setMarqueeMode(boolean marqueeMode) -
getMarqueeMode
public boolean getMarqueeMode() -
setScrollDelay
public void setScrollDelay(int delay) -
getScrollDelay
public int getScrollDelay() -
setStayDelay
public void setStayDelay(int delay) -
getStayDelay
public int getStayDelay() -
setTableBackground
- Overrides:
setTableBackgroundin classAbstractAlarmTable
-
isShowTableHeader
public boolean isShowTableHeader() -
setShowTableHeader
public void setShowTableHeader(boolean showTableHeader) -
isShowTableHeaderPopup
public boolean isShowTableHeaderPopup() -
setShowTableHeaderPopup
public void setShowTableHeaderPopup(boolean showTableHeaderPopup) -
setRowHeight
public void setRowHeight(int newHeight) - Overrides:
setRowHeightin classAbstractAlarmTable
-
getRowHeight
public int getRowHeight()- Overrides:
getRowHeightin classAbstractAlarmTable
-
getAlarmJournalName
-
setAlarmJournalName
-
isShowAck
public boolean isShowAck() -
setShowAck
public void setShowAck(boolean showAck) -
isShowShelve
public boolean isShowShelve() -
setShowShelve
public void setShowShelve(boolean showShelve) -
isShowDetails
public boolean isShowDetails() -
setShowDetails
public void setShowDetails(boolean showDetails) -
isShowChart
public boolean isShowChart() -
setShowChart
public void setShowChart(boolean showChart) -
clearSelectedAlarms
public void clearSelectedAlarms() -
getChartResolution
public int getChartResolution() -
setChartResolution
public void setChartResolution(int chartResolution) -
isShowManageShelf
public boolean isShowManageShelf() -
setShowManageShelf
public void setShowManageShelf(boolean showManageShelf) -
isMultiSelect
public boolean isMultiSelect() -
setMultiSelect
public void setMultiSelect(boolean multiSelect) -
getMinPriority
public int getMinPriority() -
setMinPriority
public void setMinPriority(int min) -
getAlarms
-
getSelectedAlarms
-
setSelectedAlarms
-
getSourceFilter
-
setSourceFilter
-
getDisplayPathFilter
-
setDisplayPathFilter
-
getProviderFilter
-
setProviderFilter
-
isActiveAndUnacked
public boolean isActiveAndUnacked() -
setActiveAndUnacked
public void setActiveAndUnacked(boolean activeAndUnacked) -
isActiveAndAcked
public boolean isActiveAndAcked() -
setActiveAndAcked
public void setActiveAndAcked(boolean activeAndAcked) -
isClearAndUnacked
public boolean isClearAndUnacked() -
setClearAndUnacked
public void setClearAndUnacked(boolean clearAndUnacked) -
isClearAndAcked
public boolean isClearAndAcked() -
setClearAndAcked
public void setClearAndAcked(boolean clearAndAcked) -
getDefaultView
-
setDefaultView
-
setShelvingTimes
-
getShelvingTimes
-
getNotesAreaLocation
public int getNotesAreaLocation() -
setNotesAreaLocation
public void setNotesAreaLocation(int notesAreaLocation) -
getNotesAreaSize
public int getNotesAreaSize() -
setNotesAreaSize
public void setNotesAreaSize(int notesAreaSize) -
getNotesAreaBorder
-
setNotesAreaBorder
-
getNotesAreaFont
-
setNotesAreaFont
-
getRowStylesActual
- Overrides:
getRowStylesActualin classAbstractAlarmTable
-
getRowStyles
- Overrides:
getRowStylesin classAbstractAlarmTable
-
setAlarms
-
getTableHeaderFont
-
setTableHeaderFont
-
getHeaderAlignment
public int getHeaderAlignment() -
setHeaderAlignment
public void setHeaderAlignment(int alignment)
-