Java Doc for RouteDataEditor.java in  » XML-UI » xui32 » com » xoetrope » carousel » services » 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 » xui32 » com.xoetrope.carousel.services 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JScrollPane
   com.xoetrope.carousel.services.RouteDataEditor

RouteDataEditor
public class RouteDataEditor extends JScrollPane implements ActionListener,TreeSelectionListener,ItemListener,MouseListener,TreeModelListener,TableModelListener(Code)
JPanel which allows the user to edit the route data which is selected in the JTree. As the tree and data is changed the route information is updated automatically Layers can have attributes which need to be editable. These are displayed in a JTable

Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Xoetrope.

$Revision: 1.17 $


Inner Class :class CustomCellEditor extends DefaultTreeCellEditor

Field Summary
final public static  intLEVEL_BASE
    
final public static  intLEVEL_ROUTE
    
final public static  intLEVEL_SERVICELAYER
    
final public static  intLEVEL_SPLIT
    
final public static  StringMNU_CREATE_LAYER
    
final public static  StringMNU_DELETE_LAYER
    
final public static  StringMNU_DELETE_ROUTE
    
final public static  StringMNU_LAYER_MOVEDOWN
    
final public static  StringMNU_LAYER_MOVEUP
    
final public static  StringMNU_NEW_LAYER
    
final public static  StringMNU_NEW_ROUTE
    
final public static  StringRENAME_ROUTE
    
final public static  intSIDE_CLIENT
    
final public static  intSIDE_SERVER
    
protected  XEditorProjectcurrentProject
     The owner project and the context in which this object operates.
 JMenumnuNew
    

Constructor Summary
public  RouteDataEditor(XProject proj, RouteEditor editor, KalideoscopeToolbar tools, KalideoscopeToolbar layerTools)
     Holds a table for editing routes.

Method Summary
public  voidactionPerformed(ActionEvent evt)
    
public  StringgetCustomRouteFile()
    
public  voiditemStateChanged(ItemEvent evt)
    
public  voidloadCustomRouteFile()
    
public  voidmouseClicked(MouseEvent evt)
    
public  voidmouseEntered(MouseEvent evt)
    
public  voidmouseExited(MouseEvent evt)
    
public  voidmousePressed(MouseEvent evt)
    
public  voidmouseReleased(MouseEvent evt)
    
public  voidselectLayer(String selectedLayer)
    
public  voidsetRouteChangeListener(RouteChangeListener listener)
    
 voidsetRouteTree(JTree tree)
    
public  voidtableChanged(TableModelEvent evt)
     Layers can have attributes which need to be editable.
public  voidtreeNodesChanged(TreeModelEvent evt)
     As the tree is editable, we need to find the route which is selected and set it to the new name.
public  voidtreeNodesInserted(TreeModelEvent evt)
    
public  voidtreeNodesRemoved(TreeModelEvent evt)
    
public  voidtreeStructureChanged(TreeModelEvent evt)
    
public  voidvalueChanged(TreeSelectionEvent evt)
    

Field Detail
LEVEL_BASE
final public static int LEVEL_BASE(Code)



LEVEL_ROUTE
final public static int LEVEL_ROUTE(Code)



LEVEL_SERVICELAYER
final public static int LEVEL_SERVICELAYER(Code)



LEVEL_SPLIT
final public static int LEVEL_SPLIT(Code)



MNU_CREATE_LAYER
final public static String MNU_CREATE_LAYER(Code)



MNU_DELETE_LAYER
final public static String MNU_DELETE_LAYER(Code)



MNU_DELETE_ROUTE
final public static String MNU_DELETE_ROUTE(Code)



MNU_LAYER_MOVEDOWN
final public static String MNU_LAYER_MOVEDOWN(Code)



MNU_LAYER_MOVEUP
final public static String MNU_LAYER_MOVEUP(Code)



MNU_NEW_LAYER
final public static String MNU_NEW_LAYER(Code)



MNU_NEW_ROUTE
final public static String MNU_NEW_ROUTE(Code)



RENAME_ROUTE
final public static String RENAME_ROUTE(Code)



SIDE_CLIENT
final public static int SIDE_CLIENT(Code)



SIDE_SERVER
final public static int SIDE_SERVER(Code)



currentProject
protected XEditorProject currentProject(Code)
The owner project and the context in which this object operates.



mnuNew
JMenu mnuNew(Code)




Constructor Detail
RouteDataEditor
public RouteDataEditor(XProject proj, RouteEditor editor, KalideoscopeToolbar tools, KalideoscopeToolbar layerTools)(Code)
Holds a table for editing routes.




Method Detail
actionPerformed
public void actionPerformed(ActionEvent evt)(Code)
Process menu and tool button events



getCustomRouteFile
public String getCustomRouteFile()(Code)



itemStateChanged
public void itemStateChanged(ItemEvent evt)(Code)



loadCustomRouteFile
public void loadCustomRouteFile()(Code)



mouseClicked
public void mouseClicked(MouseEvent evt)(Code)



mouseEntered
public void mouseEntered(MouseEvent evt)(Code)



mouseExited
public void mouseExited(MouseEvent evt)(Code)



mousePressed
public void mousePressed(MouseEvent evt)(Code)



mouseReleased
public void mouseReleased(MouseEvent evt)(Code)



selectLayer
public void selectLayer(String selectedLayer)(Code)



setRouteChangeListener
public void setRouteChangeListener(RouteChangeListener listener)(Code)
Set the RouteChangeListener interface for updates about route changes
Parameters:
  listener - the interested RouteChanceListener



setRouteTree
void setRouteTree(JTree tree)(Code)



tableChanged
public void tableChanged(TableModelEvent evt)(Code)
Layers can have attributes which need to be editable. These are displayed in the JTable. We need to iterate the layers Hashtable which is found in the routes Hashtable in the XLibPlugRouteManager.
Parameters:
  evt - the TableModelEvent



treeNodesChanged
public void treeNodesChanged(TreeModelEvent evt)(Code)
As the tree is editable, we need to find the route which is selected and set it to the new name.
Parameters:
  evt -



treeNodesInserted
public void treeNodesInserted(TreeModelEvent evt)(Code)



treeNodesRemoved
public void treeNodesRemoved(TreeModelEvent evt)(Code)



treeStructureChanged
public void treeStructureChanged(TreeModelEvent evt)(Code)



valueChanged
public void valueChanged(TreeSelectionEvent evt)(Code)



Fields inherited from javax.swing.JScrollPane
protected JViewport columnHeader(Code)(Java Doc)
protected JScrollBar horizontalScrollBar(Code)(Java Doc)
protected int horizontalScrollBarPolicy(Code)(Java Doc)
protected Component lowerLeft(Code)(Java Doc)
protected Component lowerRight(Code)(Java Doc)
protected JViewport rowHeader(Code)(Java Doc)
protected Component upperLeft(Code)(Java Doc)
protected Component upperRight(Code)(Java Doc)
protected JScrollBar verticalScrollBar(Code)(Java Doc)
protected int verticalScrollBarPolicy(Code)(Java Doc)
protected JViewport viewport(Code)(Java Doc)

Methods inherited from javax.swing.JScrollPane
public JScrollBar createHorizontalScrollBar()(Code)(Java Doc)
public JScrollBar createVerticalScrollBar()(Code)(Java Doc)
protected JViewport createViewport()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public JViewport getColumnHeader()(Code)(Java Doc)
public Component getCorner(String key)(Code)(Java Doc)
public JScrollBar getHorizontalScrollBar()(Code)(Java Doc)
public int getHorizontalScrollBarPolicy()(Code)(Java Doc)
public JViewport getRowHeader()(Code)(Java Doc)
public ScrollPaneUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public JScrollBar getVerticalScrollBar()(Code)(Java Doc)
public int getVerticalScrollBarPolicy()(Code)(Java Doc)
public JViewport getViewport()(Code)(Java Doc)
public Border getViewportBorder()(Code)(Java Doc)
public Rectangle getViewportBorderBounds()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public boolean isWheelScrollingEnabled()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setColumnHeader(JViewport columnHeader)(Code)(Java Doc)
public void setColumnHeaderView(Component view)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation co)(Code)(Java Doc)
public void setCorner(String key, Component corner)(Code)(Java Doc)
public void setHorizontalScrollBar(JScrollBar horizontalScrollBar)(Code)(Java Doc)
public void setHorizontalScrollBarPolicy(int policy)(Code)(Java Doc)
public void setLayout(LayoutManager layout)(Code)(Java Doc)
public void setRowHeader(JViewport rowHeader)(Code)(Java Doc)
public void setRowHeaderView(Component view)(Code)(Java Doc)
public void setUI(ScrollPaneUI ui)(Code)(Java Doc)
public void setVerticalScrollBar(JScrollBar verticalScrollBar)(Code)(Java Doc)
public void setVerticalScrollBarPolicy(int policy)(Code)(Java Doc)
public void setViewport(JViewport viewport)(Code)(Java Doc)
public void setViewportBorder(Border viewportBorder)(Code)(Java Doc)
public void setViewportView(Component view)(Code)(Java Doc)
public void setWheelScrollingEnabled(boolean handleWheel)(Code)(Java Doc)
public void updateUI()(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.