Class ColorPanel

Class ColorPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----Bar
                           |
                           +----ChoiceBar
                                   |
                                   +----ColorPanel

public class ColorPanel
extends ChoiceBar

Constructor Index

 o ColorPanel(int)
Constructs a DrawContentBar with a WorkPanel

Method Index

 o getBaseColors()
 o getColorPanelDim()
 o insets()
Provides offset of the user panel from the boundary

Constructors

 o ColorPanel
  public ColorPanel(int direction)
Constructs a DrawContentBar with a WorkPanel
Parameters:
target - : drawing place
direction - : bars direction (VERTICAL, HORIZONTAL)
See Also:
Bar

Methods

 o getBaseColors
  public Color[] getBaseColors()
 o getColorPanelDim
  public Dimension getColorPanelDim()
 o insets
  public Insets insets()
Provides offset of the user panel from the boundary