uic.widgets
Class ColorSelection

java.lang.Object
  extended byColorSelectionBase
      extended byuic.widgets.ColorSelection

public class ColorSelection
extends ColorSelectionBase

A color selection dialog. This selection dialog aims to provide a selector much like the one used on various operating systems to make the user feel at home.

Since:
1.1
See Also:
Serialized Form

Constructor Summary
ColorSelection()
           
ColorSelection(Color start)
           
 
Method Summary
 void addPreviewPane(String name, ColorButtons cb)
           
 void bAddPressedSlot()
           
 Color getColor()
           
 void hsvSpinnerChangedSlot()
           
 void htmlColorChangedSlot(String input)
           
protected  void previewTypeSelectedSlot(uic.widgets.ColorSelection.ColorButtonsWrapper buttons)
           
 void rgbSpinnerChangedSlot()
           
static Color selectColorDialog(Window parent, Color selected)
           
 void setColor(Color newColor)
           
 TranslationInterface translate()
           
protected  void updateColorSlot(Color newColor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorSelection

public ColorSelection()

ColorSelection

public ColorSelection(Color start)
Method Detail

addPreviewPane

public void addPreviewPane(String name,
                           ColorButtons cb)

updateColorSlot

protected void updateColorSlot(Color newColor)

rgbSpinnerChangedSlot

public void rgbSpinnerChangedSlot()

hsvSpinnerChangedSlot

public void hsvSpinnerChangedSlot()

htmlColorChangedSlot

public void htmlColorChangedSlot(String input)

getColor

public Color getColor()

setColor

public void setColor(Color newColor)

selectColorDialog

public static Color selectColorDialog(Window parent,
                                      Color selected)

bAddPressedSlot

public void bAddPressedSlot()

previewTypeSelectedSlot

protected void previewTypeSelectedSlot(uic.widgets.ColorSelection.ColorButtonsWrapper buttons)

translate

public TranslationInterface translate()


Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence