Java Doc for XEditorEventHandler.java in  » XML-UI » XUI » net » xoetrope » builder » editor » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML UI » XUI » net.xoetrope.builder.editor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.xoetrope.xui.XEventHandler
      net.xoetrope.builder.editor.XEditorEventHandler

XEditorEventHandler
public class XEditorEventHandler extends XEventHandler implements ActionListener,FocusListener,TextListener,ItemListener,KeyListener,MouseListener,MouseMotionListener(Code)

Implements an event handler for the XPageBuilder and redirects events to the page builder. XPage

Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
License: see license.txt
version:
   1.0



Field Summary
protected  XEventHandleroriginalEventHandler
    
protected  XPageHolderpageHolder
    

Constructor Summary
public  XEditorEventHandler(XPageHolder pb, XEventHandler eh, Container c, XValidationHandler vh)
    

Method Summary
public  voidactionPerformed(ActionEvent e)
    
public  voidaddActionHandler(Component comp, String methodName)
    
public  voidaddFocusHandler(Component comp, String methodName)
    
public  voidaddHandler(Component comp, long eventType, String methodName)
     Adds an event handler.
public  voidaddItemHandler(Component comp, String methodName)
    
public  voidaddKeyHandler(Component comp, String methodName)
    
public  voidaddListener(Component comp, String listenerName, String argType)
     Adds a listener for an event type.
public  voidaddMouseHandler(Component comp, String methodName)
    
public  voidaddMouseMotionHandler(Component comp, String methodName)
    
public  voidaddTextHandler(Component comp, String methodName)
    
public  voidfocusGained(FocusEvent e)
    
public  voidfocusLost(FocusEvent e)
    
public  AWTEventgetCurrentEvent()
    
public  XEventHandlergetOriginalEventHandler()
    
protected  voidinvoke(long eventType, AWTEvent evt)
     Invokes an event.
public  booleanisFocusChangeSuppressed()
    
public  voiditemStateChanged(ItemEvent e)
    
public  voidkeyPressed(KeyEvent e)
    
public  voidkeyReleased(KeyEvent e)
    
public  voidkeyTyped(KeyEvent e)
    
public  voidmouseClicked(MouseEvent e)
    
public  voidmouseDragged(MouseEvent e)
    
public  voidmouseEntered(MouseEvent e)
    
public  voidmouseExited(MouseEvent e)
    
public  voidmouseMoved(MouseEvent e)
    
public  voidmousePressed(MouseEvent e)
    
public  voidmouseReleased(MouseEvent e)
    
public  voidremoveActionHandler(Component comp, String methodName)
    
public  voidremoveFocusHandler(Component comp, String methodName)
    
public  voidremoveHandler(Object comp, long eventType, String methodName)
     Removes an event handler.
public  voidremoveItemHandler(Component comp, String methodName)
    
public  voidremoveKeyHandler(Component comp, String methodName)
    
public  voidremoveListener(Object comp, String listenerName, String argType)
     Removes a listener for an event type.
public  voidremoveMenuHandler(Object menuItem, String methodName)
    
public  voidremoveMouseHandler(Component comp, String methodName)
    
public  voidremoveMouseMotionHandler(Component comp, String methodName)
    
public  voidremoveTextHandler(Component comp, String methodName)
    
public  voidsuppressFocusEvents(boolean suppress)
    
public  voidtextValueChanged(TextEvent e)
    
public  booleanwasMouseClicked()
     A utility method used to determine if the last event corrseponds to a mouse click.

Field Detail
originalEventHandler
protected XEventHandler originalEventHandler(Code)



pageHolder
protected XPageHolder pageHolder(Code)




Constructor Detail
XEditorEventHandler
public XEditorEventHandler(XPageHolder pb, XEventHandler eh, Container c, XValidationHandler vh)(Code)




Method Detail
actionPerformed
public void actionPerformed(ActionEvent e)(Code)



addActionHandler
public void addActionHandler(Component comp, String methodName)(Code)
Adds a handler for action events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the action event
See Also:   java.awt.event.ActionListener
See Also:   java.awt.event.ActionEvent



addFocusHandler
public void addFocusHandler(Component comp, String methodName)(Code)
Adds a handler for focus events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the focus event
See Also:   java.awt.event.FocusListener
See Also:   java.awt.event.FocusEvent



addHandler
public void addHandler(Component comp, long eventType, String methodName) throws Exception(Code)
Adds an event handler. A specific handler such as the addActionHandler should be used instead of calling this method
Parameters:
  comp - the component that fires the event
Parameters:
  methodName - the method to be invoked in response to the object



addItemHandler
public void addItemHandler(Component comp, String methodName)(Code)
Adds a handler for item events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the item event
See Also:   java.awt.event.ItemListener
See Also:   java.awt.event.ItemEvent



addKeyHandler
public void addKeyHandler(Component comp, String methodName)(Code)
Adds a handler for key events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the key event
See Also:   java.awt.event.KeyListener
See Also:   java.awt.event.KeyEvent



addListener
public void addListener(Component comp, String listenerName, String argType)(Code)
Adds a listener for an event type. This method should not normally be called by an application
Parameters:
  comp - the component that fires events
Parameters:
  listenerName - the name of the listener interface
Parameters:
  argType - the listener arguments



addMouseHandler
public void addMouseHandler(Component comp, String methodName)(Code)
Adds a handler for mouse events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the mouse event
See Also:   java.awt.event.MouseMotionListener
See Also:   java.awt.event.MouseEvent



addMouseMotionHandler
public void addMouseMotionHandler(Component comp, String methodName)(Code)
Adds a handler for mouse motion events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the mouse event
See Also:   java.awt.event.MouseMotionListener
See Also:   java.awt.event.MouseEvent



addTextHandler
public void addTextHandler(Component comp, String methodName)(Code)
Adds a handler for text events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the text event
See Also:   java.awt.event.TextListener
See Also:   java.awt.event.TextEvent



focusGained
public void focusGained(FocusEvent e)(Code)



focusLost
public void focusLost(FocusEvent e)(Code)



getCurrentEvent
public AWTEvent getCurrentEvent()(Code)
Get the current event the AWTEvent that was last triggered



getOriginalEventHandler
public XEventHandler getOriginalEventHandler()(Code)



invoke
protected void invoke(long eventType, AWTEvent evt)(Code)
Invokes an event. Called in response to an event. If a handler has been added for the event it will be invoked.
Parameters:
  evt - the event object



isFocusChangeSuppressed
public boolean isFocusChangeSuppressed()(Code)
Check the focus change status true if the focus change events are being suppressed.



itemStateChanged
public void itemStateChanged(ItemEvent e)(Code)



keyPressed
public void keyPressed(KeyEvent e)(Code)



keyReleased
public void keyReleased(KeyEvent e)(Code)



keyTyped
public void keyTyped(KeyEvent e)(Code)



mouseClicked
public void mouseClicked(MouseEvent e)(Code)



mouseDragged
public void mouseDragged(MouseEvent e)(Code)



mouseEntered
public void mouseEntered(MouseEvent e)(Code)



mouseExited
public void mouseExited(MouseEvent e)(Code)



mouseMoved
public void mouseMoved(MouseEvent e)(Code)



mousePressed
public void mousePressed(MouseEvent e)(Code)



mouseReleased
public void mouseReleased(MouseEvent e)(Code)



removeActionHandler
public void removeActionHandler(Component comp, String methodName)(Code)
Removes a handler for action events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the action event
See Also:   java.awt.event.ActionListener
See Also:   java.awt.event.ActionEvent



removeFocusHandler
public void removeFocusHandler(Component comp, String methodName)(Code)
Removes a handler for focus events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the focus event
See Also:   java.awt.event.FocusListener
See Also:   java.awt.event.FocusEvent



removeHandler
public void removeHandler(Object comp, long eventType, String methodName) throws Exception(Code)
Removes an event handler. A specific handler such as the removeActionHandler should be used instead of calling this method
Parameters:
  comp - the component that fires the event
Parameters:
  methodName - the method to be invoked in response to the object



removeItemHandler
public void removeItemHandler(Component comp, String methodName)(Code)
Removes a handler for item events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the item event
See Also:   java.awt.event.ItemListener
See Also:   java.awt.event.ItemEvent



removeKeyHandler
public void removeKeyHandler(Component comp, String methodName)(Code)
Removes a handler for key events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the key event
See Also:   java.awt.event.KeyListener
See Also:   java.awt.event.KeyEvent



removeListener
public void removeListener(Object comp, String listenerName, String argType)(Code)
Removes a listener for an event type. This method should not normally be called by an application
Parameters:
  comp - the component that fires events
Parameters:
  listenerName - the name of the listener interface
Parameters:
  argType - the listener arguments



removeMenuHandler
public void removeMenuHandler(Object menuItem, String methodName)(Code)
Removes a handler for action events
Parameters:
  menuItem - the menu item that fires the events
Parameters:
  methodName - the method to be invoked in response to the action event
See Also:   java.awt.event.ActionListener
See Also:   java.awt.event.ActionEvent



removeMouseHandler
public void removeMouseHandler(Component comp, String methodName)(Code)
Removes a handler for mouse events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the mouse event
See Also:   java.awt.event.MouseMotionListener
See Also:   java.awt.event.MouseEvent



removeMouseMotionHandler
public void removeMouseMotionHandler(Component comp, String methodName)(Code)
Removes a handler for mouse motion events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the mouse event
See Also:   java.awt.event.MouseMotionListener
See Also:   java.awt.event.MouseEvent



removeTextHandler
public void removeTextHandler(Component comp, String methodName)(Code)
Removes a handler for text events
Parameters:
  comp - the component that fires the events
Parameters:
  methodName - the method to be invoked in response to the text event
See Also:   java.awt.event.TextListener
See Also:   java.awt.event.TextEvent



suppressFocusEvents
public void suppressFocusEvents(boolean suppress)(Code)



textValueChanged
public void textValueChanged(TextEvent e)(Code)



wasMouseClicked
public boolean wasMouseClicked()(Code)
A utility method used to determine if the last event corrseponds to a mouse click. The notion of a click is extended by assuming the a mouse press and release within a single component constitutes a click even if not at the same coordinate. A MouseEvent.MOUSE_CLICKED is only triggered when the press and release are at the same location and this is often inadequate for end-user interaction. true if the mouse was clicked



Fields inherited from net.xoetrope.xui.XEventHandler
protected Container container(Code)(Java Doc)
protected static AWTEvent currentEvt(Code)(Java Doc)
protected Hashtable handlers(Code)(Java Doc)
protected static Component mouseDownComponent(Code)(Java Doc)
protected static boolean mouseEventInvoked(Code)(Java Doc)
protected static int suppressFocusEvents(Code)(Java Doc)
protected XValidationHandler xValidationHandler(Code)(Java Doc)

Methods inherited from net.xoetrope.xui.XEventHandler
public void actionPerformed(ActionEvent e)(Code)(Java Doc)
public void addActionHandler(Component comp, String methodName)(Code)(Java Doc)
public void addFocusHandler(Component comp, String methodName)(Code)(Java Doc)
public void addHandler(Object comp, long eventType, String methodName) throws Exception(Code)(Java Doc)
public void addItemHandler(Component comp, String methodName)(Code)(Java Doc)
public void addKeyHandler(Component comp, String methodName)(Code)(Java Doc)
public void addListener(Object comp, String listenerName, String argType)(Code)(Java Doc)
public void addMenuHandler(Object menuItem, String methodName)(Code)(Java Doc)
public void addMouseHandler(Component comp, String methodName)(Code)(Java Doc)
public void addMouseMotionHandler(Component comp, String methodName)(Code)(Java Doc)
public void addTextHandler(Component comp, String methodName)(Code)(Java Doc)
public Method findEvent(Component src, long eventType)(Code)(Java Doc)
public void focusGained(FocusEvent e)(Code)(Java Doc)
public void focusLost(FocusEvent e)(Code)(Java Doc)
public AWTEvent getCurrentEvent()(Code)(Java Doc)
protected void invoke(long eventType, AWTEvent evt)(Code)(Java Doc)
public boolean isFocusChangeSuppressed()(Code)(Java Doc)
public void itemStateChanged(ItemEvent e)(Code)(Java Doc)
public void keyPressed(KeyEvent e)(Code)(Java Doc)
public void keyReleased(KeyEvent e)(Code)(Java Doc)
public void keyTyped(KeyEvent e)(Code)(Java Doc)
public void mouseClicked(MouseEvent e)(Code)(Java Doc)
public void mouseDragged(MouseEvent e)(Code)(Java Doc)
public void mouseEntered(MouseEvent e)(Code)(Java Doc)
public void mouseExited(MouseEvent e)(Code)(Java Doc)
public void mouseMoved(MouseEvent e)(Code)(Java Doc)
public void mousePressed(MouseEvent e)(Code)(Java Doc)
public void mouseReleased(MouseEvent e)(Code)(Java Doc)
public void suppressFocusEvents(boolean suppress)(Code)(Java Doc)
public void textValueChanged(TextEvent e)(Code)(Java Doc)
public boolean wasMouseClicked()(Code)(Java Doc)
public boolean wasMouseDoubleClicked()(Code)(Java Doc)
public boolean wasMouseRightClicked()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.