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
.
Constructor Summary |
HitInfo.Text(TextEditable clickedObject,
java.awt.font.TextHitInfo thi,
PEMouseEvent mouseEvent)
construct a new HitInfo.Text that occured on the given TextEditable, fetching useful information
from the given TextHitInfo. |
Method Summary |
java.awt.font.TextHitInfo |
getTextHitInfo()
Returns the java.awt.font.TextHitInfo wrapped into this HitInfo. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HitInfo.Text
public HitInfo.Text(TextEditable clickedObject,
java.awt.font.TextHitInfo thi,
PEMouseEvent mouseEvent)
- construct a new HitInfo.Text that occured on the given TextEditable, fetching useful information
from the given TextHitInfo.
getTextHitInfo
public java.awt.font.TextHitInfo getTextHitInfo()
- Returns the
java.awt.font.TextHitInfo
wrapped into this HitInfo.
toString
public java.lang.String toString()
- Overrides:
toString
in class HitInfo.Interior
Submit a bug : syd@jpicedt.org