Package org.eclipse.help.ui.internal
Class HyperlinkHandler
java.lang.Object
org.eclipse.help.ui.internal.HyperlinkHandler
- All Implemented Interfaces:
- EventListener,- MouseListener,- MouseTrackListener,- PaintListener,- Listener
public class HyperlinkHandler
extends Object
implements MouseListener, MouseTrackListener, PaintListener, Listener
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintvoidhandleEvent(Event event) Sent when an event that the receiver has registered for occurs.booleanvoidSent when a mouse button is pressed twice within the (operating system specified) double click period.voidSent when a mouse button is pressed.voidSent when the mouse pointer passes into the area of the screen covered by a control.voidSent when the mouse pointer passes out of the area of the screen covered by a control.voidSent when the mouse pointer hovers (that is, stops moving for an (operating system specified) period of time) over a control.voidSent when a mouse button is released.voidSent when a paint event occurs for the control.voidregisterHyperlink(Control control, IHyperlinkListener listener) voidreset()voidsetActiveBackground(Color newActiveBackground) voidsetActiveForeground(Color newActiveForeground) voidsetBackground(Color newBackground) voidsetForeground(Color newForeground) voidsetHyperlinkCursorUsed(boolean newHyperlinkCursorUsed) voidsetHyperlinkUnderlineMode(int newHyperlinkUnderlineMode) static void
- 
Field Details- 
UNDERLINE_NEVERpublic static final int UNDERLINE_NEVER- See Also:
 
- 
UNDERLINE_ROLLOVERpublic static final int UNDERLINE_ROLLOVER- See Also:
 
- 
UNDERLINE_ALWAYSpublic static final int UNDERLINE_ALWAYS- See Also:
 
 
- 
- 
Constructor Details- 
HyperlinkHandlerpublic HyperlinkHandler()HyperlinkHandler constructor comment.
 
- 
- 
Method Details- 
getActiveBackground- Returns:
- org.eclipse.swt.graphics.Color
 
- 
getActiveForeground- Returns:
- org.eclipse.swt.graphics.Color
 
- 
getBackground- Returns:
- org.eclipse.swt.graphics.Color
 
- 
getForeground- Returns:
- org.eclipse.swt.graphics.Color
 
- 
getHyperlinkUnderlineModepublic int getHyperlinkUnderlineMode()- Returns:
- int
 
- 
getLastLink- Returns:
- org.eclipse.swt.widgets.Control
 
- 
isHyperlinkCursorUsedpublic boolean isHyperlinkCursorUsed()- Returns:
- boolean
 
- 
mouseDoubleClickDescription copied from interface:MouseListenerSent when a mouse button is pressed twice within the (operating system specified) double click period.- Specified by:
- mouseDoubleClickin interface- MouseListener
- Parameters:
- e- an event containing information about the mouse double click
- See Also:
 
- 
mouseDownDescription copied from interface:MouseListenerSent when a mouse button is pressed.- Specified by:
- mouseDownin interface- MouseListener
- Parameters:
- e- an event containing information about the mouse button press
 
- 
mouseEnterDescription copied from interface:MouseTrackListenerSent when the mouse pointer passes into the area of the screen covered by a control.- Specified by:
- mouseEnterin interface- MouseTrackListener
- Parameters:
- e- an event containing information about the mouse enter
 
- 
mouseExitDescription copied from interface:MouseTrackListenerSent when the mouse pointer passes out of the area of the screen covered by a control.- Specified by:
- mouseExitin interface- MouseTrackListener
- Parameters:
- e- an event containing information about the mouse exit
 
- 
mouseHoverDescription copied from interface:MouseTrackListenerSent when the mouse pointer hovers (that is, stops moving for an (operating system specified) period of time) over a control.- Specified by:
- mouseHoverin interface- MouseTrackListener
- Parameters:
- e- an event containing information about the hover
 
- 
mouseUpDescription copied from interface:MouseListenerSent when a mouse button is released.- Specified by:
- mouseUpin interface- MouseListener
- Parameters:
- e- an event containing information about the mouse button release
 
- 
paintControlDescription copied from interface:PaintListenerSent when a paint event occurs for the control.- Specified by:
- paintControlin interface- PaintListener
- Parameters:
- e- an event containing information about the paint
 
- 
registerHyperlink- Parameters:
- control- org.eclipse.swt.widgets.Control
- listener- org.eclipse.help.ui.internal.IHyperlinkListener
 
- 
getLinkListener
- 
resetpublic void reset()
- 
setActiveBackground- Parameters:
- newActiveBackground- org.eclipse.swt.graphics.Color
 
- 
setActiveForeground- Parameters:
- newActiveForeground- org.eclipse.swt.graphics.Color
 
- 
setBackground- Parameters:
- newBackground- org.eclipse.swt.graphics.Color
 
- 
setForeground- Parameters:
- newForeground- org.eclipse.swt.graphics.Color
 
- 
setHyperlinkCursorUsedpublic void setHyperlinkCursorUsed(boolean newHyperlinkCursorUsed) - Parameters:
- newHyperlinkCursorUsed- boolean
 
- 
setHyperlinkUnderlineModepublic void setHyperlinkUnderlineMode(int newHyperlinkUnderlineMode) - Parameters:
- newHyperlinkUnderlineMode- int
 
- 
underline- Parameters:
- control- org.eclipse.swt.widgets.Control
- inside- boolean
 
- 
handleEventSent when an event that the receiver has registered for occurs.- Specified by:
- handleEventin interface- Listener
- Parameters:
- event- the event which occurred
 
 
-