Class AlarmRef
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.components.alarm.AlarmRef
-
- All Implemented Interfaces:
AlarmEventParseContext.SelectedAlarmEventModel
public class AlarmRef extends java.lang.Object implements AlarmEventParseContext.SelectedAlarmEventModel
Acts as a mutable getter for the current alarm event that we are evaluating visual style for. This helps us avoid re-parsing the expression all the time with a different parse context.
-
-
Constructor Summary
Constructors Constructor Description AlarmRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmEvent
getSelectedEvent()
void
setSelectedEvent(AlarmEvent event)
-
-
-
Method Detail
-
getSelectedEvent
public AlarmEvent getSelectedEvent()
- Specified by:
getSelectedEvent
in interfaceAlarmEventParseContext.SelectedAlarmEventModel
-
setSelectedEvent
public void setSelectedEvent(AlarmEvent event)
-
-