27 |
import gzz.client.*; |
import gzz.client.*; |
28 |
|
|
29 |
/** A single contiguous text string as a Vob. |
/** A single contiguous text string as a Vob. |
30 |
* This vob implements the HBox interface so it is possible to create a paragraph |
* This vob implements the HBox interface so it is |
31 |
|
* possible to create a paragraph |
32 |
* from these and use a LineBreaker. |
* from these and use a LineBreaker. |
33 |
|
* <p> |
34 |
|
* A note on the relationship between this class and TextStyle: |
35 |
|
* TextStyle can be constructed from GraphicsAPI by giving a size. |
36 |
|
* That size is the virtual point or pixel size. However, since |
37 |
|
* we are in a flexibly scaling world, that size has no bearing |
38 |
|
* on how tall the text will appear: only the height of the coordinate |
39 |
|
* system into which the textvob is placed affects that. |
40 |
*/ |
*/ |
41 |
public class TextVob extends HBox.VobHBox { |
public class TextVob extends HBox.VobHBox { |
42 |
String rcsid = "$Id$"; |
String rcsid = "$Id$"; |