Class AlarmJournalTable
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.AlarmJournalTable
- All Implemented Interfaces:
DynamicPropertyProvider
,LocaleListener
,MutableDynamicPropertyProvider
,StyleProvider
,ComponentLifecycle
,EnabledEx
,ExtensibleComponent
,QualityMonitor
,VisionComponent
,BindableModel
,ImageObserver
,MenuContainer
,Serializable
,Accessible
public class AlarmJournalTable
extends AbstractAlarmTable
implements BindableModel, 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
static final int
Fields inherited from class com.inductiveautomation.factorypmi.application.components.alarm.AbstractAlarmTable
alarmRef, dateFormat, durationFormat, flasher, flashInterval, hidePopupRunner, 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
Delegate method to internal binding modelgetEventDataNote
(AlarmEvent event) int
boolean
int
int
int
int
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
localeChanged
(Locale newLocale) <T extends Enum<T> & ModelUpdate>
voidmodelUpdated
(T... changed) Delegate method to internal binding modelprotected void
Subclasses should override this to provide startup logic.protected List<AlarmEvent>
void
void
setDefaultView
(String defaultView) void
setDisplayPathFilter
(String displayPathFilter) void
setEnabled
(boolean enabled) void
setEndDate
(Date endDate) void
void
setHeaderAlignment
(int alignment) void
setIncludeAckedEvents
(boolean includeAckedEvents) void
setIncludeActiveEvents
(boolean includeActiveEvents) void
setIncludeClearedEvents
(boolean includeClearEvents) void
setIncludeDisabledEvents
(boolean includeDisabledEvents) void
setIncludeEnabledEvents
(boolean includeEnabledEvents) void
setIncludeSystemEvents
(boolean includeSystemEvents) void
setIsFiltered
(boolean isFiltered) void
setJournalName
(String journalName) void
setMaximumPriority
(int val) void
setMaxPriority
(AlarmPriority maxPriority) void
setMinimumPriority
(int val) void
setMinPriority
(AlarmPriority minPriority) void
setNotesAreaBorder
(Border notesAreaBorder) void
setNotesAreaFont
(Font notesAreaFont) void
setNotesAreaLocation
(int notesAreaLocation) void
setNotesAreaSize
(int notesAreaSize) void
setNotesAreaText
(List<com.inductiveautomation.factorypmi.application.components.AlarmJournalTable.AlarmDisplayNote> displayNotes) void
setProviderFilter
(String providerFilter) void
setReadTimeout
(int readTimeout) void
setRowHeight
(int newHeight) void
setSearchString
(String search) void
setSelectedAlarms
(Dataset value) void
setShowTableHeader
(boolean showTableHeader) void
setSourceFilter
(String sourceFilter) void
setStartDate
(Date startDate) void
setTableBackground
(Color tableBackground) void
setTableHeaderFont
(Font tableHeaderFont) void
Delegate method to internal binding modelMethods inherited from class com.inductiveautomation.factorypmi.application.components.alarm.AbstractAlarmTable
applyRowStyles, evaluateEnabled, getActualRow, getDateFormat, getDisplayValue, getDurationFormat, getFlashInterval, getHeaderDisplayValue, getNumberFormat, getRowStyles, getRowStylesActual, getSelectionColor, getSelectionThickness, getSortable, getTableBackground, getTouchscreenMode, hidePopup, initSliderUi, isComponentEnabled, onShutdown, 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:
-
-
Constructor Details
-
AlarmJournalTable
public AlarmJournalTable()
-
-
Method Details
-
getEventDataNote
-
selectedAlarms
-
setEnabled
public void setEnabled(boolean enabled) - Overrides:
setEnabled
in classJComponent
-
localeChanged
- Specified by:
localeChanged
in interfaceLocaleListener
- Overrides:
localeChanged
in classAbstractAlarmTable
-
bind
Delegate method to internal binding model- Specified by:
bind
in interfaceBindableModel
-
unbind
Delegate method to internal binding model- Specified by:
unbind
in interfaceBindableModel
-
modelUpdated
Delegate method to internal binding model- Specified by:
modelUpdated
in interfaceBindableModel
- Parameters:
changed
- list of change types to indicate
-
setTableBackground
- Overrides:
setTableBackground
in classAbstractAlarmTable
-
getStartDate
-
setStartDate
-
getEndDate
-
setEndDate
-
getReadTimeout
public int getReadTimeout() -
setReadTimeout
public void setReadTimeout(int readTimeout) -
getIsFiltered
public boolean getIsFiltered() -
setIsFiltered
public void setIsFiltered(boolean isFiltered) -
getJournalName
-
setJournalName
-
getDefaultView
-
setDefaultView
-
isIncludeSystemEvents
public boolean isIncludeSystemEvents() -
setIncludeSystemEvents
public void setIncludeSystemEvents(boolean includeSystemEvents) -
isIncludeActiveEvents
public boolean isIncludeActiveEvents() -
setIncludeActiveEvents
public void setIncludeActiveEvents(boolean includeActiveEvents) -
isIncludeClearedEvents
public boolean isIncludeClearedEvents() -
setIncludeClearedEvents
public void setIncludeClearedEvents(boolean includeClearEvents) -
isIncludeAckedEvents
public boolean isIncludeAckedEvents() -
setIncludeAckedEvents
public void setIncludeAckedEvents(boolean includeAckedEvents) -
isIncludeEnabledEvents
public boolean isIncludeEnabledEvents() -
setIncludeEnabledEvents
public void setIncludeEnabledEvents(boolean includeEnabledEvents) -
isIncludeDisabledEvents
public boolean isIncludeDisabledEvents() -
setIncludeDisabledEvents
public void setIncludeDisabledEvents(boolean includeDisabledEvents) -
isShowTableHeader
public boolean isShowTableHeader() -
setShowTableHeader
public void setShowTableHeader(boolean showTableHeader) -
getSourceFilter
-
setSourceFilter
-
getProviderFilter
-
setProviderFilter
-
getDisplayPathFilter
-
setDisplayPathFilter
-
getMinPriority
-
getMinimumPriority
public int getMinimumPriority() -
setMinPriority
-
setMinimumPriority
public void setMinimumPriority(int val) -
getMaxPriority
-
getMaximumPriority
public int getMaximumPriority() -
setMaxPriority
-
setMaximumPriority
public void setMaximumPriority(int val) -
getSearchString
-
setSearchString
-
getRowHeight
public int getRowHeight()- Overrides:
getRowHeight
in classAbstractAlarmTable
-
setRowHeight
public void setRowHeight(int newHeight) - Overrides:
setRowHeight
in classAbstractAlarmTable
-
getAlarms
-
setAlarms
-
getSelectedAlarms
-
setSelectedAlarms
-
getNotesAreaLocation
public int getNotesAreaLocation() -
setNotesAreaLocation
public void setNotesAreaLocation(int notesAreaLocation) -
getNotesAreaSize
public int getNotesAreaSize() -
setNotesAreaSize
public void setNotesAreaSize(int notesAreaSize) -
getNotesAreaBorder
-
setNotesAreaBorder
-
getNotesAreaFont
-
setNotesAreaFont
-
onStartup
protected void onStartup()Description copied from class:AbstractVisionPanel
Subclasses should override this to provide startup logic.- Overrides:
onStartup
in classAbstractAlarmTable
-
isAlarmFocused
public boolean isAlarmFocused() -
getFocusFilterMessage
-
getTableHeaderFont
-
setTableHeaderFont
-
getHeaderAlignment
public int getHeaderAlignment() -
setHeaderAlignment
public void setHeaderAlignment(int alignment) -
getExtensionFunctions
- Specified by:
getExtensionFunctions
in interfaceExtensibleComponent
-
setExtensionFunctions
- Specified by:
setExtensionFunctions
in interfaceExtensibleComponent
-
setNotesAreaText
public void setNotesAreaText(List<com.inductiveautomation.factorypmi.application.components.AlarmJournalTable.AlarmDisplayNote> displayNotes)
-