Author: k
Date: 2009-08-08 01:39:33 -0700 (Sat, 08 Aug 2009)
New Revision: 17749
Modified:
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/property/TwoDVisualLexicon.java
Log:
Opacity added as a part of 2D standard properties.
Modified:
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/property/TwoDVisualLexicon.java
===================================================================
---
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/property/TwoDVisualLexicon.java
2009-08-08 01:23:46 UTC (rev 17748)
+++
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/property/TwoDVisualLexicon.java
2009-08-08 08:39:33 UTC (rev 17749)
@@ -52,6 +52,8 @@
public static final VisualProperty<? extends Paint> NODE_COLOR = new
ColorVisualProperty(
NODE, Color.RED, "NODE_COLOR", "Node Color");
+ public static final VisualProperty<Double> NODE_OPACITY = new
DoubleVisualProperty(
+ NODE, 255d, "NODE_OPACITY", "Node Opacity");
public static final VisualProperty<String> NODE_LABEL = new
StringVisualProperty(
NODE, "", "NODE_LABEL", "Node Label");
public static final VisualProperty<? extends Paint> NODE_LABEL_COLOR =
new ColorVisualProperty(
@@ -72,6 +74,8 @@
EDGE, Color.BLUE, "EDGE_COLOR", "Edge Color");
public static final VisualProperty<String> EDGE_LABEL = new
StringVisualProperty(
EDGE, "", "EDGE_LABEL", "Edge Label");
+ public static final VisualProperty<Double> EDGE_OPACITY = new
DoubleVisualProperty(
+ EDGE, 255d, "EDGE_OPACITY", "Edge Opacity");
public static final VisualProperty<? extends Paint> EDGE_LABEL_COLOR =
new ColorVisualProperty(
EDGE, Color.BLACK, "EDGE_LABEL_COLOR", "Edge Label
Color");
public static final VisualProperty<Boolean> EDGE_VISIBLE = new
BooleanVisualProperty(
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---