All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.hardware.device.VideoOutputPortListener Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
/*
 * Created on Mar 28, 2007
 */
package org.ocap.hardware.device;

import org.ocap.hardware.VideoOutputPort;

/**
 * The callback interface to be implemented by application classes that wish
 * to receive notification of changes to the status of a VideoOutputPort.
 * 
 * @author Aaron Kamienski
 */
public interface VideoOutputPortListener extends java.util.EventListener
{
    /**
     * Method to be invoked when a display device is connected or disconnected.
     * 

* Note that this method will not be invoked where such information cannot * be known by the Host device. * * @param source the VideoOutputPort whose status has changed * @param status true when a display device is connected; * false when a display device is disconnected * * @see VideoOutputSettings#isDisplayConnected */ public void connectionStatusChanged(VideoOutputPort source, boolean status); /** * Method to be invoked when the VideoOutputPort is enabled or * disabled. * * @param source the VideoOutputPort whose status has changed * @param status true when the video output port is enabled; * false when the video output port is disabled * * @see VideoOutputPort#enable() * @see VideoOutputPort#disable() * @see VideoOutputPort#status() */ public void enabledStatusChanged(VideoOutputPort source, boolean status); /** * Method to be invoked when the configuration of a VideoOutputPort changes. * * @param source the VideoOutputPort whose status has changed * @param oldConfig the previous configuration * @param newConfig the new configuration */ public void configurationChanged(VideoOutputPort source, VideoOutputConfiguration oldConfig, VideoOutputConfiguration newConfig); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy