org.ceryle.graph.tm
Class TMStylesheet
java.lang.Object
org.ceryle.graph.GraphStylesheet
org.ceryle.graph.tm.TMStylesheet
public class TMStylesheet
- extends GraphStylesheet
TMStylesheet extends GraphStylesheet, as a static utility class
encapsulating various topic map-specific display properties.
- Since:
- JDK1.3
- Version:
- $Id: TMStylesheet.java,v 3.2 2007-06-15 12:09:27 altheim Exp $
- Author:
- Murray Altheim
- See Also:
GraphStylesheet,
GraphLayoutPanel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COLOR_ASSOC_OPAQUE
public static Color COLOR_ASSOC_OPAQUE
- Since association nodes are usually translucent, this is a default opaque color.
It is not modified by external properties.
COLOR_EDGE_TEMPLATE
public static Color COLOR_EDGE_TEMPLATE
- The color of an edge used to show the type of an association.
Ceryle property: http://purl.org/ceryle/prop/#graph-color-templateEdge.
TMStylesheet
public TMStylesheet()
setDefaultColors
public static void setDefaultColors(PropertyManager pm,
GraphPanel gp)
- Sets the colors used by this TMStylesheet by reading their names
from the property file provided by the PropertyManager pm.
This extends the method in GraphStylesheet by providing colors for
topic map-related nodes.
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.