public SpectralRollDisplayUiJComponent( final SpectralRollMadDefinition definition, final SpectralRollMadInstance instance, final SpectralRollMadUiInstance uiInstance, final int controlIndex) { setOpaque(true); this.uiInstance = uiInstance; uiInstance.setSpecDataListener(this); }
@Override public void doDisplayProcessing( final ThreadSpecificTemporaryEventStorage tempEventStorage, final MadTimingParameters timingParameters, final long currentGuiTime) { final boolean showing = isShowing(); if (previouslyShowing != showing) { if (showing) { clearDisplay(); } uiInstance.sendUiActive(showing); previouslyShowing = showing; } }