All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class att.grappa.PlainTextPeer

java.lang.Object
   |
   +----att.grappa.DrawObjectPeer
           |
           +----att.grappa.DrawNodePeer
                   |
                   +----att.grappa.PlainTextPeer

public class PlainTextPeer
extends DrawNodePeer
This class provides the basis for actually drawing plain text elements on a pane.

Version:
1.1, 30 Sep 1999; Copyright 1996 - 1999 by AT&T Corp.
Author:
John Mocenigo, Research @ AT&T Labs

Constructor Index

 o PlainTextPeer(PlainText, DrawPane)
Create an instance of a PlainTextPeer related to the supplied PlainText and DrawPane.

Method Index

 o setupPeer(boolean)
Setup this peer.

Constructors

 o PlainTextPeer
 public PlainTextPeer(PlainText plainText,
                      DrawPane pane)
Create an instance of a PlainTextPeer related to the supplied PlainText and DrawPane.

Parameters:
plainText - the source object for this peer object
pane - the pane to use when drawing this peer

Methods

 o setupPeer
 public void setupPeer(boolean setupTextToo)
Setup this peer. The setup does the actual co-ordinate mappings from what is available in the DrawNode object to the DrawPane co-ordinates.

Parameters:
setupTextToo - indicates if text peer should be setup as well
Overrides:
setupPeer in class DrawNodePeer

All Packages  Class Hierarchy  This Package  Previous  Next  Index