    All Packages    This Package    Previous    Next

# Class browser.WRTextItem

    java.lang.Object
       |
       +----browser.Observable
               |
               +----awt.DisplayItem
                       |
                       +----awt.TextDisplayItem
                               |
                               +----browser.WRTextItem

public class WRTextItem
extends TextDisplayItem

An instance of class WRTextItem is created for each piece of text in an html document. WRTextItem handles following links to other documents.

Version:
  1.21, 20 Mar 1995
Author:
  Jonathan Payne

##

underlineAnchors
  Whether or not to underline anchors.

##

WRTextItem(String)
WRTextItem(DisplayItemWindow, byte[], int, int, TagRef)

##

getPreferredSize()
getText()
paint(Window, int, int)
setup(Font, Color, int, int, int, int)
trackEnter(Event)
trackExit(Event)
trackStart(Event)
trackStop(Event)

##

underlineAnchors

      public static boolean underlineAnchors

  Whether or not to underline anchors.

##

WRTextItem

      public WRTextItem(String str)

WRTextItem

      public WRTextItem(DisplayItemWindow w,
                        byte text[],
                        int offset1,
                        int offset2,
                        TagRef a)

##

getText

      public String getText()

setup

      public void setup(Font f,
                        Color c,
                        int x,
                        int y,
                        int w,
                        int h)

trackStart

      public void trackStart(Event e)

trackEnter

      public void trackEnter(Event e)

trackExit

      public void trackExit(Event e)

trackStop

      public void trackStop(Event e)

paint

      public void paint(Window window,
                        int x,
                        int y)

getPreferredSize

      public Dimension getPreferredSize()

    All Packages    This Package    Previous    Next