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.TranslatableListCellRenderer
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
protected JPanel
static final int
Fields 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, touchscreenMode
Fields inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionPanel
antialias, context, cursorCode, dynamicProps
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecycle
COMPONENT_RUNNING
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.EnabledEx
DISABLED_BY_PERMISSIONS
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Fields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListener
LOCAL_CHANGE_EVENT
Fields inherited from interface com.inductiveautomation.vision.api.client.binding.MutableDynamicPropertyProvider
RESERVED_SET_KEY
Fields 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 TypeMethodDescriptionvoid
int
int
boolean
int
int
int
long
int
int
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
localeChanged
(Locale newLocale) protected void
Subclasses should override this to provide shutdown logic.protected void
Subclasses should override this to provide startup logic.protected List<AlarmEvent>
Gets the current List of selected AlarmEventsprotected List<AlarmEvent>
void
setActiveAndAcked
(boolean activeAndAcked) void
setActiveAndUnacked
(boolean activeAndUnacked) void
setAlarmJournalName
(String alarmJournalName) void
setAlarms
(List<AlarmEvent> alarms) void
setChartResolution
(int chartResolution) void
setClearAndAcked
(boolean clearAndAcked) void
setClearAndUnacked
(boolean clearAndUnacked) void
setDefaultView
(String defaultView) void
setDisplayPathFilter
(String displayPathFilter) void
setEnabled
(boolean enabled) void
void
setHeaderAlignment
(int alignment) void
setMarqueeMode
(boolean marqueeMode) void
setMinPriority
(int min) void
setMultiSelect
(boolean multiSelect) void
setNotesAreaBorder
(Border notesAreaBorder) void
setNotesAreaFont
(Font notesAreaFont) void
setNotesAreaLocation
(int notesAreaLocation) void
setNotesAreaSize
(int notesAreaSize) void
setProviderFilter
(String providerFilter) void
setRefreshRate
(long rate) void
setRowHeight
(int newHeight) void
setScrollDelay
(int delay) void
setSelectedAlarms
(Dataset value) void
setShelvingTimes
(Dataset shelvingTimes) void
setShowAck
(boolean showAck) void
setShowChart
(boolean showChart) void
setShowDetails
(boolean showDetails) void
setShowFooterPanel
(boolean showFooterPanel) void
setShowManageShelf
(boolean showManageShelf) void
setShowShelve
(boolean showShelve) void
setShowTableHeader
(boolean showTableHeader) void
setShowTableHeaderPopup
(boolean showTableHeaderPopup) void
setSortOldestFirst
(boolean sortOldestFirst) void
setSortOrder
(int sortOrder) void
setSourceFilter
(String sourceFilter) void
setStayDelay
(int delay) void
setTableBackground
(Color tableBackground) void
setTableHeaderFont
(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, viewRowToAlarm
Methods 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, updateQuality
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
Methods 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, update
Methods 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, validateTree
Methods 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, transferFocusUpCycle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getExtensionFunctions
in interfaceExtensibleComponent
-
setExtensionFunctions
- Specified by:
setExtensionFunctions
in interfaceExtensibleComponent
-
localeChanged
- Specified by:
localeChanged
in interfaceLocaleListener
- Overrides:
localeChanged
in classAbstractAlarmTable
-
setEnabled
public void setEnabled(boolean enabled) - Overrides:
setEnabled
in classJComponent
-
selectedAlarms
Gets the current List of selected AlarmEvents -
selectedAlarmsUnique
-
onStartup
protected void onStartup()Description copied from class:AbstractVisionPanel
Subclasses should override this to provide startup logic.- Overrides:
onStartup
in classAbstractAlarmTable
-
onShutdown
protected void onShutdown()Description copied from class:AbstractVisionPanel
Subclasses should override this to provide shutdown logic.- Overrides:
onShutdown
in 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:
setTableBackground
in 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:
setRowHeight
in classAbstractAlarmTable
-
getRowHeight
public int getRowHeight()- Overrides:
getRowHeight
in 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:
getRowStylesActual
in classAbstractAlarmTable
-
getRowStyles
- Overrides:
getRowStyles
in classAbstractAlarmTable
-
setAlarms
-
getTableHeaderFont
-
setTableHeaderFont
-
getHeaderAlignment
public int getHeaderAlignment() -
setHeaderAlignment
public void setHeaderAlignment(int alignment)
-