gzz.client
Interface SpanVob

All Known Implementing Classes:
TextSpanVob

public interface SpanVob

An interface to vobs connected to some span.


Field Summary
static java.lang.String rcsid
           
 
Method Summary
 SpanVob getPart(Span subspan)
          Get the part of this vob corresponding to subspan.
 void getPartCoords(int x, int y, int w, int h, Span subspan, java.awt.Rectangle out)
          Get the coordinates of the part of this vob corresponding to subspan.
 Span getSpan()
          Get the span associated with this vob.
 

Field Detail

rcsid

public static final java.lang.String rcsid
See Also:
Constant Field Values
Method Detail

getSpan

public Span getSpan()
Get the span associated with this vob.


getPart

public SpanVob getPart(Span subspan)
Get the part of this vob corresponding to subspan. subspan must be wholly contained in what getSpan() returns.


getPartCoords

public void getPartCoords(int x,
                          int y,
                          int w,
                          int h,
                          Span subspan,
                          java.awt.Rectangle out)
Get the coordinates of the part of this vob corresponding to subspan. x, y, w and h are the coordinates of this span as a whole.

subspan must be wholly contained in what getSpan() returns.

Parameters:
out - An existing rectangle object to write the coords into.