org.netbeans.api.visual 2.21.1

org.netbeans.api.visual.vmd
Class VMDFactory

java.lang.Object
  extended by org.netbeans.api.visual.vmd.VMDFactory

public final class VMDFactory
extends Object

Used as a factory class for objects defined in VMD visualization style.


Method Summary
static Border createVMDNodeBorder()
          Creates a border used by VMD node.
static Border createVMDNodeBorder(Color borderColor, int borderThickness, Color color1, Color color2, Color color3, Color color4, Color color5)
          Creates a border used by VMD node with a specific colors.
static VMDColorScheme getNetBeans60Scheme()
          Creates the NetBeans 6.0 vmd color scheme.
static VMDColorScheme getOriginalScheme()
          Creates the original vmd color scheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOriginalScheme

public static VMDColorScheme getOriginalScheme()
Creates the original vmd color scheme. Used by default.

Returns:
the color scheme
Since:
2.5

getNetBeans60Scheme

public static VMDColorScheme getNetBeans60Scheme()
Creates the NetBeans 6.0 vmd color scheme.

Returns:
the color scheme
Since:
2.5

createVMDNodeBorder

public static Border createVMDNodeBorder()
Creates a border used by VMD node.

Returns:
the VMD node border

createVMDNodeBorder

public static Border createVMDNodeBorder(Color borderColor,
                                         int borderThickness,
                                         Color color1,
                                         Color color2,
                                         Color color3,
                                         Color color4,
                                         Color color5)
Creates a border used by VMD node with a specific colors.

Parameters:
borderColor - the border color
borderThickness - the border thickness
color1 - 1. color of gradient background
color2 - 2. color of gradient background
color3 - 3. color of gradient background
color4 - 4. color of gradient background
color5 - 5. color of gradient background
Returns:
the VMD node border
Since:
2.5

org.netbeans.api.visual 2.21.1

Built on September 7 2010.  |  Portions Copyright 1997-2010 Sun Microsystems, Inc. All rights reserved.