com.sun.electric.tool.user.dialogs
Class ColorPatternPanel.Info

java.lang.Object
  extended by com.sun.electric.tool.user.dialogs.ColorPatternPanel.Info
Enclosing class:
ColorPatternPanel

public static class ColorPatternPanel.Info
extends java.lang.Object

Class to define the information on a color pattern panel.


Field Summary
 int blue
           
 EGraphics graphics
           
 int green
           
 boolean justColor
           
 double opacity
           
 EGraphics.Outline outlinePatternDisplay
           
 int[] pattern
           
 int red
           
 User.ColorPrefType theColor
           
 int transparentLayer
           
 boolean useStippleDisplay
           
 boolean useStipplePrinter
           
 
Constructor Summary
ColorPatternPanel.Info(EGraphics graphics)
          Constructor to load a color described by an EGraphics object.
ColorPatternPanel.Info(User.ColorPrefType colorPref)
          Constructor for class to load a pure color.
 
Method Summary
 EGraphics updateGraphics(EGraphics graphics)
          Method to update the EGraphics object that is being displayed in this dialog panel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graphics

public EGraphics graphics

pattern

public int[] pattern

useStippleDisplay

public boolean useStippleDisplay

outlinePatternDisplay

public EGraphics.Outline outlinePatternDisplay

useStipplePrinter

public boolean useStipplePrinter

transparentLayer

public int transparentLayer

red

public int red

green

public int green

blue

public int blue

theColor

public User.ColorPrefType theColor

opacity

public double opacity

justColor

public boolean justColor
Constructor Detail

ColorPatternPanel.Info

public ColorPatternPanel.Info(EGraphics graphics)
Constructor to load a color described by an EGraphics object.


ColorPatternPanel.Info

public ColorPatternPanel.Info(User.ColorPrefType colorPref)
Constructor for class to load a pure color. Used for special colors (like background, etc.)

Method Detail

updateGraphics

public EGraphics updateGraphics(EGraphics graphics)
Method to update the EGraphics object that is being displayed in this dialog panel.

Returns:
true if the EGraphics object changed.