| |
|
| 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 $
|
Constructor Summary | |
public | RouteDataEditor(XProject proj, RouteEditor editor, KalideoscopeToolbar tools, KalideoscopeToolbar layerTools) Holds a table for editing routes. |
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) | | |
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.
|
RouteDataEditor | public RouteDataEditor(XProject proj, RouteEditor editor, KalideoscopeToolbar tools, KalideoscopeToolbar layerTools)(Code) | | Holds a table for editing routes.
|
actionPerformed | public void actionPerformed(ActionEvent evt)(Code) | | Process menu and tool button events
|
loadCustomRouteFile | public void loadCustomRouteFile()(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 |
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 - |
|
|
|