Java Doc for GraphUI.java in  » Graphic-Library » jgraph » org » jgraph » plaf » 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 » Graphic Library » jgraph » org.jgraph.plaf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.swing.plaf.ComponentUI
      org.jgraph.plaf.GraphUI

All known Subclasses:   org.jgraph.plaf.basic.BasicGraphUI,
GraphUI
abstract public class GraphUI extends ComponentUI (Code)
Pluggable look and feel interface for JGraph.
version:
   1.0 1/1/02
author:
   Gaudenz Alder




Method Summary
abstract public  voidcancelEditing(JGraph graph)
     Cancels the current editing session.
abstract public  intgetDropAction()
     Returns the current drop action.
abstract public  ObjectgetEditingCell(JGraph graph)
     Returns the cell that is being edited.
abstract public  CellHandlegetHandle()
     Returns the CellHandle that is currently active, or null if no handle is active.
abstract public  PointgetInsertionLocation()
     Returns the insertion location for DnD operations.
abstract public  Dimension2DgetPreferredSize(JGraph graph, CellView view)
     Returns the preferred size for view.
abstract public  booleanisEditing(JGraph graph)
     Returns true if the graph is being edited.
abstract public  voidpaintCell(Graphics g, CellView view, Rectangle2D bounds, boolean preview)
     Paints the renderer of view to g at bounds.
abstract public  voidpaintPorts(Graphics g, CellView[] portViews)
     Paints the renderers of portViews to g.
abstract public  voidselectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event)
     Messaged to update the selection based on a MouseEvent for a group of cells.
abstract public  voidsetInsertionLocation(Point p)
     Sets the current location for Drag-and-Drop activity.
abstract public  voidstartEditingAtCell(JGraph graph, Object cell)
     Selects the cell and tries to edit it.
abstract public  booleanstopEditing(JGraph graph)
     Stops the current editing session.
abstract public  voidupdateHandle()
     Updates the handle.



Method Detail
cancelEditing
abstract public void cancelEditing(JGraph graph)(Code)
Cancels the current editing session. This has no effect if the graph isn't being edited. Returns true if the editor allows the editing session to stop.



getDropAction
abstract public int getDropAction()(Code)
Returns the current drop action.



getEditingCell
abstract public Object getEditingCell(JGraph graph)(Code)
Returns the cell that is being edited.



getHandle
abstract public CellHandle getHandle()(Code)
Returns the CellHandle that is currently active, or null if no handle is active.



getInsertionLocation
abstract public Point getInsertionLocation()(Code)
Returns the insertion location for DnD operations.



getPreferredSize
abstract public Dimension2D getPreferredSize(JGraph graph, CellView view)(Code)
Returns the preferred size for view.



isEditing
abstract public boolean isEditing(JGraph graph)(Code)
Returns true if the graph is being edited. The item that is being edited can be returned by getEditingCell().



paintCell
abstract public void paintCell(Graphics g, CellView view, Rectangle2D bounds, boolean preview)(Code)
Paints the renderer of view to g at bounds.



paintPorts
abstract public void paintPorts(Graphics g, CellView[] portViews)(Code)
Paints the renderers of portViews to g.



selectCellsForEvent
abstract public void selectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event)(Code)
Messaged to update the selection based on a MouseEvent for a group of cells. If the event is a toggle selection event, the cells are either selected, or deselected. Otherwise the cells are selected.



setInsertionLocation
abstract public void setInsertionLocation(Point p)(Code)
Sets the current location for Drag-and-Drop activity. Should be set to null after a drop.



startEditingAtCell
abstract public void startEditingAtCell(JGraph graph, Object cell)(Code)
Selects the cell and tries to edit it. Editing will fail if the CellEditor won't allow it for the selected item.



stopEditing
abstract public boolean stopEditing(JGraph graph)(Code)
Stops the current editing session. This has no effect if the graph isn't being edited. Returns true if the editor allows the editing session to stop.



updateHandle
abstract public void updateHandle()(Code)
Updates the handle.



Methods inherited from javax.swing.plaf.ComponentUI
public boolean contains(JComponent c, int x, int y)(Code)(Java Doc)
public static ComponentUI createUI(JComponent c)(Code)(Java Doc)
public Accessible getAccessibleChild(JComponent c, int i)(Code)(Java Doc)
public int getAccessibleChildrenCount(JComponent c)(Code)(Java Doc)
public int getBaseline(JComponent c, int width, int height)(Code)(Java Doc)
public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)(Java Doc)
public Dimension getMaximumSize(JComponent c)(Code)(Java Doc)
public Dimension getMinimumSize(JComponent c)(Code)(Java Doc)
public Dimension getPreferredSize(JComponent c)(Code)(Java Doc)
public void installUI(JComponent c)(Code)(Java Doc)
public void paint(Graphics g, JComponent c)(Code)(Java Doc)
public void uninstallUI(JComponent c)(Code)(Java Doc)
public void update(Graphics g, JComponent c)(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.