name.dhiller.jBorderLiner
Class BLMouseClickHandlerImpl
java.lang.Object
com.sun.star.lib.uno.helper.WeakBase
name.dhiller.jBorderLiner.BLMouseClickHandlerImpl
- All Implemented Interfaces:
- com.sun.star.awt.XEnhancedMouseClickHandler, com.sun.star.lang.XEventListener, com.sun.star.lang.XTypeProvider, com.sun.star.uno.XInterface, com.sun.star.uno.XWeak, EventListener
public final class BLMouseClickHandlerImpl
- extends com.sun.star.lib.uno.helper.WeakBase
- implements com.sun.star.awt.XEnhancedMouseClickHandler
Borders handling
- Version:
- 080709
- Author:
- Dietmar Hiller (Dhiller), Max Giesbert (co-author)
Fields inherited from class com.sun.star.lib.uno.helper.WeakBase |
_mapImplementationIds, _mapTypes |
Fields inherited from interface com.sun.star.awt.XEnhancedMouseClickHandler |
UNOTYPEINFO |
Fields inherited from interface com.sun.star.uno.XWeak |
UNOTYPEINFO |
Fields inherited from interface com.sun.star.lang.XTypeProvider |
UNOTYPEINFO |
Constructor Summary |
BLMouseClickHandlerImpl(com.sun.star.frame.XFrame xFrame,
com.sun.star.uno.XComponentContext xContext)
|
Method Summary |
void |
disposing(com.sun.star.lang.EventObject Source)
|
private com.sun.star.accessibility.XAccessibleContext |
getAccessibleForRole(com.sun.star.accessibility.XAccessibleContext accessibleContext,
short role)
traverses the accessibility tree and returns the first XAccessibleContext with the given role |
boolean |
mousePressed(com.sun.star.awt.EnhancedMouseEvent e)
|
boolean |
mouseReleased(com.sun.star.awt.EnhancedMouseEvent e)
|
Methods inherited from class com.sun.star.lib.uno.helper.WeakBase |
finalize, getImplementationId, getTypes, queryAdapter |
m_xContext
private final com.sun.star.uno.XComponentContext m_xContext
m_xFrame
private final com.sun.star.frame.XFrame m_xFrame
m_implementationName
private static final String m_implementationName
LIMIT
private final short LIMIT
- See Also:
- Constant Field Values
BLMouseClickHandlerImpl
public BLMouseClickHandlerImpl(com.sun.star.frame.XFrame xFrame,
com.sun.star.uno.XComponentContext xContext)
disposing
public void disposing(com.sun.star.lang.EventObject Source)
- Specified by:
disposing
in interface com.sun.star.lang.XEventListener
mousePressed
public boolean mousePressed(com.sun.star.awt.EnhancedMouseEvent e)
- Specified by:
mousePressed
in interface com.sun.star.awt.XEnhancedMouseClickHandler
mouseReleased
public boolean mouseReleased(com.sun.star.awt.EnhancedMouseEvent e)
- Specified by:
mouseReleased
in interface com.sun.star.awt.XEnhancedMouseClickHandler
getAccessibleForRole
private com.sun.star.accessibility.XAccessibleContext getAccessibleForRole(com.sun.star.accessibility.XAccessibleContext accessibleContext,
short role)
- traverses the accessibility tree and returns the first
XAccessibleContext
with the given role
- Parameters:
accessibleContext
- the context to start searching withrole
- the role of the context that should be returned
- Returns:
- the first XAccessibleContext found with the given role or
null