jpicedt.graphic.view
Class HitInfo.Text
java.lang.Object
jpicedt.graphic.view.HitInfo
jpicedt.graphic.view.HitInfo.Interior
jpicedt.graphic.view.HitInfo.Text
- Enclosing class:
- HitInfo
- public static class HitInfo.Text
- extends HitInfo.Interior
Represent a Hit that occured on some interior area of a TextEditable. This is simply a convenient wrapper for
java.awt.font.TextHitInfo
.
HitInfo.Text
public HitInfo.Text(TextEditable clickedObject,
TextHitInfo thi,
PEMouseEvent mouseEvent)
- construct a new HitInfo.Text that occured on the given TextEditable, fetching useful information
from the given TextHitInfo.
getTextHitInfo
public TextHitInfo getTextHitInfo()
- Returns the
java.awt.font.TextHitInfo
wrapped into this HitInfo.
toString
public String toString()
- Overrides:
toString
in class HitInfo.Interior
Submit a bug : syd@jpicedt.org