uic.widgets
Class ColorSelection
java.lang.Object
ColorSelectionBase
uic.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorSelection
public ColorSelection()
ColorSelection
public ColorSelection(Color start)
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