Class mheg5.POM.PText
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mheg5.POM.PText

java.lang.Object
   |
   +----mheg5.POM.PVisible
           |
           +----mheg5.POM.PText

public class PText
extends PVisible

Variable Index

 o hostingText
 o last_character_pos_x
 o last_character_pos_y
 o myFontMetrics
 o n_lines
 o rebuild_lines
 o textData
 o textFont

Constructor Index

 o PText(Text)

Method Index

 o buildLines()
 o changeBoxSize(int, int)
 o consumeWord(String, boolean)
 o drawWordsJustified(Graphics, int, int, int, int)
 o hasTransparentParts()
 o paint(Graphics)
 o setBounds(int, int, int, int)
 o setText(String, Font)

Variables

 o last_character_pos_x
  protected int last_character_pos_x
 o last_character_pos_y
  protected int last_character_pos_y
 o hostingText
  protected Text hostingText
 o textData
  protected String textData
 o textFont
  protected Font textFont
 o n_lines
  protected int n_lines
 o myFontMetrics
  protected FontMetrics myFontMetrics
 o rebuild_lines
  protected boolean rebuild_lines

Constructors

 o PText
  public PText(Text tmp_Text)

Methods

 o setBounds
  public void setBounds(int xPos,
                        int yPos,
                        int width,
                        int height)
Overrides:
setBounds in class PVisible
 o changeBoxSize
  public void changeBoxSize(int newWidth,
                            int newHeight)
Overrides:
changeBoxSize in class PVisible
 o hasTransparentParts
  public boolean hasTransparentParts()
Overrides:
hasTransparentParts in class PVisible
 o setText
  public void setText(String _textData,
                      Font _textFont)
 o consumeWord
  public void consumeWord(String word,
                          boolean final_call)
 o buildLines
  public void buildLines()
 o paint
  public void paint(Graphics g)
Overrides:
paint in class PVisible
 o drawWordsJustified
  public void drawWordsJustified(Graphics g,
                                 int actual_line,
                                 int x_position,
                                 int y_position,
                                 int width)

All Packages  Class Hierarchy  This Package  Previous  Next  Index