org.eclipse.contribution.visualiser.palettes
Class PatternVisualiserPalette

java.lang.Object
  extended byorg.eclipse.contribution.visualiser.palettes.DefaultVisualiserPalette
      extended byorg.eclipse.contribution.visualiser.palettes.PatternVisualiserPalette
All Implemented Interfaces:
IVisualiserPalette

public class PatternVisualiserPalette
extends DefaultVisualiserPalette


Constructor Summary
PatternVisualiserPalette()
           
 
Method Summary
 byte[][][] getPaletteContents()
           
 byte[][] getRandomPattern()
          Returns a pattern with a number of randomly created lines The density, between 5 and 20 related to the number of lines in the pattern
 
Methods inherited from class org.eclipse.contribution.visualiser.palettes.DefaultVisualiserPalette
getRandomRGBValue, getRGBValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternVisualiserPalette

public PatternVisualiserPalette()
Method Detail

getRandomPattern

public byte[][] getRandomPattern()
Returns a pattern with a number of randomly created lines The density, between 5 and 20 related to the number of lines in the pattern

Returns:
randomly generated Color

getPaletteContents

public byte[][][] getPaletteContents()