Class VMDFactory
java.lang.Object
org.netbeans.api.visual.vmd.VMDFactory
Used as a factory class for objects defined in VMD visualization style.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Border
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
Creates the NetBeans 6.0 vmd color scheme.static VMDColorScheme
Creates the original vmd color scheme.
-
Method Details
-
getOriginalScheme
Creates the original vmd color scheme. Used by default.- Returns:
- the color scheme
- Since:
- 2.5
-
getNetBeans60Scheme
Creates the NetBeans 6.0 vmd color scheme.- Returns:
- the color scheme
- Since:
- 2.5
-
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 colorborderThickness
- the border thicknesscolor1
- 1. color of gradient backgroundcolor2
- 2. color of gradient backgroundcolor3
- 3. color of gradient backgroundcolor4
- 4. color of gradient backgroundcolor5
- 5. color of gradient background- Returns:
- the VMD node border
- Since:
- 2.5
-