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
-
hostingText
-
-
last_character_pos_x
-
-
last_character_pos_y
-
-
myFontMetrics
-
-
n_lines
-
-
rebuild_lines
-
-
textData
-
-
textFont
-
-
PText(Text)
-
-
buildLines()
-
-
changeBoxSize(int, int)
-
-
consumeWord(String, boolean)
-
-
drawWordsJustified(Graphics, int, int, int, int)
-
-
hasTransparentParts()
-
-
paint(Graphics)
-
-
setBounds(int, int, int, int)
-
-
setText(String, Font)
-
last_character_pos_x
protected int last_character_pos_x
last_character_pos_y
protected int last_character_pos_y
hostingText
protected Text hostingText
textData
protected String textData
textFont
protected Font textFont
n_lines
protected int n_lines
myFontMetrics
protected FontMetrics myFontMetrics
rebuild_lines
protected boolean rebuild_lines
PText
public PText(Text tmp_Text)
setBounds
public void setBounds(int xPos,
int yPos,
int width,
int height)
- Overrides:
- setBounds in class PVisible
changeBoxSize
public void changeBoxSize(int newWidth,
int newHeight)
- Overrides:
- changeBoxSize in class PVisible
hasTransparentParts
public boolean hasTransparentParts()
- Overrides:
- hasTransparentParts in class PVisible
setText
public void setText(String _textData,
Font _textFont)
consumeWord
public void consumeWord(String word,
boolean final_call)
buildLines
public void buildLines()
paint
public void paint(Graphics g)
- Overrides:
- paint in class PVisible
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