Author: kono
Date: 2012-01-06 13:11:58 -0800 (Fri, 06 Jan 2012)
New Revision: 27942

Modified:
   
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/GraphView.java
Log:
Code re-format only.  No functional change.

Modified: 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/GraphView.java
===================================================================
--- 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/GraphView.java
   2012-01-06 20:51:41 UTC (rev 27941)
+++ 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/GraphView.java
   2012-01-06 21:11:58 UTC (rev 27942)
@@ -1,7 +1,5 @@
 package org.cytoscape.ding;
 
-// java
-
 import java.awt.Component;
 import java.awt.Container;
 import java.awt.Dimension;
@@ -26,466 +24,479 @@
 import org.cytoscape.view.model.CyNetworkView;
 
 /**
- * @author xmas
+ * Ding version of network view.
+ * 
  */
 public interface GraphView {
 
-public static int NODE_X_POSITION = 0;
-  public static int NODE_Y_POSITION = 1;
-  public static int NODE_SHAPE = 2;
-  public static int NODE_PAINT = 3;
-  public static int NODE_SELECTION_PAINT = 4;
-  public static int NODE_BORDER_PAINT = 5;
-  public static int NODE_BORDER_WIDTH = 6;
-  public static int NODE_WIDTH = 7;
-  public static int NODE_HEIGHT = 8;
-  public static int NODE_LABEL = 9;
-  public static int NODE_Z_POSITION = 10;
+       public static int NODE_X_POSITION = 0;
+       public static int NODE_Y_POSITION = 1;
+       public static int NODE_SHAPE = 2;
+       public static int NODE_PAINT = 3;
+       public static int NODE_SELECTION_PAINT = 4;
+       public static int NODE_BORDER_PAINT = 5;
+       public static int NODE_BORDER_WIDTH = 6;
+       public static int NODE_WIDTH = 7;
+       public static int NODE_HEIGHT = 8;
+       public static int NODE_LABEL = 9;
+       public static int NODE_Z_POSITION = 10;
 
+       public static int SOURCE_INDEX = 0;
+       public static int TARGET_INDEX = 1;
+       public static int EDGE_WIDTH = 2;
+       public static int EDGE_LINE_TYPE = 3;
+       public static int EDGE_PAINT = 4;
+       public static int EDGE_SELECTION_PAINT = 5;
+       public static int EDGE_SOURCE_END_TYPE = 6;
+       public static int EDGE_SOURCE_END_PAINT = 7;
+       public static int EDGE_SOURCE_END_SELECTED_PAINT = 8;
+       public static int EDGE_TARGET_END_TYPE = 9;
+       public static int EDGE_TARGET_END_PAINT = 10;
+       public static int EDGE_TARGET_END_SELECTED_PAINT = 11;
 
-  public static int SOURCE_INDEX = 0;
-  public static int TARGET_INDEX = 1;
-  public static int EDGE_WIDTH = 2;
-  public static int EDGE_LINE_TYPE = 3;
-  public static int EDGE_PAINT = 4;
-  public static int EDGE_SELECTION_PAINT = 5;
-  public static int EDGE_SOURCE_END_TYPE = 6;
-  public static int EDGE_SOURCE_END_PAINT = 7;
-  public static int EDGE_SOURCE_END_SELECTED_PAINT = 8;
-  public static int EDGE_TARGET_END_TYPE = 9;
-  public static int EDGE_TARGET_END_PAINT = 10;
-  public static int EDGE_TARGET_END_SELECTED_PAINT = 11;
+       public CyNetwork getNetwork();
 
+       public boolean nodeSelectionEnabled();
 
-  public CyNetwork getNetwork();
+       public boolean edgeSelectionEnabled();
 
+       public void enableNodeSelection();
 
-  //----------------------------------------//
-  // Event Handlers
-  //----------------------------------------//
+       public void disableNodeSelection();
 
+       public void enableEdgeSelection();
 
-  public boolean nodeSelectionEnabled();
-  public boolean edgeSelectionEnabled(); 
+       public void disableEdgeSelection();
 
-  public void enableNodeSelection ();
-   
-  
-  public void disableNodeSelection ();
+       /**
+        * @return an int array of the graph perspective indices of the selected
+        *         nodes
+        */
+       public int[] getSelectedNodeIndices();
 
-  public void enableEdgeSelection ();
-  
-  public void disableEdgeSelection ();
+       /**
+        * @return a list of the selected NodeView
+        */
+       public List<CyNode> getSelectedNodes();
 
+       /**
+        * @return an int array of the graph perspective indices of the selected
+        *         edges
+        */
+       public int[] getSelectedEdgeIndices();
 
-  /**
-   * @return an int array of the graph perspective indices of the selected 
nodes
-   */
-  public int[] getSelectedNodeIndices();
+       /**
+        * @return a list of the selected EdgeView
+        */
+       public List<CyEdge> getSelectedEdges();
 
-  /**
-   * @return a list of the selected NodeView
-   */
-  public List<CyNode> getSelectedNodes();
+       /**
+        * Adds a new GraphViewChangeListener to this GraphViews list of 
listeners.
+        */
+       public void addGraphViewChangeListener(GraphViewChangeListener 
listener);
 
-  /**
-   * @return an int array of the graph perspective indices of the selected 
edges
-   */
-  public int[] getSelectedEdgeIndices();
+       /**
+        * Removes a GraphViewChangeListener from this GraphViews list of 
listeners.
+        */
+       public void removeGraphViewChangeListener(GraphViewChangeListener 
listener);
 
-  /**
-   * @return a list of the selected EdgeView
-   */
-  public List<CyEdge> getSelectedEdges();
+       /**
+        * @param paint
+        *            the new Paint for the background
+        */
+       public void setBackgroundPaint(Paint paint);
 
-  /**
-   * Adds a new GraphViewChangeListener to this GraphViews list of listeners.
-   */
-  public void addGraphViewChangeListener(GraphViewChangeListener listener); 
+       /**
+        * @return the backgroundPaint
+        */
+       public Paint getBackgroundPaint();
 
-  /**
-   * Removes a  GraphViewChangeListener from this GraphViews list of listeners.
-   */
-  public void removeGraphViewChangeListener(GraphViewChangeListener listener);
-   
-  /**
-   * @param paint the new Paint for the background
-   */
-  public void setBackgroundPaint(Paint paint);
-      
-  /**
-   * @return the backgroundPaint 
-   */
-  public Paint getBackgroundPaint();
-      
-  /**
-   * @return the java.awt.Component that can be added to most screen thingys
-   */
-  public Component getComponent();
-      
-  /**
-   * @param node_index the index of a node to have a view created for it
-   * @return a new NodeView based on the node with the given index
-   */
-  public  NodeView addNodeView(CyNode n);
-      
-  /**
-   * @param edge_index the index of an edge
-   * @return the newly created edgeview
-   */
-  public  EdgeView addEdgeView(CyEdge e);
-      
-  /**
-   * This will entirely remove a NodeView/EdgeView from the GraphView.  This 
is different than
-   * @see #hideGraphObject as that method simply stops showing the node/edge.  
This method 
-   * will destroy the object.  It will be returned though, so that a reference 
can be kept 
-   * for undo purposes.
-   */
-  public NodeView removeNodeView ( NodeView node_view );
+       /**
+        * @return the java.awt.Component that can be added to most screen 
thingys
+        */
+       public Component getComponent();
 
+       /**
+        * @param node_index
+        *            the index of a node to have a view created for it
+        * @return a new NodeView based on the node with the given index
+        */
+       public NodeView addNodeView(CyNode n);
 
-  /**
-   * This will entirely remove a NodeView/EdgeView from the GraphView.  This 
is different than
-   * @see #hideGraphObject as that method simply stops showing the node/edge.  
This method 
-   * will destroy the object.  It will be returned though, so that a reference 
can be kept 
-   * for undo purposes.
-   */
-  public NodeView removeNodeView ( CyNode node );
+       /**
+        * @param edge_index
+        *            the index of an edge
+        * @return the newly created edgeview
+        */
+       public EdgeView addEdgeView(CyEdge e);
 
-   /**
-   * This will entirely remove a NodeView/EdgeView from the GraphView.  This 
is different than
-   * @see #hideGraphObject as that method simply stops showing the node/edge.  
This method 
-   * will destroy the object.  It will be returned though, so that a reference 
can be kept 
-   * for undo purposes.
-   */
-  public NodeView removeNodeView ( int node );
+       /**
+        * This will entirely remove a NodeView/EdgeView from the GraphView. 
This is
+        * different than
+        * 
+        * @see #hideGraphObject as that method simply stops showing the 
node/edge.
+        *      This method will destroy the object. It will be returned 
though, so
+        *      that a reference can be kept for undo purposes.
+        */
+       public NodeView removeNodeView(NodeView node_view);
 
-  /**
-   * This will entirely remove a NodeView/EdgeView from the GraphView.  This 
is different than
-   * @see #hideGraphObject as that method simply stops showing the node/edge.  
This method 
-   * will destroy the object.  It will be returned though, so that a reference 
can be kept 
-   * for undo purposes.
-   */
-  public EdgeView removeEdgeView ( EdgeView edge_view );
+       /**
+        * This will entirely remove a NodeView/EdgeView from the GraphView. 
This is
+        * different than
+        * 
+        * @see #hideGraphObject as that method simply stops showing the 
node/edge.
+        *      This method will destroy the object. It will be returned 
though, so
+        *      that a reference can be kept for undo purposes.
+        */
+       public NodeView removeNodeView(CyNode node);
 
-  /**
-   * This will entirely remove a NodeView/EdgeView from the GraphView.  This 
is different than
-   * @see #hideGraphObject as that method simply stops showing the node/edge.  
This method 
-   * will destroy the object.  It will be returned though, so that a reference 
can be kept 
-   * for undo purposes.
-   */
-  public EdgeView removeEdgeView ( CyEdge edge );
+       /**
+        * This will entirely remove a NodeView/EdgeView from the GraphView. 
This is
+        * different than
+        * 
+        * @see #hideGraphObject as that method simply stops showing the 
node/edge.
+        *      This method will destroy the object. It will be returned 
though, so
+        *      that a reference can be kept for undo purposes.
+        */
+       public NodeView removeNodeView(int node);
 
-  /**
-   * This will entirely remove a NodeView/EdgeView from the GraphView.  This 
is different than
-   * @see #hideGraphObject as that method simply stops showing the node/edge.  
This method 
-   * will destroy the object.  It will be returned though, so that a reference 
can be kept 
-   * for undo purposes.
-   */
-  public EdgeView removeEdgeView ( int edge );
+       /**
+        * This will entirely remove a NodeView/EdgeView from the GraphView. 
This is
+        * different than
+        * 
+        * @see #hideGraphObject as that method simply stops showing the 
node/edge.
+        *      This method will destroy the object. It will be returned 
though, so
+        *      that a reference can be kept for undo purposes.
+        */
+       public EdgeView removeEdgeView(EdgeView edge_view);
 
+       /**
+        * This will entirely remove a NodeView/EdgeView from the GraphView. 
This is
+        * different than
+        * 
+        * @see #hideGraphObject as that method simply stops showing the 
node/edge.
+        *      This method will destroy the object. It will be returned 
though, so
+        *      that a reference can be kept for undo purposes.
+        */
+       public EdgeView removeEdgeView(CyEdge edge);
 
-  /**
-   * @return The Unique Identifier of this GraphView
-   */
-  public Long getIdentifier();
-    
-  /**
-   * @param new_identifier The New Identifier for this GraphView
-   */
-  public void setIdentifier(Long new_identifier);
-   
-  /**
-   * @return The Current Zoom Level
-   */
-  public double getZoom();
-        
-  /**
-   * @param zoom The New ZoomLevel
-   */
-  public void setZoom(double zoom);
-  
-  /**
-   * Fits all Viewable elements onto the Graph
-   */
-  public void fitContent();
-        
-  /**
-   * Do a global redraw of the entire canvas
-   */
-  public void updateView();
-        
-  /**
-   * nodeViewsIterator only returns the NodeViews that are explicitly
-   * associated with this GraphView
-   */
-  public Iterator<NodeView> getNodeViewsIterator(); 
-  
-  /**
-   * @return the number of node views present
-   */
-  public int getNodeViewCount(); 
+       /**
+        * This will entirely remove a NodeView/EdgeView from the GraphView. 
This is
+        * different than
+        * 
+        * @see #hideGraphObject as that method simply stops showing the 
node/edge.
+        *      This method will destroy the object. It will be returned 
though, so
+        *      that a reference can be kept for undo purposes.
+        */
+       public EdgeView removeEdgeView(int edge);
 
-  /**
-   * @return the number of EdgeViews present
-   */
-  public int getEdgeViewCount();
-        
-  /**
-   * @param node The Node whose view is requested
-   *
-   * @return The NodeView of the given Node
-   */
-  public NodeView getDNodeView(CyNode node);
-        
-  /**
-   * @param index the index of the node whose view is requested
-   * @return The NodeView of the given Node
-   */
-  public NodeView getDNodeView(int index);
-        
-  /**
-   * Return all of the EdgeViews in this GraphView
-   */
-  public java.util.List<EdgeView> getEdgeViewsList();
-  
-  /**
-   * Note that this will return a list of Edge objects, the other one will 
return indices
-   * @return The list of EdgeViews connecting these two nodes. Possibly null.
-   */
-  public  java.util.List<EdgeView> getEdgeViewsList(
-                                          CyNode oneNode,
-                                          CyNode otherNode);
-  
-  /**
-   * @return a List of indicies
-   */
-  public  java.util.List<EdgeView> getEdgeViewsList(
-                                          int from_node_index,
-                                          int to_node_index,
-                                          boolean include_undirected_edges);
-  
-  /**
-   * @return the EdgeView that corresponds to the given index
-   */
-  public  EdgeView getDEdgeView(int edge_index);
-  
-  /**
-   * Return all of the EdgeViews in this GraphView
-   */
-  public Iterator<EdgeView> getEdgeViewsIterator();
-  
-  /**
-   * @return the EdgeView that corresponds to the given Edge
-   */
-  public EdgeView getDEdgeView(CyEdge edge);
-  
-  /**
-   * @return the number of edges
-   */
-  public int edgeCount();
-  
-  /**
-   * @return The number of Nodes, same number as the perspective
-   */
-  public int nodeCount();
-  
-  /**
-   * use this to hide a node or edge
-   */
-  public boolean hideGraphObject(Object object);
-  
-  /**
-   * use this to show a node or edge
-   */
-  public boolean showGraphObject(Object object);
-  
-  /**
-   * <B> Warning!!!!!!!</B><BR>
-   * Only to be used for homogenous groups!!!!
-   */
-  public boolean hideGraphObjects(List<? extends GraphViewObject> objects);
-  
-  /**
-   * <B> Warning!!!!!!!</B><BR>
-   * Only to be used for homogenous groups!!!!
-   */
-  public boolean showGraphObjects(List<? extends GraphViewObject> objects);
-  
+       /**
+        * @return The Unique Identifier of this GraphView
+        */
+       public Long getIdentifier();
 
+       /**
+        * @param new_identifier
+        *            The New Identifier for this GraphView
+        */
+       public void setIdentifier(Long new_identifier);
 
-   /**
-   * Set All Data For a NOde
-   * <B>Big Bold Faced Warning</B> <BR>
-   * Talk to rowan before using.
-   */
-  public  void setAllNodePropertyData(int node_index, Object[] data);
+       /**
+        * @return The Current Zoom Level
+        */
+       public double getZoom();
 
-  /*
-   * <B>Big Bold Faced Warning</B> <BR>
-   * Talk to rowan before using.
-   */
-  public  Object[] getAllNodePropertyData(int node_index);
+       /**
+        * @param zoom
+        *            The New ZoomLevel
+        */
+       public void setZoom(double zoom);
 
-  /**
-   * Set All Data For an Edge <BR>
-   * <B>Big Bold Faced Warning</B> <BR>
-   * Talk to rowan before using.
-   */
-  public  void setAllEdgePropertyData(int edge_index, Object[] data);
+       /**
+        * Fits all Viewable elements onto the Graph
+        */
+       public void fitContent();
 
-  /*
-   * <B>Big Bold Faced Warning</B> <BR>
-   * Talk to rowan before using.
-   */
-  public  Object[] getAllEdgePropertyData(int edge_index);
+       /**
+        * Do a global redraw of the entire canvas
+        */
+       public void updateView();
 
-  //----------------------------------------//
-  // Object Methods
-  //----------------------------------------//
+       /**
+        * nodeViewsIterator only returns the NodeViews that are explicitly
+        * associated with this GraphView
+        */
+       public Iterator<NodeView> getNodeViewsIterator();
 
-  /**
-   * Return the stored value for the node for the given property
-   * @param node_index The Node Index to be queried
-   * @param property the property to be accessed
-   */
-  public  Object getNodeObjectProperty(int node_index, int property);
+       /**
+        * @return the number of node views present
+        */
+       public int getNodeViewCount();
 
-  /**
-   * @param node_index The Node Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setNodeObjectProperty( int node_index, int property, Object 
value);
+       /**
+        * @return the number of EdgeViews present
+        */
+       public int getEdgeViewCount();
 
-  /**
-   * Return the stored value for the edge for the given property
-   * @param edge_index The Edge Index to be queried
-   * @param property the property to be accessed
-   */
-  public  Object getEdgeObjectProperty(int edge_index, int property);
+       /**
+        * @param node
+        *            The Node whose view is requested
+        * 
+        * @return The NodeView of the given Node
+        */
+       public NodeView getDNodeView(CyNode node);
 
-  /**
-   * @param edge_index The Edge Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setEdgeObjectProperty(
-    int edge_index,
-    int property,
-    Object value);
+       /**
+        * @param index
+        *            the index of the node whose view is requested
+        * @return The NodeView of the given Node
+        */
+       public NodeView getDNodeView(int index);
 
-  //----------------------------------------//
-  // Double Methods
-  //----------------------------------------//
+       /**
+        * Return all of the EdgeViews in this GraphView
+        */
+       public java.util.List<EdgeView> getEdgeViewsList();
 
-  /**
-   * @param node_index The Node Index to be queried
-   * @param property the property to be accessed
-   */
-  public  double getNodeDoubleProperty(int node_index, int property);
+       /**
+        * Note that this will return a list of Edge objects, the other one will
+        * return indices
+        * 
+        * @return The list of EdgeViews connecting these two nodes. Possibly 
null.
+        */
+       public java.util.List<EdgeView> getEdgeViewsList(CyNode oneNode, CyNode 
otherNode);
 
-  /**
-   * @param node_index The Node Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setNodeDoubleProperty(
-    int node_index,
-    int property,
-    double value);
+       /**
+        * @return a List of indicies
+        */
+       public java.util.List<EdgeView> getEdgeViewsList(int from_node_index, 
int to_node_index,
+                       boolean include_undirected_edges);
 
-  public  double getEdgeDoubleProperty(int edge_index, int property);
+       /**
+        * @return the EdgeView that corresponds to the given index
+        */
+       public EdgeView getDEdgeView(int edge_index);
 
-  /**
-   * @param edge_index The Edge Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setEdgeDoubleProperty(
-    int edge_index,
-    int property,
-    double value);
+       /**
+        * Return all of the EdgeViews in this GraphView
+        */
+       public Iterator<EdgeView> getEdgeViewsIterator();
 
-  //----------------------------------------//
-  // Float Methods
-  //----------------------------------------//
-  
-  public  float getNodeFloatProperty(int node_index, int property);
-  
-  /**
-   * @param node_index The Node Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setNodeFloatProperty(
-    int node_index,
-    int property,
-    float value);
-  
-  public  float getEdgeFloatProperty(int edge_index, int property);
-  
-  /**
-   * @param edge_index The Edge Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setEdgeFloatProperty(
-    int edge_index,
-    int property,
-    float value);
-  
-  
-  public  boolean getNodeBooleanProperty(int node_index, int property);
-  
-  /**
-   * @param node_index The Node Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setNodeBooleanProperty(
-    int node_index,
-    int property,
-    boolean value);
-  
-  public  boolean getEdgeBooleanProperty(int edge_index, int property);
-  
-  /**
-   * @param edge_index The Edge Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setEdgeBooleanProperty(
-    int edge_index,
-    int property,
-    boolean value);
-  
-  public  int getNodeIntProperty(int node_index, int property);
-  
-  /**
-   * @param node_index The Node Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setNodeIntProperty(
-    int node_index,
-    int property,
-    int value);
-  
-  public  int getEdgeIntProperty(int edge_index, int property);
-  
-  /**
-   * @param edge_index The Edge Index to be queried
-   * @param property the property to be accessed
-   * @param value the new value for this property
-   */
-  public  boolean setEdgeIntProperty(
-    int edge_index,
-    int property,
-    int value);
+       /**
+        * @return the EdgeView that corresponds to the given Edge
+        */
+       public EdgeView getDEdgeView(CyEdge edge);
 
+       /**
+        * @return the number of edges
+        */
+       public int edgeCount();
 
        /**
+        * @return The number of Nodes, same number as the perspective
+        */
+       public int nodeCount();
+
+       /**
+        * use this to hide a node or edge
+        */
+       public boolean hideGraphObject(Object object);
+
+       /**
+        * use this to show a node or edge
+        */
+       public boolean showGraphObject(Object object);
+
+       /**
+        * <B> Warning!!!!!!!</B><BR>
+        * Only to be used for homogenous groups!!!!
+        */
+       public boolean hideGraphObjects(List<? extends GraphViewObject> 
objects);
+
+       /**
+        * <B> Warning!!!!!!!</B><BR>
+        * Only to be used for homogenous groups!!!!
+        */
+       public boolean showGraphObjects(List<? extends GraphViewObject> 
objects);
+
+       /**
+        * Set All Data For a NOde <B>Big Bold Faced Warning</B> <BR>
+        * Talk to rowan before using.
+        */
+       public void setAllNodePropertyData(int node_index, Object[] data);
+
+       /*
+        * <B>Big Bold Faced Warning</B> <BR> Talk to rowan before using.
+        */
+       public Object[] getAllNodePropertyData(int node_index);
+
+       /**
+        * Set All Data For an Edge <BR>
+        * <B>Big Bold Faced Warning</B> <BR>
+        * Talk to rowan before using.
+        */
+       public void setAllEdgePropertyData(int edge_index, Object[] data);
+
+       /*
+        * <B>Big Bold Faced Warning</B> <BR> Talk to rowan before using.
+        */
+       public Object[] getAllEdgePropertyData(int edge_index);
+
+       // ----------------------------------------//
+       // Object Methods
+       // ----------------------------------------//
+
+       /**
+        * Return the stored value for the node for the given property
+        * 
+        * @param node_index
+        *            The Node Index to be queried
+        * @param property
+        *            the property to be accessed
+        */
+       public Object getNodeObjectProperty(int node_index, int property);
+
+       /**
+        * @param node_index
+        *            The Node Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setNodeObjectProperty(int node_index, int property, 
Object value);
+
+       /**
+        * Return the stored value for the edge for the given property
+        * 
+        * @param edge_index
+        *            The Edge Index to be queried
+        * @param property
+        *            the property to be accessed
+        */
+       public Object getEdgeObjectProperty(int edge_index, int property);
+
+       /**
+        * @param edge_index
+        *            The Edge Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setEdgeObjectProperty(int edge_index, int property, 
Object value);
+
+       // ----------------------------------------//
+       // Double Methods
+       // ----------------------------------------//
+
+       /**
+        * @param node_index
+        *            The Node Index to be queried
+        * @param property
+        *            the property to be accessed
+        */
+       public double getNodeDoubleProperty(int node_index, int property);
+
+       /**
+        * @param node_index
+        *            The Node Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setNodeDoubleProperty(int node_index, int property, 
double value);
+
+       public double getEdgeDoubleProperty(int edge_index, int property);
+
+       /**
+        * @param edge_index
+        *            The Edge Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setEdgeDoubleProperty(int edge_index, int property, 
double value);
+
+       // ----------------------------------------//
+       // Float Methods
+       // ----------------------------------------//
+
+       public float getNodeFloatProperty(int node_index, int property);
+
+       /**
+        * @param node_index
+        *            The Node Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setNodeFloatProperty(int node_index, int property, float 
value);
+
+       public float getEdgeFloatProperty(int edge_index, int property);
+
+       /**
+        * @param edge_index
+        *            The Edge Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setEdgeFloatProperty(int edge_index, int property, float 
value);
+
+       public boolean getNodeBooleanProperty(int node_index, int property);
+
+       /**
+        * @param node_index
+        *            The Node Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setNodeBooleanProperty(int node_index, int property, 
boolean value);
+
+       public boolean getEdgeBooleanProperty(int edge_index, int property);
+
+       /**
+        * @param edge_index
+        *            The Edge Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setEdgeBooleanProperty(int edge_index, int property, 
boolean value);
+
+       public int getNodeIntProperty(int node_index, int property);
+
+       /**
+        * @param node_index
+        *            The Node Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setNodeIntProperty(int node_index, int property, int 
value);
+
+       public int getEdgeIntProperty(int edge_index, int property);
+
+       /**
+        * @param edge_index
+        *            The Edge Index to be queried
+        * @param property
+        *            the property to be accessed
+        * @param value
+        *            the new value for this property
+        */
+       public boolean setEdgeIntProperty(int edge_index, int property, int 
value);
+
+       /**
         * Sets the Title of this View
         */
        public void setTitle(String title);
@@ -496,70 +507,82 @@
        public String getTitle();
 
        /**
-        *  DOCUMENT ME!
-        *
-        * @param layout DOCUMENT ME!
-        * @param vizmap DOCUMENT ME!
+        * DOCUMENT ME!
+        * 
+        * @param layout
+        *            DOCUMENT ME!
+        * @param vizmap
+        *            DOCUMENT ME!
         */
-//     public void redrawGraph(boolean layout, boolean vizmap);
+       // public void redrawGraph(boolean layout, boolean vizmap);
 
        /**
-        *  DOCUMENT ME!
-        *
-        * @param VSName DOCUMENT ME!
+        * DOCUMENT ME!
+        * 
+        * @param VSName
+        *            DOCUMENT ME!
         */
-//     public void setVisualStyle(String VSName);
+       // public void setVisualStyle(String VSName);
 
        /**
-        *  DOCUMENT ME!
-        *
-        * @return  DOCUMENT ME!
+        * DOCUMENT ME!
+        * 
+        * @return DOCUMENT ME!
         */
-//     public VisualStyle getVisualStyle();
+       // public VisualStyle getVisualStyle();
 
-
        public void setPrintingTextAsShape(boolean textAsShape);
 
        public void setGraphLOD(GraphLOD lod);
 
        public GraphLOD getGraphLOD();
+
        public void fitSelected();
 
-//     public void addTransferComponent(JComponent comp); 
+       // public void addTransferComponent(JComponent comp);
 
        // for printing
-       public void setBounds(int x, int y, int width, int height) ;
+       public void setBounds(int x, int y, int width, int height);
+
        public int print(Graphics graphics, PageFormat pageFormat, int 
pageIndex);
-       public void print(Graphics g) ;
-       public void printNoImposter(Graphics g) ;
+
+       public void print(Graphics g);
+
+       public void printNoImposter(Graphics g);
+
        public Printable createPrintable();
 
        // ??
-       public Point2D getCenter(); 
-       public void setCenter(double x, double y); 
+       public Point2D getCenter();
+
+       public void setCenter(double x, double y);
+
        public void setSize(Dimension d);
 
        // for export
        public Image createImage(int width, int height, double shrink);
 
-
        // for internal frame component support
        public Container getContainer(JLayeredPane jlp);
 
        // used by editor
-    public NodeView getPickedNodeView(Point2D pt); 
+       public NodeView getPickedNodeView(Point2D pt);
+
        public EdgeView getPickedEdgeView(Point2D pt);
 
        public void xformComponentToNodeCoords(double[] coords);
 
        public void addMouseListener(MouseListener m);
+
        public void addMouseMotionListener(MouseMotionListener m);
+
        public void addKeyListener(KeyListener k);
-       
+
        public void removeMouseListener(MouseListener m);
+
        public void removeMouseMotionListener(MouseMotionListener m);
+
        public void removeKeyListener(KeyListener k);
 
        public CyNetworkView getViewModel();
 }
-

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to