All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.graphics.text.TextLayoutChange
java.lang.Object
|
+----jp.kyasu.graphics.text.TextLayoutChange
- public class TextLayoutChange
- extends Object
The TextLayoutChange
class provides an information of
changes in a layout made on a TextLayout
object.
- Version:
- 11 Dec 1997
- Author:
- Kazuki YASUMATSU
- See Also:
- TextLayout
-
changeStatus
- The change status.
-
FULL_REPAINT
- Constant for the full repaint.
-
heightChanged
- The height changed.
-
NO_REPAINT
- Constant for no repaint.
-
paintBegin
- The beginning position to repaint, inclusive.
-
paintEnd
- The ending position to repaint, exclusive.
-
paintFromLineBegin
- True if repainting is needed from the beginning of the line.
-
paintToLineEnd
- True if repainting is needed to the ending of the line.
-
PARTIAL_REPAINT
- Constant for the partial repaint.
-
widthChanged
- The width changed.
-
TextLayoutChange(int)
- Constructs a non or full change information.
-
TextLayoutChange(TextPositionInfo, TextPositionInfo, boolean, boolean, int, int)
- Constructs a partial change information with the specified informations.
-
isFullRepaint()
- Checks if the full repainting is needed.
-
isNoRepaint()
- Checks if no repainting is needed.
-
isPartialRepaint()
- Checks if the partial repainting is needed.
-
toString()
- Returns a string representation of this object.
changeStatus
public int changeStatus
- The change status.
- See Also:
- PARTIAL_REPAINT, NO_REPAINT, FULL_REPAINT
paintBegin
public TextPositionInfo paintBegin
- The beginning position to repaint, inclusive.
This variable is valid when partail repainting is needed.
paintEnd
public TextPositionInfo paintEnd
- The ending position to repaint, exclusive.
This variable is valid when partail repainting is needed.
paintFromLineBegin
public boolean paintFromLineBegin
- True if repainting is needed from the beginning of the line.
This variable is valid when partail repainting is needed.
paintToLineEnd
public boolean paintToLineEnd
- True if repainting is needed to the ending of the line.
This variable is valid when partail repainting is needed.
heightChanged
public int heightChanged
- The height changed.
This variable is valid when partail repainting is needed.
widthChanged
public int widthChanged
- The width changed.
This variable is valid when partail repainting is needed.
PARTIAL_REPAINT
public static final int PARTIAL_REPAINT
- Constant for the partial repaint.
NO_REPAINT
public static final int NO_REPAINT
- Constant for no repaint.
FULL_REPAINT
public static final int FULL_REPAINT
- Constant for the full repaint.
TextLayoutChange
public TextLayoutChange(TextPositionInfo paintBegin,
TextPositionInfo paintEnd,
boolean paintFromLineBegin,
boolean paintToLineEnd,
int heightChanged,
int widthChanged)
- Constructs a partial change information with the specified informations.
- Parameters:
- paintBegin - the beginning position to repaint, inclusive.
- paintEnd - the ending position to repaint, exclusive.
- paintFromLineBegin - true if repainting is needed from the
beginning of the line.
- paintToLineEnd - true if repainting is needed to the ending
of the line.
- heightChanged - the height changed.
- widthChanged - the width changed.
TextLayoutChange
public TextLayoutChange(int changeStatus)
- Constructs a non or full change information.
- Parameters:
- changeStatus - the change status.
NO_REPAINT
and
FULL_REPAINT
are valied.
isPartialRepaint
public boolean isPartialRepaint()
- Checks if the partial repainting is needed.
isNoRepaint
public boolean isNoRepaint()
- Checks if no repainting is needed.
isFullRepaint
public boolean isFullRepaint()
- Checks if the full repainting is needed.
toString
public String toString()
- Returns a string representation of this object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index