org.havi.ui
Class HVideoConfiguration

java.lang.Object
  extended by org.havi.ui.HScreenConfiguration
      extended by org.havi.ui.HVideoConfiguration

public class HVideoConfiguration
extends HScreenConfiguration

The HVideoConfiguration class describes the characteristics (settings) of an HVideoDevice. There can be many HVideoConfiguration objects associated with a single HVideoDevice.


The parameters to the constructors are as follows, in cases where parameters are not used, then the constructor should use the default values.

Default parameter values exposed in the constructors

ParameterDescriptionDefault value Set methodGet method
None.

Default parameter values not exposed in the constructors

DescriptionDefault valueSet method Get method
None.

See Also:
HVideoDevice

Constructor Summary
protected HVideoConfiguration()
          An interoperable application shall not subclass the HVideoConfiguration class.
 
Method Summary
 HVideoConfigTemplate getConfigTemplate()
          Returns an HVideoConfigTemplate object that describes and uniquely identifies this HVideoConfiguration.
 HVideoDevice getDevice()
          Returns the HVideoDevice associated with this HVideoConfiguration.
 
Methods inherited from class org.havi.ui.HScreenConfiguration
convertTo, getFlickerFilter, getInterlaced, getOffset, getPixelAspectRatio, getPixelResolution, getScreenArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HVideoConfiguration

protected HVideoConfiguration()
An interoperable application shall not subclass the HVideoConfiguration class.

Creates an HVideoConfiguration object. See the class description for details of constructor parameters and default values.

Method Detail

getDevice

public HVideoDevice getDevice()
Returns the HVideoDevice associated with this HVideoConfiguration.

Returns:
the HVideoDevice object that is associated with this HVideoConfiguration,

getConfigTemplate

public HVideoConfigTemplate getConfigTemplate()
Returns an HVideoConfigTemplate object that describes and uniquely identifies this HVideoConfiguration.

Hence, the following sequence should return the original HVideoConfiguration.


 HVideoDevice.getBestMatch(HVideoConfiguration.getConfigTemplate())

 

Features that are implemented in the HVideoConfiguration will return HScreenConfigTemplate.REQUIRED priority. Features that are not implemented in the HVideoConfiguration will return HScreenConfigTemplate.REQUIRED_NOT priority. Preferences that are not filled in by the platform will return HScreenConfigTemplate.DONT_CARE priority.

Returns:
an HVideoConfigTemplate object which both describes and uniquely identifies this HVideoConfiguration.