Author: mes
Date: 2012-04-23 11:49:07 -0700 (Mon, 23 Apr 2012)
New Revision: 28948
Modified:
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/ArrowShapeVisualProperty.java
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/LineTypeVisualProperty.java
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/NodeShapeVisualProperty.java
Log:
more updates
Modified:
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/ArrowShapeVisualProperty.java
===================================================================
---
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/ArrowShapeVisualProperty.java
2012-04-23 18:46:35 UTC (rev 28947)
+++
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/ArrowShapeVisualProperty.java
2012-04-23 18:49:07 UTC (rev 28948)
@@ -11,6 +11,8 @@
/**
* Visual Property for {@link ArrowShape} values.
+ * This implementation provides basic default shapes. Rendering
+ * Engines can provide others.
*
* @CyAPI.Final.Class
*/
Modified:
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/LineTypeVisualProperty.java
===================================================================
---
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/LineTypeVisualProperty.java
2012-04-23 18:46:35 UTC (rev 28947)
+++
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/LineTypeVisualProperty.java
2012-04-23 18:49:07 UTC (rev 28948)
@@ -10,17 +10,22 @@
import org.cytoscape.view.presentation.property.values.LineType;
/**
- * Visual Property for {@link LineType} values.
+ * Visual Property for {@link LineType} values. This class provide basic
default line types.
+ * Others will be provided by rendering engines.
*
* @CyAPI.Final.Class
*/
public final class LineTypeVisualProperty extends
AbstractVisualProperty<LineType> {
- // Default basic line types. Others will be provided from rendering
engines.
+ /** Solid line */
public static final LineType SOLID = new LineTypeImpl("Solid", "SOLID");
+ /** Long dash followed by short space */
public static final LineType LONG_DASH = new LineTypeImpl("Dash",
"LONG_DASH");
+ /** Equal dash and space */
public static final LineType EQUAL_DASH = new LineTypeImpl("Equal
Dash", "EQUAL_DASH");
+ /** Dash space dot space dash, etc.*/
public static final LineType DASH_DOT = new LineTypeImpl( "Dash Dot",
"DASH_DOT");
+ /** Dot space dot, etc. */
public static final LineType DOT = new LineTypeImpl("Dots", "DOT");
Modified:
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/NodeShapeVisualProperty.java
===================================================================
---
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/NodeShapeVisualProperty.java
2012-04-23 18:46:35 UTC (rev 28947)
+++
core3/api/trunk/presentation-api/src/main/java/org/cytoscape/view/presentation/property/NodeShapeVisualProperty.java
2012-04-23 18:49:07 UTC (rev 28948)
@@ -11,19 +11,29 @@
/**
* Visual Property for {@link NodeShape} values.
+ * This implementation provides basic default shapes. Other shapes can be
+ * provided by the rendering engine.
*
* @CyAPI.Final.Class
*/
public final class NodeShapeVisualProperty extends
AbstractVisualProperty<NodeShape> {
- // Presets
+
+ /** Rectangular shape. */
public static final NodeShape RECTANGLE = new
NodeShapeImpl("Rectangle", "RECTANGLE");
+ /** Rectangular shape with rounded corners. */
public static final NodeShape ROUND_RECTANGLE = new
NodeShapeImpl("Round Rectangle", "ROUND_RECTANGLE");
+ /** Triangular shape. */
public static final NodeShape TRIANGLE = new NodeShapeImpl("Triangle",
"TRIANGLE");
+ /** Parallelogram shape. */
public static final NodeShape PARALLELOGRAM = new
NodeShapeImpl("Parallelogram", "PARALLELOGRAM");
+ /** Diamond shape. */
public static final NodeShape DIAMOND = new NodeShapeImpl("Diamond",
"DIAMOND");
+ /** Ellipse shape. */
public static final NodeShape ELLIPSE = new NodeShapeImpl("Ellipse",
"ELLIPSE");
+ /** Hexagonal shape. */
public static final NodeShape HEXAGON = new NodeShapeImpl("Hexagon",
"HEXAGON");
+ /** Octagonal shape. */
public static final NodeShape OCTAGON = new NodeShapeImpl("Octagon",
"OCTAGON");
private static final DiscreteRange<NodeShape> NODE_SHAPE_RANGE;
--
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.