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
,java.awt.image.ImageObserver
,java.awt.MenuContainer
,java.io.Serializable
,javax.accessibility.Accessible
public class AlarmStatusTable extends AbstractAlarmTable implements ExtensibleComponent, LocaleListener
- See Also:
- Serialized Form
-
-
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
javax.swing.JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
-
-
Field Summary
Fields Modifier and Type Field Description static int
EAST
static int
HIDDEN
static int
NORTH
static int
SOUTH
protected javax.swing.JPanel
tableHolder
static int
WEST
-
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 Constructor Description AlarmStatusTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearSelectedAlarms()
java.lang.String
getAlarmJournalName()
Dataset
getAlarms()
int
getChartResolution()
java.lang.String
getDefaultView()
java.lang.String
getDisplayPathFilter()
java.util.Map<java.lang.String,ExtensionFunction>
getExtensionFunctions()
boolean
getMarqueeMode()
int
getMinPriority()
javax.swing.border.Border
getNotesAreaBorder()
java.awt.Font
getNotesAreaFont()
int
getNotesAreaLocation()
int
getNotesAreaSize()
java.lang.String
getProviderFilter()
long
getRefreshRate()
int
getRowHeight()
Dataset
getRowStyles()
java.util.List<AlarmRowStyle>
getRowStylesActual()
int
getScrollDelay()
Dataset
getSelectedAlarms()
Dataset
getShelvingTimes()
int
getSortOrder()
java.lang.String
getSourceFilter()
int
getStayDelay()
java.awt.Font
getTableHeaderFont()
boolean
isActiveAndAcked()
boolean
isActiveAndUnacked()
boolean
isClearAndAcked()
boolean
isClearAndUnacked()
boolean
isMultiSelect()
boolean
isShowAck()
boolean
isShowChart()
boolean
isShowDetails()
boolean
isShowFooterPanel()
boolean
isShowManageShelf()
boolean
isShowShelve()
boolean
isShowTableHeader()
boolean
isShowTableHeaderPopup()
boolean
isSortOldestFirst()
void
localeChanged(java.util.Locale newLocale)
protected void
onShutdown()
Subclasses should override this to provide shutdown logic.protected void
onStartup()
Subclasses should override this to provide startup logic.protected java.util.List<AlarmEvent>
selectedAlarms()
Gets the current List of selected AlarmEventsprotected java.util.List<AlarmEvent>
selectedAlarmsUnique()
void
setActiveAndAcked(boolean activeAndAcked)
void
setActiveAndUnacked(boolean activeAndUnacked)
void
setAlarmJournalName(java.lang.String alarmJournalName)
void
setAlarms(java.util.List<AlarmEvent> alarms)
void
setChartResolution(int chartResolution)
void
setClearAndAcked(boolean clearAndAcked)
void
setClearAndUnacked(boolean clearAndUnacked)
void
setDefaultView(java.lang.String defaultView)
void
setDisplayPathFilter(java.lang.String displayPathFilter)
void
setEnabled(boolean enabled)
void
setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map)
void
setMarqueeMode(boolean marqueeMode)
void
setMinPriority(int min)
void
setMultiSelect(boolean multiSelect)
void
setNotesAreaBorder(javax.swing.border.Border notesAreaBorder)
void
setNotesAreaFont(java.awt.Font notesAreaFont)
void
setNotesAreaLocation(int notesAreaLocation)
void
setNotesAreaSize(int notesAreaSize)
void
setProviderFilter(java.lang.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(java.lang.String sourceFilter)
void
setStayDelay(int delay)
void
setTableBackground(java.awt.Color tableBackground)
void
setTableHeaderFont(java.awt.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 Detail
-
HIDDEN
public static final int HIDDEN
- See Also:
- Constant Field Values
-
SOUTH
public static final int SOUTH
- See Also:
- Constant Field Values
-
WEST
public static final int WEST
- See Also:
- Constant Field Values
-
NORTH
public static final int NORTH
- See Also:
- Constant Field Values
-
EAST
public static final int EAST
- See Also:
- Constant Field Values
-
tableHolder
protected javax.swing.JPanel tableHolder
-
-
Method Detail
-
getExtensionFunctions
public java.util.Map<java.lang.String,ExtensionFunction> getExtensionFunctions()
- Specified by:
getExtensionFunctions
in interfaceExtensibleComponent
-
setExtensionFunctions
public void setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map)
- Specified by:
setExtensionFunctions
in interfaceExtensibleComponent
-
localeChanged
public void localeChanged(java.util.Locale newLocale)
- Specified by:
localeChanged
in interfaceLocaleListener
- Overrides:
localeChanged
in classAbstractAlarmTable
-
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled
in classjavax.swing.JComponent
-
selectedAlarms
protected java.util.List<AlarmEvent> selectedAlarms()
Gets the current List of selected AlarmEvents
-
selectedAlarmsUnique
protected java.util.List<AlarmEvent> 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
public void setTableBackground(java.awt.Color tableBackground)
- 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
-
isShowFooterPanel
public boolean isShowFooterPanel()
-
setShowFooterPanel
public void setShowFooterPanel(boolean showFooterPanel)
-
getAlarmJournalName
public java.lang.String getAlarmJournalName()
-
setAlarmJournalName
public void setAlarmJournalName(java.lang.String alarmJournalName)
-
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
public Dataset getAlarms()
-
getSelectedAlarms
public Dataset getSelectedAlarms()
-
setSelectedAlarms
public void setSelectedAlarms(Dataset value)
-
getSourceFilter
public java.lang.String getSourceFilter()
-
setSourceFilter
public void setSourceFilter(java.lang.String sourceFilter)
-
getDisplayPathFilter
public java.lang.String getDisplayPathFilter()
-
setDisplayPathFilter
public void setDisplayPathFilter(java.lang.String displayPathFilter)
-
getProviderFilter
public java.lang.String getProviderFilter()
-
setProviderFilter
public void setProviderFilter(java.lang.String providerFilter)
-
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
public java.lang.String getDefaultView()
-
setDefaultView
public void setDefaultView(java.lang.String defaultView)
-
setShelvingTimes
public void setShelvingTimes(Dataset shelvingTimes)
-
getShelvingTimes
public Dataset getShelvingTimes()
-
getNotesAreaLocation
public int getNotesAreaLocation()
-
setNotesAreaLocation
public void setNotesAreaLocation(int notesAreaLocation)
-
getNotesAreaSize
public int getNotesAreaSize()
-
setNotesAreaSize
public void setNotesAreaSize(int notesAreaSize)
-
getNotesAreaBorder
public javax.swing.border.Border getNotesAreaBorder()
-
setNotesAreaBorder
public void setNotesAreaBorder(javax.swing.border.Border notesAreaBorder)
-
getNotesAreaFont
public java.awt.Font getNotesAreaFont()
-
setNotesAreaFont
public void setNotesAreaFont(java.awt.Font notesAreaFont)
-
getRowStylesActual
public java.util.List<AlarmRowStyle> getRowStylesActual()
- Overrides:
getRowStylesActual
in classAbstractAlarmTable
-
getRowStyles
public Dataset getRowStyles()
- Overrides:
getRowStyles
in classAbstractAlarmTable
-
setAlarms
public void setAlarms(java.util.List<AlarmEvent> alarms)
-
getTableHeaderFont
public java.awt.Font getTableHeaderFont()
-
setTableHeaderFont
public void setTableHeaderFont(java.awt.Font tableHeaderFont)
-
-