Interface PomResultListener
-
- All Known Implementing Classes:
AbstractPomPanel,AddressPanel,DirectAccessPanel,RailcomPanel,ResetDecoderPanel
public interface PomResultListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLogText(String logLine, Object... args)Add a new line to the logger area.booleanisActive()voidsetActive(boolean active)Sets the listener active or inactive.voidsignalPomProgStateChanged(org.bidib.jbidibc.messages.enums.PomProgState pomProgState)Signals that the POM prog state has changed.
-
-
-
Method Detail
-
setActive
void setActive(boolean active)
Sets the listener active or inactive.- Parameters:
active- the active flag
-
isActive
boolean isActive()
- Returns:
- listener is active
-
addLogText
void addLogText(String logLine, Object... args)
Add a new line to the logger area.- Parameters:
logLine- the message to log. Use {} as placeholders for args.args- the args
-
signalPomProgStateChanged
void signalPomProgStateChanged(org.bidib.jbidibc.messages.enums.PomProgState pomProgState)
Signals that the POM prog state has changed.- Parameters:
pomProgState- the new POM prog state
-
-