org.ascape.movie.qt
Class ComponentQuicktimeTarget

java.lang.Object
  extended by org.ascape.movie.qt.ComponentQuicktimeTarget
All Implemented Interfaces:
QuicktimeTarget, RecorderTarget, quicktime.app.image.Paintable

public class ComponentQuicktimeTarget
extends java.lang.Object
implements QuicktimeTarget

Manages as a component as a target of a quicktime movie.

Version:
2.9 (Ascape)
Author:
Miles Parker

Constructor Summary
ComponentQuicktimeTarget()
          Constructs the target.
ComponentQuicktimeTarget(java.awt.Component component)
          Constructs the target.
 
Method Summary
 java.awt.Component getComponent()
          Returns the component being recorded.
 void newSizeNotified(quicktime.app.image.QTImageDrawer drawer, java.awt.Dimension d)
          Manages notification of resizing from quicktime.
 java.awt.Rectangle[] paint(java.awt.Graphics g)
          Manages painting for quicktime.
 void setComponent(java.awt.Component component)
          Sets the component to record.
 java.lang.String toString()
          Returns the component string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentQuicktimeTarget

public ComponentQuicktimeTarget()
Constructs the target.


ComponentQuicktimeTarget

public ComponentQuicktimeTarget(java.awt.Component component)
Constructs the target.

Parameters:
component - the component that we are recording
Method Detail

newSizeNotified

public void newSizeNotified(quicktime.app.image.QTImageDrawer drawer,
                            java.awt.Dimension d)
Manages notification of resizing from quicktime.

Specified by:
newSizeNotified in interface quicktime.app.image.Paintable

paint

public java.awt.Rectangle[] paint(java.awt.Graphics g)
Manages painting for quicktime.

Specified by:
paint in interface quicktime.app.image.Paintable

getComponent

public java.awt.Component getComponent()
Returns the component being recorded.

Specified by:
getComponent in interface RecorderTarget

setComponent

public void setComponent(java.awt.Component component)
Sets the component to record.


toString

public java.lang.String toString()
Returns the component string.

Overrides:
toString in class java.lang.Object


Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.