http://www.jpicedt.org

jpicedt.graphic.view
Class HitInfo.Text

java.lang.Object
  extended by jpicedt.graphic.view.HitInfo
      extended by jpicedt.graphic.view.HitInfo.Interior
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class jpicedt.graphic.view.HitInfo
HitInfo.Composite, HitInfo.EnvelopeStroke, HitInfo.HighlighterStroke, HitInfo.Interior, HitInfo.Point, HitInfo.Stroke, HitInfo.Text
 
Constructor Summary
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.
 
Method Summary
 TextHitInfo getTextHitInfo()
          Returns the java.awt.font.TextHitInfo wrapped into this HitInfo.
 String toString()
           
 
Methods inherited from class jpicedt.graphic.view.HitInfo
getMouseEvent, getTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

Method Detail

getTextHitInfo

public TextHitInfo getTextHitInfo()
Returns the java.awt.font.TextHitInfo wrapped into this HitInfo.


toString

public String toString()
Overrides:
toString in class HitInfo.Interior

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org