next up previous contents index
Next: Line Up: Base class structures Previous: Image

Label

class Label extends DJComponent {
      dj String text; 
      dj int alignment in {LEFT,CENTER,RIGHT};
      dj Font font;
}
Notice that LEFT, CENTER, and RIGHT are the only integer constants that can be assigned to the alignment attribute.  



Neng-Fa Zhou
1999-02-16