Removed CascadingConstants because we don't have two classes that
reference the constants any longer. git-svn-id: https://samskivert.googlecode.com/svn/trunk@191 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
+12
-2
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: CascadingChainVisualizer.java,v 1.5 2001/07/17 05:23:49 mdb Exp $
|
// $Id: CascadingChainVisualizer.java,v 1.6 2001/07/17 05:31:37 mdb Exp $
|
||||||
|
|
||||||
package com.samskivert.viztool.viz;
|
package com.samskivert.viztool.viz;
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ import java.util.ArrayList;
|
|||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
public class CascadingChainVisualizer
|
public class CascadingChainVisualizer
|
||||||
implements ChainVisualizer, CascadingConstants
|
implements ChainVisualizer
|
||||||
{
|
{
|
||||||
// docs inherited from interface
|
// docs inherited from interface
|
||||||
public void layoutChain (Chain chain, Graphics2D gfx)
|
public void layoutChain (Chain chain, Graphics2D gfx)
|
||||||
@@ -128,6 +128,16 @@ public class CascadingChainVisualizer
|
|||||||
return bounds;
|
return bounds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The number of points surrounding the name of the chain.
|
||||||
|
*/
|
||||||
|
protected static final double HEADER_BORDER = 3;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The number of points of spacing between each child chain.
|
||||||
|
*/
|
||||||
|
protected static final double GAP = 4;
|
||||||
|
|
||||||
protected static Font _classFont = new Font("Helvetica", Font.PLAIN, 8);
|
protected static Font _classFont = new Font("Helvetica", Font.PLAIN, 8);
|
||||||
protected static Font _ifaceFont = new Font("Helvetica", Font.ITALIC, 8);
|
protected static Font _ifaceFont = new Font("Helvetica", Font.ITALIC, 8);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
//
|
|
||||||
// $Id: CascadingConstants.java,v 1.2 2001/07/17 01:54:19 mdb Exp $
|
|
||||||
|
|
||||||
package com.samskivert.viztool.viz;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constants used in laying out chains in the cascading style.
|
|
||||||
*
|
|
||||||
* @see CascadingChainLayout
|
|
||||||
* @see CascadingChainRenderer
|
|
||||||
*/
|
|
||||||
public interface CascadingConstants
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* The number of points surrounding the name of the chain.
|
|
||||||
*/
|
|
||||||
public static final double HEADER_BORDER = 3;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The number of points of spacing between each child chain.
|
|
||||||
*/
|
|
||||||
public static final double GAP = 4;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user