Java Doc for BasicCanvasView.java in  » IDE-Netbeans » soa » org » netbeans » modules » soa » mapper » basicmapper » canvas » jgo » 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 » IDE Netbeans » soa » org.netbeans.modules.soa.mapper.basicmapper.canvas.jgo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.soa.mapper.basicmapper.canvas.jgo.AbstractCanvasView
   org.netbeans.modules.soa.mapper.basicmapper.canvas.jgo.BasicCanvasView

BasicCanvasView
public class BasicCanvasView extends AbstractCanvasView (Code)

Title:

BasicCanvasView

Description:

BasicCanvasView provides an implementation of a mapper canvas view.

Copyright: Copyright (c) 2002

Company:


author:
   Un Seng Leong
version:
   1.0


Field Summary
final static  intMOUSE_CLICK
    
final static  intMOUSE_DBLCLICK
    
final static  intMOUSE_MOVE
    
final static  intMOUSE_PRESS
    
final static  intMOUSE_RELEASE
    

Constructor Summary
public  BasicCanvasView(IMapperCanvasView view)
     Construct a new Canvas View.

Method Summary
public  voidaddCanvasMouseListener(ICanvasMouseListener listener)
    
public  voidaddLink(ICanvasLink link)
    
public  voidaddNode(ICanvasNode node)
     Add a node a this canvas to display.
public  booleanallContainersExpanded(ICanvasNode node)
     Retrun true if the container expended, false otherwise.
Parameters:
  node - the container node.
public  voidautoscroll(Point location)
    
public  voidclearSelection()
     Clear the selection.
public  voidcollapseAllNode()
     Collapse all Methoid Node in the current layer.
public  booleanconnectLinkByDrag(IMapperLink link)
     Create link from dragging on this canvas to other view.
public  booleanconnectLinkByPoint(Point docPoint, IMapperLink link)
     Return true if the specified mapper link can be connected by a mapper node that can be found by the specified point, false otherwise.
Parameters:
  docPoint - the point where the mapper node to be found, in thedocument point system.
Parameters:
  link - the link that should has 1 end does not connected to anynodes.
public  JGoSelectioncreateDefaultSelection()
    
public  JGoLinkcreateTemporaryLinkForNewLink(JGoPort from, JGoPort to)
    
public  voiddeleteSelection()
     Handles delete the selected object.
public  voiddoCancelMouse()
    
public  booleandoDefaultDeleteSelection()
     Wrapper method for the default delection selection, always return true.
public  booleandoDefaultMouseClick(ICanvasMouseData data)
    
public  booleandoDefaultMouseClick(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoDefaultMouseDblClick(ICanvasMouseData data)
    
public  booleandoDefaultMouseDblClick(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoDefaultMouseDown(ICanvasMouseData data)
    
public  booleandoDefaultMouseDown(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoDefaultMouseMove(ICanvasMouseData data)
    
public  booleandoDefaultMouseMove(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoDefaultMouseUp(ICanvasMouseData data)
    
public  booleandoDefaultMouseUp(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoMouseClick(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoMouseDblClick(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoMouseDown(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoMouseMove(int modifier, Point docLocation, Point viewLocation)
    
public  booleandoMouseUp(int modifier, Point docLocation, Point viewLocation)
    
public  voiddoUncapturedMouseMove(int modifiers, Point dc, Point vc)
    
public  voiddragOver(DropTargetDragEvent dtde)
    
public  voiddragOver(DragSourceDragEvent dsde)
    
public  voidexpendAllNode()
     Expend all Methoid Node in the current layer.
public  ICanvasFieldNodefindCanvasFieldNode(IFieldNode fieldNode)
     Retrun the canvas field node that repersents the specifeid mapper field node.
public  ICanvasMethoidNodefindCanvasMethoidNode(IMethoidNode methoidNode)
     Search and return the canvas methoid node that repersents the specified mapper methoid node.
public  booleanfireMouseEvent(int event, ICanvasMouseData data)
    
public  ICanvasFieldNodegetCanvasFieldNodeByPoint(Point point)
     Return a canvas field node that contains the specified point in its bounding.
public  ICanvasLinkgetCanvasLinkByDataObject(Object dataObject)
     Return a canvas link that contains the mapper link, or null if no such mapper link.
public  ICanvasMethoidNodegetCanvasMethoidNodeByPoint(Point point)
     Return a canvas methoid node that contains the specified point in its bounding.
public  ICanvasNodegetCanvasNodeByDataObject(Object dataObject)
     Return the canvas node repersetns the data object.
public  ICanvasObjectFactorygetCanvasObjectFactory()
     Return the canvas object factory for this canvas.
public  PointgetDefaultLocationForNewNode(IMethoidNode newNode)
     Return a default location for the specified new node that will possible add to this canvas view.
public  ListgetNodes()
     Return all the nodes in the currect layer.
public  ObjectgetObjectInModel(Point modelCor, boolean flag)
    
public  ObjectgetPortObjectInModel(Point modelCor, boolean flag)
    
public  CollectiongetSelectedLinks()
    
public  CollectiongetSelectedNodes()
    
public  StringgetToolTipText(MouseEvent mouseevent)
     We need to determine what object exists on the entire canvas at the specified mouse location.
 intgetTreeLinkFromPortX()
     Return the x coordination of a tree link from port.
 intgetTreeLinkPortY(IMapperNode node)
     Return the y coordination of the link ports in the specified node.
 intgetTreeLinkToPortX()
     Return the x coordination of a tree link to port.
public  ComponentgetUIComponent()
     Return the Look and Feel of this canvas.
protected  voidhandleNewGroupNode(IMapperGroupNode groupNode)
     Create the canvas node with the new group node added to this mapper.
protected  voidhandleNewNode(IMapperNode node)
     Create the canvas node with the new node added to this mapper.
protected  voidhandleRemoveMethoidNode(IMethoidNode methoidNode)
    
protected  voidhandleRemoveNode(IMapperNode node)
    
protected  voidinitializeCanvasNode(IMapperViewModel viewModel)
     Initialize canvas node with the specified view model.
public  booleanisNodeExisit(ICanvasNode node)
     Return true if the canvas node is existed in the canvas model.
Parameters:
  node - the specified node to be searched.
public  voidnewLink(JGoPort from, JGoPort to)
     Request the specified from port to a to port to produce a new link.
protected  voidnoNewLink(JGoPort from, JGoPort to)
     Handles the case where normally no new link would be created.
public  voidonDragGestureRecognized(java.awt.dnd.DragGestureEvent e)
    
public  voidonDrop(DropTargetDropEvent droptargetdropevent)
    
public  voidonKeyEvent(KeyEvent evt)
    
protected  voidonScrollEvent(java.awt.event.AdjustmentEvent evt)
     Reallocate the tree to tree link ports when scrolling.
public  voidremoveCanvasMouseListener(ICanvasMouseListener listener)
    
public  voidremoveNodes(Collection nodes)
    
public  voidremoveRawLink(ICanvasLink link)
    
public  voidselectNode(Object dataObject)
     Selectes the node that repersent by the specified data object.
public  voidsetCanvasObjectFactory(ICanvasObjectFactory factory)
     Set the canvas object factory for this canvas.
public  voidsetViewModel(IMapperViewModel viewModel)
     Set the mapper view model for this canvas.

Field Detail
MOUSE_CLICK
final static int MOUSE_CLICK(Code)



MOUSE_DBLCLICK
final static int MOUSE_DBLCLICK(Code)



MOUSE_MOVE
final static int MOUSE_MOVE(Code)



MOUSE_PRESS
final static int MOUSE_PRESS(Code)



MOUSE_RELEASE
final static int MOUSE_RELEASE(Code)




Constructor Detail
BasicCanvasView
public BasicCanvasView(IMapperCanvasView view)(Code)
Construct a new Canvas View. This canvas contains no vertical bar, but horizontal bar.
Parameters:
  view - the parent mapper view contains this canvas




Method Detail
addCanvasMouseListener
public void addCanvasMouseListener(ICanvasMouseListener listener)(Code)



addLink
public void addLink(ICanvasLink link)(Code)
Add a link to this canvas to display
Parameters:
  link - the specified link to be added.



addNode
public void addNode(ICanvasNode node)(Code)
Add a node a this canvas to display.
Parameters:
  node - the specified node to be added.



allContainersExpanded
public boolean allContainersExpanded(ICanvasNode node)(Code)
Retrun true if the container expended, false otherwise.
Parameters:
  node - the container node. Retrun true if the container expended, false otherwise.



autoscroll
public void autoscroll(Point location)(Code)



clearSelection
public void clearSelection()(Code)
Clear the selection. No object will be selected.



collapseAllNode
public void collapseAllNode()(Code)
Collapse all Methoid Node in the current layer.



connectLinkByDrag
public boolean connectLinkByDrag(IMapperLink link)(Code)
Create link from dragging on this canvas to other view. This method provide the way for user to drag a JGoPort (connection object of ICanvasFieldNode) to other view to create a link.
Parameters:
  link - the link to be created, should has only 1 end (start or endnode) null. Return true if the link is create successfull, falseotherwise.



connectLinkByPoint
public boolean connectLinkByPoint(Point docPoint, IMapperLink link)(Code)
Return true if the specified mapper link can be connected by a mapper node that can be found by the specified point, false otherwise.
Parameters:
  docPoint - the point where the mapper node to be found, in thedocument point system.
Parameters:
  link - the link that should has 1 end does not connected to anynodes. true if a canvas link contains the specified mapper linkcan be created, false otherwise.



createDefaultSelection
public JGoSelection createDefaultSelection()(Code)



createTemporaryLinkForNewLink
public JGoLink createTemporaryLinkForNewLink(JGoPort from, JGoPort to)(Code)



deleteSelection
public void deleteSelection()(Code)
Handles delete the selected object. Actural work is delegated to controller.



doCancelMouse
public void doCancelMouse()(Code)



doDefaultDeleteSelection
public boolean doDefaultDeleteSelection()(Code)
Wrapper method for the default delection selection, always return true. always true



doDefaultMouseClick
public boolean doDefaultMouseClick(ICanvasMouseData data)(Code)
Handles default mouse click behavior
Parameters:
  data - the mouse data of the double click event true if default mouse click is processed successfully, falseotherwise.



doDefaultMouseClick
public boolean doDefaultMouseClick(int modifier, Point docLocation, Point viewLocation)(Code)
Wrapper method for the default mouse click
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse click is processedsuccessfully, false otherwise.



doDefaultMouseDblClick
public boolean doDefaultMouseDblClick(ICanvasMouseData data)(Code)
Handles default mouse double click behavior
Parameters:
  data - the mouse data of event true if default mouse double click is processedsuccessfully, false otherwise.



doDefaultMouseDblClick
public boolean doDefaultMouseDblClick(int modifier, Point docLocation, Point viewLocation)(Code)
Wrapper method for the default mouse double click
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse double click is processedsuccessfully, false otherwise.



doDefaultMouseDown
public boolean doDefaultMouseDown(ICanvasMouseData data)(Code)
Handles default mouse down behavior
Parameters:
  data - the mouse data of event true if default mouse button pressed is processedsuccessfully, false otherwise.



doDefaultMouseDown
public boolean doDefaultMouseDown(int modifier, Point docLocation, Point viewLocation)(Code)
The wrapper method for the default mouse down
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse button pressed is processedsuccessfully, false otherwise.



doDefaultMouseMove
public boolean doDefaultMouseMove(ICanvasMouseData data)(Code)
Handles default mouse move behavior
Parameters:
  data - the mouse data of event true if default mouse moved is processed successfully, falseotherwise.



doDefaultMouseMove
public boolean doDefaultMouseMove(int modifier, Point docLocation, Point viewLocation)(Code)
Wrapper method for the default mouse move
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse moved is processedsuccessfully, false otherwise.



doDefaultMouseUp
public boolean doDefaultMouseUp(ICanvasMouseData data)(Code)
Handles default mouse up behavior
Parameters:
  data - the mouse data of event true if default mouse button released is processedsuccessfully, false otherwise.



doDefaultMouseUp
public boolean doDefaultMouseUp(int modifier, Point docLocation, Point viewLocation)(Code)
Wrapper method for the default mouse up
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse button released is processedsuccessfully, false otherwise.



doMouseClick
public boolean doMouseClick(int modifier, Point docLocation, Point viewLocation)(Code)
Handles mouse click - actual work is delegated to the controller
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse button clicked is processedsuccessfully, false otherwise.



doMouseDblClick
public boolean doMouseDblClick(int modifier, Point docLocation, Point viewLocation)(Code)
Handles mouse double click - actual work is delegated to the controller
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse button double clicked isprocessed successfully, false otherwise.



doMouseDown
public boolean doMouseDown(int modifier, Point docLocation, Point viewLocation)(Code)
Handles mouse down - actual work is delegated to the controller
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse button down isprocessed successfully, false otherwise.



doMouseMove
public boolean doMouseMove(int modifier, Point docLocation, Point viewLocation)(Code)
Handles mouse move - actual work is delegated to the controller
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse button move isprocessed successfully, false otherwise.



doMouseUp
public boolean doMouseUp(int modifier, Point docLocation, Point viewLocation)(Code)
Handles mouse up - actual work is delegated to the controller
Parameters:
  modifier - the modifier
Parameters:
  docLocation - the documentation location
Parameters:
  viewLocation - the view location true if default mouse button up isprocessed successfully, false otherwise.



doUncapturedMouseMove
public void doUncapturedMouseMove(int modifiers, Point dc, Point vc)(Code)
Sets the Cursor icon on mouse over (when no other mouse events occur)
Parameters:
  modifiers - modifiers
Parameters:
  dc - dc
Parameters:
  vc - vc



dragOver
public void dragOver(DropTargetDragEvent dtde)(Code)



dragOver
public void dragOver(DragSourceDragEvent dsde)(Code)



expendAllNode
public void expendAllNode()(Code)
Expend all Methoid Node in the current layer.



findCanvasFieldNode
public ICanvasFieldNode findCanvasFieldNode(IFieldNode fieldNode)(Code)
Retrun the canvas field node that repersents the specifeid mapper field node. Or null if the specified field node cannot be found.
Parameters:
  fieldNode - the mapper field node the canvas node that warps the mapper field node.



findCanvasMethoidNode
public ICanvasMethoidNode findCanvasMethoidNode(IMethoidNode methoidNode)(Code)
Search and return the canvas methoid node that repersents the specified mapper methoid node.
Parameters:
  methoidNode - Description of the Parameter Description of the Return Value



fireMouseEvent
public boolean fireMouseEvent(int event, ICanvasMouseData data)(Code)



getCanvasFieldNodeByPoint
public ICanvasFieldNode getCanvasFieldNodeByPoint(Point point)(Code)
Return a canvas field node that contains the specified point in its bounding.
Parameters:
  point - the point to be matched a canvas field node that contains the specified point inits bounding



getCanvasLinkByDataObject
public ICanvasLink getCanvasLinkByDataObject(Object dataObject)(Code)
Return a canvas link that contains the mapper link, or null if no such mapper link.
Parameters:
  dataObject - the mapper link a canvas link that contains the mapper link, or nullif no such mapper link.



getCanvasMethoidNodeByPoint
public ICanvasMethoidNode getCanvasMethoidNodeByPoint(Point point)(Code)
Return a canvas methoid node that contains the specified point in its bounding.
Parameters:
  point - the point to be matched a canvas methoid node that contains the specified point inits bounding



getCanvasNodeByDataObject
public ICanvasNode getCanvasNodeByDataObject(Object dataObject)(Code)
Return the canvas node repersetns the data object. Currently, the data object should be IMethoidFieldNode or IMethoidNode, or return null if data object is either of the them, or no each object in this canvas.
Parameters:
  dataObject - the data object to match the canvas node repersents the data object.



getCanvasObjectFactory
public ICanvasObjectFactory getCanvasObjectFactory()(Code)
Return the canvas object factory for this canvas. the canvas object factory.



getDefaultLocationForNewNode
public Point getDefaultLocationForNewNode(IMethoidNode newNode)(Code)
Return a default location for the specified new node that will possible add to this canvas view. Currently, the new node is not use.
Parameters:
  newNode - the node to be use to calculate the new location. a point where the defualt location of the new node.



getNodes
public List getNodes()(Code)
Return all the nodes in the currect layer. all the nodes in the currect layer.



getObjectInModel
public Object getObjectInModel(Point modelCor, boolean flag)(Code)
Retrieves model object at the given location
Parameters:
  modelCor - Description of the Parameter
Parameters:
  flag - Description of the Parameter The objectInModel value



getPortObjectInModel
public Object getPortObjectInModel(Point modelCor, boolean flag)(Code)



getSelectedLinks
public Collection getSelectedLinks()(Code)
Retrieves a collection of selected links The selectedLinks value



getSelectedNodes
public Collection getSelectedNodes()(Code)
Retrieves a list of selected nodes List



getToolTipText
public String getToolTipText(MouseEvent mouseevent)(Code)
We need to determine what object exists on the entire canvas at the specified mouse location. If we find a methoid node, then we need to ask it for the tooltip text within itself (which iterates through its contained field nodes).



getTreeLinkFromPortX
int getTreeLinkFromPortX()(Code)
Return the x coordination of a tree link from port. the x coordination of a tree link from port.



getTreeLinkPortY
int getTreeLinkPortY(IMapperNode node)(Code)
Return the y coordination of the link ports in the specified node.
Parameters:
  node - the node of all the links the y coordination of the link port in the specified node.



getTreeLinkToPortX
int getTreeLinkToPortX()(Code)
Return the x coordination of a tree link to port. the x coordination of a tree link to port.



getUIComponent
public Component getUIComponent()(Code)
Return the Look and Feel of this canvas. The method return "this". the compoenent repersents this canvas look and feel.



handleNewGroupNode
protected void handleNewGroupNode(IMapperGroupNode groupNode)(Code)
Create the canvas node with the new group node added to this mapper.
Parameters:
  groupNode - the new mapper group node.



handleNewNode
protected void handleNewNode(IMapperNode node)(Code)
Create the canvas node with the new node added to this mapper.
Parameters:
  node - the new mapper node.



handleRemoveMethoidNode
protected void handleRemoveMethoidNode(IMethoidNode methoidNode)(Code)
Description of the Method
Parameters:
  methoidNode - Description of the Parameter



handleRemoveNode
protected void handleRemoveNode(IMapperNode node)(Code)
Description of the Method
Parameters:
  node - Description of the Parameter



initializeCanvasNode
protected void initializeCanvasNode(IMapperViewModel viewModel)(Code)
Initialize canvas node with the specified view model. This method is call whenever a new view model is loaded.
Parameters:
  viewModel - the mapper view model to be read from.



isNodeExisit
public boolean isNodeExisit(ICanvasNode node)(Code)
Return true if the canvas node is existed in the canvas model.
Parameters:
  node - the specified node to be searched. The nodeExisit value



newLink
public void newLink(JGoPort from, JGoPort to)(Code)
Request the specified from port to a to port to produce a new link. This method is executed when user drag a port to another port on the canvas. It calls noNewLink whenever the link is not able to be create. If from and to share the same parent, no link will be created. Finally, it delagated the creation of the new to controller.
Parameters:
  from - a from port
Parameters:
  to - a to port



noNewLink
protected void noNewLink(JGoPort from, JGoPort to)(Code)
Handles the case where normally no new link would be created. We override this method to check for the case where we may want to pop up a dialog to allow the user to create a node.
Parameters:
  srcPort - Source port
Parameters:
  destPort - Destination port



onDragGestureRecognized
public void onDragGestureRecognized(java.awt.dnd.DragGestureEvent e)(Code)



onDrop
public void onDrop(DropTargetDropEvent droptargetdropevent)(Code)



onKeyEvent
public void onKeyEvent(KeyEvent evt)(Code)
Handles key event
Parameters:
  evt - Description of the Parameter



onScrollEvent
protected void onScrollEvent(java.awt.event.AdjustmentEvent evt)(Code)
Reallocate the tree to tree link ports when scrolling. Overrides JGoView.onScrollEvent.
Parameters:
  evt - the scrolling event



removeCanvasMouseListener
public void removeCanvasMouseListener(ICanvasMouseListener listener)(Code)



removeNodes
public void removeNodes(Collection nodes)(Code)
Removes the nodes from the canvas
Parameters:
  nodes - Description of the Parameter



removeRawLink
public void removeRawLink(ICanvasLink link)(Code)



selectNode
public void selectNode(Object dataObject)(Code)
Selectes the node that repersent by the specified data object.
Parameters:
  dataObject - the data object of the node.



setCanvasObjectFactory
public void setCanvasObjectFactory(ICanvasObjectFactory factory)(Code)
Set the canvas object factory for this canvas.
Parameters:
  factory - the canvas object factory



setViewModel
public void setViewModel(IMapperViewModel viewModel)(Code)
Set the mapper view model for this canvas.
Parameters:
  viewModel - the mapper view model for this canvas.



Methods inherited from org.netbeans.modules.soa.mapper.basicmapper.canvas.jgo.AbstractCanvasView
public void addRawLink(ICanvasLink link)(Code)(Java Doc)
public ICanvasGroupNode createCanvasGroupNode(Point location, Dimension size, Icon icon, String label, Icon labelIcon)(Code)(Java Doc)
public ICanvasLink createCanvasLink(ICanvasNode src, ICanvasNode dest)(Code)(Java Doc)
public ICanvasLink createCanvasLink(ICanvasNode src, ICanvasNode dest, boolean isComponentNode, boolean isWithBinding)(Code)(Java Doc)
public ICanvasNode createCanvasNode(Point location, Dimension size, String label)(Code)(Java Doc)
public ICanvasNode createCanvasNode(Point location, Dimension size, Icon icon, String label)(Code)(Java Doc)
public JGoLink createTemporaryLinkForNewLink(JGoPort from, JGoPort to)(Code)(Java Doc)
public boolean doMouseMove(int modifiers, Point dc, Point vc)(Code)(Java Doc)
public void dragDropEnd(DragSourceDropEvent dsde)(Code)(Java Doc)
public void dragEnter(DropTargetDragEvent dtde)(Code)(Java Doc)
public void dragEnter(DragSourceDragEvent dsde)(Code)(Java Doc)
public void dragExit(DropTargetEvent dte)(Code)(Java Doc)
public void dragExit(DragSourceEvent dse)(Code)(Java Doc)
public void dragGestureRecognized(DragGestureEvent e)(Code)(Java Doc)
public void dragOver(DropTargetDragEvent dtde)(Code)(Java Doc)
public void dragOver(DragSourceDragEvent dsde)(Code)(Java Doc)
public void drop(DropTargetDropEvent event)(Code)(Java Doc)
public void dropActionChanged(DropTargetDragEvent dtde)(Code)(Java Doc)
public void dropActionChanged(DragSourceDragEvent dsde)(Code)(Java Doc)
public ICanvasController getCanvasController()(Code)(Java Doc)
public DefaultCanvasPalette getCanvasPalette()(Code)(Java Doc)
public IDnDHandler getDefaultDnDHandler()(Code)(Java Doc)
public Point getDnDDragOrginPoint()(Code)(Java Doc)
public IDnDHandler getDnDHanlder()(Code)(Java Doc)
public int getDragAction()(Code)(Java Doc)
public Cursor getDragCursor()(Code)(Java Doc)
public DragGestureListener getDragGestureListener()(Code)(Java Doc)
public DragSourceListener getDragSourceListener()(Code)(Java Doc)
public DropTargetListener getDropTargetListener()(Code)(Java Doc)
public ICanvasModel getModel()(Code)(Java Doc)
public AbstractCanvasMethoidNode getNextNode()(Code)(Java Doc)
public Color getNodeBorderColor()(Code)(Java Doc)
public IMapperCanvasView getParentView()(Code)(Java Doc)
public AbstractCanvasMethoidNode getPrevNode()(Code)(Java Doc)
public double getZoomFactor()(Code)(Java Doc)
public void groupNodeLoaded(CanvasModelUpdateEvent event)(Code)(Java Doc)
public boolean isDropFlavorAcceptable(DropTargetDragEvent e)(Code)(Java Doc)
public boolean isLinkLabelVisible()(Code)(Java Doc)
public boolean isPassMouseEventToController()(Code)(Java Doc)
public boolean isPathHighlightingEnabled()(Code)(Java Doc)
public void linkLoaded(CanvasModelUpdateEvent event)(Code)(Java Doc)
public void nodeLoaded(CanvasModelUpdateEvent event)(Code)(Java Doc)
public JGoPort pickNearestPort(Point dc)(Code)(Java Doc)
protected JGoPort pickPort(Point dc)(Code)(Java Doc)
public void releaseHandler()(Code)(Java Doc)
public void removeRawLink(ICanvasLink link)(Code)(Java Doc)
public void setCanvasController(ICanvasController controller)(Code)(Java Doc)
public void setCanvasPalette(DefaultCanvasPalette palette)(Code)(Java Doc)
public void setDnDHandler(IDnDHandler handler)(Code)(Java Doc)
public void setLinkLabelVisible(boolean val)(Code)(Java Doc)
public void setModel(ICanvasModel model)(Code)(Java Doc)
public void setNodeBorderColor(Color color)(Code)(Java Doc)
public void setPassMouseEventToController(boolean val)(Code)(Java Doc)
public void setPathHighlightingEnabled(boolean isEnabled)(Code)(Java Doc)
public void setZoomFactor(double factor)(Code)(Java Doc)
public void toggleLinkMode(boolean val)(Code)(Java Doc)
public void updatesParentNode(Object node, Object nodes)(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.