org.apache.pivot.wtk.skin
Class ColorChooserButtonSkin.ColorChooserPopupSkin
java.lang.Object
org.apache.pivot.wtk.skin.ComponentSkin
org.apache.pivot.wtk.skin.ContainerSkin
org.apache.pivot.wtk.skin.WindowSkin
org.apache.pivot.wtk.skin.ColorChooserButtonSkin.ColorChooserPopupSkin
- All Implemented Interfaces:
- ComponentKeyListener, ComponentListener, ComponentMouseButtonListener, ComponentMouseListener, ComponentMouseWheelListener, ComponentStateListener, ComponentTooltipListener, ConstrainedVisual, ContainerListener, ContainerMouseListener, Skin, Visual, Window.Skin, WindowListener, WindowStateListener
- Enclosing class:
- ColorChooserButtonSkin
public final class ColorChooserButtonSkin.ColorChooserPopupSkin
- extends WindowSkin
The color chooser popup skin.
Method Summary |
boolean |
isFocusable()
By default, skins are focusable. |
boolean |
mouseClick(Component component,
Mouse.Button button,
int x,
int y,
int count)
Called when a mouse button is clicked over a component. |
Methods inherited from class org.apache.pivot.wtk.skin.WindowSkin |
activeChanged, contentChanged, getClientArea, getPreferredHeight, getPreferredSize, getPreferredWidth, iconAdded, iconInserted, iconsRemoved, install, layout, maximizedChanged, mouseDown, previewWindowClose, previewWindowOpen, titleChanged, windowClosed, windowCloseVetoed, windowOpened, windowOpenVetoed |
Methods inherited from class org.apache.pivot.wtk.skin.ContainerSkin |
componentInserted, componentMoved, componentsRemoved, focusTraversalPolicyChanged, getBackgroundColor, getBackgroundPaint, isOpaque, mouseMove, mouseUp, mouseWheel, paint, setBackgroundColor, setBackgroundColor, setBackgroundPaint, setBackgroundPaint, setBackgroundPaint |
Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin |
cursorChanged, decodeFont, dragSourceChanged, dropTargetChanged, enabledChanged, focusedChanged, getBaseline, getBaseline, getComponent, getHeight, getWidth, heightLimitsChanged, invalidateComponent, keyPressed, keyReleased, keyTyped, locationChanged, menuHandlerChanged, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, nameChanged, parentChanged, preferredSizeChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, sizeChanged, tooltipDelayChanged, tooltipTextChanged, tooltipTriggered, visibleChanged, widthLimitsChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isFocusable
public boolean isFocusable()
- Description copied from class:
ComponentSkin
- By default, skins are focusable.
- Specified by:
isFocusable
in interface Skin
- Overrides:
isFocusable
in class ContainerSkin
- Returns:
- false; by default, containers are not focusable.
mouseClick
public boolean mouseClick(Component component,
Mouse.Button button,
int x,
int y,
int count)
- Description copied from interface:
ComponentMouseButtonListener
- Called when a mouse button is clicked over a component.
- Specified by:
mouseClick
in interface ComponentMouseButtonListener
- Overrides:
mouseClick
in class ComponentSkin
- Returns:
- true to consume the event; false to allow it to
propagate.