|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.graphic.event.EditorKitEvent
public class EditorKitEvent
A class that allows an EditorKit's mousetool to send high-level mouse-events, i.e. somehow pre-processed
by the EditorKit machinery. This is inspired from
javax.swing.event.HyperlinkListener
.
Application cover :
[pending] underway ; compile ok but not used yet.
Nested Class Summary | |
---|---|
static class |
EditorKitEvent.EventType
typesafe enumeration of allowed event types |
Constructor Summary | |
---|---|
EditorKitEvent(EditorKit source,
EditorKitEvent.EventType type,
HitInfo hitInfo)
contruct a new EditorKitEvent. |
Method Summary | |
---|---|
HitInfo |
getHitInfo()
Return the HitInfo associated with the mouse-event |
EditorKit |
getSource()
Return the editor kit that sourced this event |
EditorKitEvent.EventType |
getType()
Return the type of this event |
String |
toString()
Return a String representation of this event for debugging purpose. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EditorKitEvent(EditorKit source, EditorKitEvent.EventType type, HitInfo hitInfo)
source
- the editorkit that sourced the eventtype
- the event typehitInfo
- the HitInfo associated with the mouse eventMethod Detail |
---|
public EditorKit getSource()
public EditorKitEvent.EventType getType()
public HitInfo getHitInfo()
public String toString()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |