|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.inet.editor.DefaultHyperlinkListener
public class DefaultHyperlinkListener
The default HyperlinkListener of the BaseEditor
Constructor Summary | |
---|---|
DefaultHyperlinkListener(BaseEditor editor)
Create a new listener for an editor |
Method Summary | |
---|---|
void |
hyperlinkUpdate(javax.swing.event.HyperlinkEvent ev)
|
void |
setCustomHyperlinkHandler(HyperlinkHandler customHandler)
Set the handler for this instance. |
static void |
setDefaultHyperlinkHandler(HyperlinkHandler defaultHandler)
Sets the default hyperlink handler for ALL DefaultHyperlinkListener . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultHyperlinkListener(BaseEditor editor)
editor
- the editor, which will be affected by this handlerMethod Detail |
---|
public static void setDefaultHyperlinkHandler(HyperlinkHandler defaultHandler)
DefaultHyperlinkListener
. The default
handler will be executed after the instance custom hander and before the internal code of this
a listener
defaultHandler
- the default handler, may be null to reset thempublic void setCustomHyperlinkHandler(HyperlinkHandler customHandler)
customHandler
- the instance custom handler, may be null to resetpublic void hyperlinkUpdate(javax.swing.event.HyperlinkEvent ev)
hyperlinkUpdate
in interface javax.swing.event.HyperlinkListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |