Class VMDFactory

java.lang.Object
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 Details

    • 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