508509510511512513514515516517518
DisplayModel displayModel = (DisplayModel) display; if (listen) { displayModel.addListener(displayListener); } else { displayModel.removeListener(displayListener); } } } /**
510511512513514515516517518519520
DisplayModel displayModel = (DisplayModel) display; if (listen) { displayModel.addListener(displayListener); } else { displayModel.removeListener(displayListener); } } /** * Enable/Disable listening to Hook commands.