Java DTV API 1.3
18-Nov-2009

com.sun.dtv.ui
Interface MatteEnabled

All Known Subinterfaces:
ViewOnlyComponent
All Known Implementing Classes:
Button, Calendar, CheckBox, ComboBox, Container, DefaultListCellRenderer, Dialog, DTVContainer, Form, Label, List, RadioButton, TabbedPane

public interface MatteEnabled

The aim of this interface is to enable components for matte compositing. This interface adds the necessary functionality to incorporate Matte functionality into a component, the matte itself is implemented in the Matte class and classes inheriting from it.

See Also:
Matte

Method Summary
 Matte getMatte()
          Return the Matte currently associated with the component implementing this interface.
 void setMatte(Matte matte)
          Adds an Matte to the component implementing this interface in order to enable matte compositing.
 

Method Detail

setMatte

void setMatte(Matte matte)
              throws MatteException
Adds an Matte to the component implementing this interface in order to enable matte compositing. If there is already a Matte assigned to the component, and this Matte is animated, it has to be stopped before any call to this method.

Parameters:
matte - the Matte to be assigned to the component. At any point of time there can only be one matte associated to the component, that's way any matte that has been associated before will be overriden by a call to this method. The Matte parameter can also be null, in this case there is no matte associated with the component after the call, even if there had been one before.
Throws:
MatteException - if the Matte has an unsupported type, the platform does not support mattes at all, or an animated matte is associated with the component and is still running
See Also:
getMatte()

getMatte

Matte getMatte()
Return the Matte currently associated with the component implementing this interface.

Returns:
the Matte currently associated with the component or null if there is none
See Also:
setMatte(com.sun.dtv.ui.Matte)

Java DTV API 1.3
18-Nov-2009

Copyright © 2008-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Use of this document is subject to license terms.