public class ColorWellUI extends ComponentUI
| Modifier and Type | Field and Description |
|---|---|
protected static ChangeListener |
colorChangeListener
|
static String |
DOUBLE_CLICK_ACTION_PROPERTY
This client property maps to an ActionListener that is notified when user double-clicks on a ColorWell.
|
static String |
DOWN_KEY_ACTION_PROPERTY
This client property maps to an ActionListener that is notified when the down arrow key is pressed.
|
protected static KeyListener |
keyListener
|
protected static MouseInputAdapter |
mouseListener
|
static String |
POPUP_PALETTE_PROPERTY
This client property maps to a JPopupMenu.
|
protected static FocusListener |
repaintFocusListener
|
static String |
SINGLE_CLICK_ACTION_PROPERTY
This client property maps to an ActionListener that is notified when user clicks on a ColorWell exactly once.
|
static String |
SPACE_KEY_ACTION_PROPERTY
This client property maps to an ActionListener that is notified when the space key is pressed.
|
| Constructor and Description |
|---|
ColorWellUI()
|
| Modifier and Type | Method and Description |
|---|---|
void |
installUI(JComponent
|
void |
paint(Graphics
|
protected void |
processKeyEvent(KeyEvent
|
protected void |
processMouseEvent(MouseEvent
|
void |
uninstallUI(JComponent
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, updatepublic static final StringDOWN_KEY_ACTION_PROPERTY
public static final StringSPACE_KEY_ACTION_PROPERTY
public static final StringSINGLE_CLICK_ACTION_PROPERTY
public static final StringDOUBLE_CLICK_ACTION_PROPERTY
public static final StringPOPUP_PALETTE_PROPERTY
protected static final ChangeListenercolorChangeListener
protected static final FocusListenerrepaintFocusListener
protected static final MouseInputAdaptermouseListener
protected static final KeyListenerkeyListener
protected void processKeyEvent(KeyEvente)
protected void processMouseEvent(MouseEvente)
public void paint(Graphicsg0, JComponent c)
public void installUI(JComponentc)
public void uninstallUI(JComponentc)