Java Doc for DragPolicy.java in  » Portal » Open-Portal » graphical » 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 » Portal » Open Portal » graphical 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


graphical.DragPolicy

All known Subclasses:   graphical.DragIGREView,  graphical.DragListView,
DragPolicy
public interface DragPolicy (Code)


Field Summary
final public static  intDRAGFROMCOPY
     Drag source policy that allows drag but doesn't alter display.
final public static  intDRAGFROMDISALLOWED
     Drag source policy that dissallows dragging from this list.
final public static  intDRAGFROMMOVE
     Drag source policy that allows drag and removes from display.
final public static  intDRAGTOACCEPT
     Drag destination policy that allows dragging to this list without updating it.
final public static  intDRAGTOACCEPTDISPLACE
     Drag destination policy that allows dragging to this list and includes the new item in the list if it is a ListItem, displacing what it was dragged to.
final public static  intDRAGTOACCEPTINCLUDE
     Drag destination policy that allows dragging to this list and includes the new item in the list if it is a ListItem.
final public static  intDRAGTODISALLOWED
     Drag destination policy that dissallows dragging to this list.


Method Summary
public  TargetgetDestinationTarget()
     Get the destination target.
abstract public  ImagegetDragImage()
     Get the drag image.
abstract public  DragPolicyContextgetDragPolicyContext()
     Get the DragPolicyContext.
public  TargetgetSourceTarget()
     Get the source target.
abstract public  booleanmouseDown(MouseEvent e)
     Use to capture the originating mouseDown x, y.
abstract public  voidmouseDragged(MouseEvent e)
     Use to set up the DragSession using the mouseDown x, y.
public  voidsetDestinationTarget(Target t)
     Set the destination target.
abstract public  voidsetDragDestinationPolicy(int dragDestinationPolicy)
     Set the drag destination policy.
abstract public  voidsetDragImage(Image dragImage)
     Set the drag image.
abstract public  voidsetDragSourcePolicy(int dragSourcePolicy)
     Set the drag source policy.
public  voidsetSourceTarget(Target t)
     Set the source target.

Field Detail
DRAGFROMCOPY
final public static int DRAGFROMCOPY(Code)
Drag source policy that allows drag but doesn't alter display.



DRAGFROMDISALLOWED
final public static int DRAGFROMDISALLOWED(Code)
Drag source policy that dissallows dragging from this list.



DRAGFROMMOVE
final public static int DRAGFROMMOVE(Code)
Drag source policy that allows drag and removes from display.



DRAGTOACCEPT
final public static int DRAGTOACCEPT(Code)
Drag destination policy that allows dragging to this list without updating it.



DRAGTOACCEPTDISPLACE
final public static int DRAGTOACCEPTDISPLACE(Code)
Drag destination policy that allows dragging to this list and includes the new item in the list if it is a ListItem, displacing what it was dragged to.



DRAGTOACCEPTINCLUDE
final public static int DRAGTOACCEPTINCLUDE(Code)
Drag destination policy that allows dragging to this list and includes the new item in the list if it is a ListItem.



DRAGTODISALLOWED
final public static int DRAGTODISALLOWED(Code)
Drag destination policy that dissallows dragging to this list.





Method Detail
getDestinationTarget
public Target getDestinationTarget()(Code)
Get the destination target. When a destination takes in data, it's handlers can ask another target to do additional handling.
Parameters:
  v - target view



getDragImage
abstract public Image getDragImage()(Code)
Get the drag image.



getDragPolicyContext
abstract public DragPolicyContext getDragPolicyContext()(Code)
Get the DragPolicyContext.



getSourceTarget
public Target getSourceTarget()(Code)
Get the source target. When a source sends data, it's handlers can ask another target to do additional handling.
Parameters:
  v - target view



mouseDown
abstract public boolean mouseDown(MouseEvent e)(Code)
Use to capture the originating mouseDown x, y.
Parameters:
  e - the mouse event



mouseDragged
abstract public void mouseDragged(MouseEvent e)(Code)
Use to set up the DragSession using the mouseDown x, y.
Parameters:
  e - the mouse event



setDestinationTarget
public void setDestinationTarget(Target t)(Code)
Set the destination target. When a destination takes in data, it's handlers can ask another target to do additional handling.
Parameters:
  v - target view



setDragDestinationPolicy
abstract public void setDragDestinationPolicy(int dragDestinationPolicy) throws IllegalArgumentException(Code)
Set the drag destination policy.
Parameters:
  dragDestinationPolicy - the policy
exception:
  IllegalArgumentException - if not passed a legal policy



setDragImage
abstract public void setDragImage(Image dragImage)(Code)
Set the drag image.
Parameters:
  dragImage - the drag image.



setDragSourcePolicy
abstract public void setDragSourcePolicy(int dragSourcePolicy) throws IllegalArgumentException(Code)
Set the drag source policy.
Parameters:
  dragSourcePolicy - the policy
exception:
  IllegalArgumentException - if not passed a legal policy



setSourceTarget
public void setSourceTarget(Target t)(Code)
Set the source target. When a source sends data, it's handlers can ask another target to do additional handling.
Parameters:
  v - target view



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