Package pyjsdl :: Module pyjsobj :: Class FocusElement

Class FocusElement

Element --+
          |
         FocusElement

Instance Methods
 
__init__(self)
 
addMouseListener(self, obj)
 
addKeyboardListener(self, obj)
 
addKeyEventListener(self, obj)
 
removeKeyEventListener(self, obj)
 
addFocusListener(self, obj)
 
sinkEvents(self, events)
 
onMouseMove(self, event)
 
onMouseDown(self, event)
 
onMouseUp(self, event)
 
onMouseEnter(self, event)
 
onMouseLeave(self, event)
 
onMouseWheel(self, event)
 
onKeyDown(self, event)
 
onKeyUp(self, event)
 
onKeyPress(self, event)
 
onTouchInitiate(self, event)
 
onTouchStart(self, event)
 
onTouchEnd(self, event)
 
onTouchMove(self, event)
 
onTouchCancel(self, event)
 
onFocus(self, event)
 
onBlur(self, event)
 
focus(self)
 
blur(self)

Inherited from Element: addEventListener, appendChild, click, getAttribute, getAttributes, getBoundingClientRect, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElement, getID, getMouseWheelEventType, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTitle, removeChild, removeEventListener, setAttribute, setElement, setHeight, setID, setSize, setTitle, setWidth, style

Method Details

__init__(self)
(Constructor)

 
Overrides: Element.__init__

focus(self)

 
Overrides: Element.focus

blur(self)

 
Overrides: Element.blur