|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.lwuit.Component
com.sun.dtv.ui.MatteEnabledComponent
This class extends the com.sun.lwuit.Component class by implementing the
MatteEnabled interface.
MatteEnabled| Field Summary |
| Fields inherited from class com.sun.lwuit.Component |
BOTTOM, BRB_CENTER_OFFSET, BRB_CONSTANT_ASCENT, BRB_CONSTANT_DESCENT, BRB_OTHER, CENTER, LEFT, RIGHT, TOP |
| Fields inherited from interface com.sun.dtv.ui.Animated |
ALTERNATING, LOOP, REPEATING |
| Constructor Summary | |
MatteEnabledComponent()
|
|
| Method Summary | |
Matte |
getMatte()
Return the Matte currently associated with the
component. |
boolean |
isDoubleBuffered()
Returns true if double buffering is available and activated. |
boolean |
isOpaque()
Returns true if the whole area of the Component (as returned by the com.sun.lwuit.Component#getBounds method, is opaque. |
protected void |
processEvent(AWTEvent event)
Handle the specified AWTEvent. |
void |
setMatte(Matte matte)
Adds an Matte to this component in order to
enable matte compositing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MatteEnabledComponent()
| Method Detail |
public void setMatte(Matte matte)
throws MatteException
Matte to this component 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.
setMatte in interface MatteEnabledmatte - 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.
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 runninggetMatte(),
Mattepublic Matte getMatte()
Matte currently associated with the
component.
getMatte in interface MatteEnabledMatte currently associated with the
component or null if there is nonesetMatte(com.sun.dtv.ui.Matte)public boolean isDoubleBuffered()
true if double buffering is available and activated,
and false otherwisepublic boolean isOpaque()
com.sun.lwuit.Component#getBounds method, is opaque.
true if all the pixels within the area
defined by the com.sun.lwuit.Component#getBounds method
are opaque, i.e. all pixels are painted in an opaque color,
false otherwise.protected void processEvent(AWTEvent event)
event - a java.awt.AWTEvent to handle.
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||