public class ClickRecorderTrigger extends RecorderTrigger
Constructor and Description |
---|
ClickRecorderTrigger(ClickControl clickControl) |
Modifier and Type | Method and Description |
---|---|
RecorderTriggerData |
getDefaultTriggerData()
Get default data for this trigger.
|
boolean |
hasOptions()
This trigger has additional options available.
|
boolean |
showOptionsDialog(java.awt.Window frame,
RecorderTriggerData triggerData)
Show a dialog of additional options for the recorder trigger.
|
boolean |
triggerDataUnit(PamDataUnit dataUnit,
RecorderTriggerData rtData)
Called as each data unit is considered for triggering.
|
getName
public ClickRecorderTrigger(ClickControl clickControl)
clickControl
- public RecorderTriggerData getDefaultTriggerData()
RecorderTrigger
getDefaultTriggerData
in class RecorderTrigger
public boolean hasOptions()
RecorderTrigger
hasOptions
in class RecorderTrigger
public boolean showOptionsDialog(java.awt.Window frame, RecorderTriggerData triggerData)
RecorderTrigger
Developers should probably put parameters controlling any options into a class extending the defaultTriggerData, so that these get stored on a recorder by recorder basis.
showOptionsDialog
in class RecorderTrigger
public boolean triggerDataUnit(PamDataUnit dataUnit, RecorderTriggerData rtData)
RecorderTrigger
triggerDataUnit
in class RecorderTrigger
dataUnit
- data unit to consider for recording triggering