All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.jslider.gui.ColorPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----org.jfouffa.jslider.gui.ColorPanel

public class ColorPanel
extends Panel
This class is a Panel that enables the customization of color properties. Basically it contains a TextFields for editing the RBG triplets and a table containing the default CSS color.


Constructor index

 o ColorPanel(TextHeader, String)
Constructs a new Panel that enables the customization of color properties.

Method index

 o getColor()
Gets the color's value.

Constructors

 o ColorPanel
 public ColorPanel(TextHeader header,
                   String title)
Constructs a new Panel that enables the customization of color properties.

Parameters:
header - the header to edit
title - the title

Methods

 o getColor
 public String getColor()
Gets the color's value.