public class HSLColorPaletteUI extends ScrollableColorPaletteUI
scrollBarListenerPREFERRED_CELL_HEIGHT_PROPERTY, PREFERRED_CELL_WIDTH_PROPERTY, RELATIVE_POINT_PROPERTY| Constructor and Description |
|---|
HSLColorPaletteUI()
|
HSLColorPaletteUI(HueDistribution
|
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent
|
protected ColorSet |
getColorSet(ColorPalette
|
protected ColorSet |
getColorSet(ColorPalette
|
protected int |
getHorizontalScrollMax(ColorPalette
|
protected int |
getVerticalScrollMax(ColorPalette
|
void |
installUI(JComponent
|
protected boolean |
isGrid()
|
void |
paint(Graphics
|
protected void |
scroll(ColorPalette
|
void |
uninstallUI(JComponent
|
protected void |
updateColor(ColorPalette
This will reset this UI so it features the color provided.
|
getHorizontalScrollBar, getHorizontalScrollValue, getImageInsets, getVerticalScrollBar, getVerticalScrollValue, isWrapping, processKeyEvent, updateScrollBarBoundscontains, getAdjustingLock, getColor, getDefaultBorder, getImageBounds, getMaximumSize, getMinimumSize, getPreferredSize, getRGBDistanceSquared, isRelativePointValid, processMouseEventgetAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, updatepublic HSLColorPaletteUI()
public HSLColorPaletteUI(HueDistributionhue, int rows, int columns)
public static ComponentUIcreateUI(JComponent jc)
protected int getHorizontalScrollMax(ColorPalettecp)
protected int getVerticalScrollMax(ColorPalettecp)
protected ColorSetgetColorSet(ColorPalette cp)
protected ColorSetgetColorSet(ColorPalette cp, boolean grid)
public void paint(Graphicsg, JComponent c)
protected boolean isGrid()
protected void updateColor(ColorPalettecp)
public void installUI(JComponentc)
protected void scroll(ColorPalettecp, int dx, int dy)
public void uninstallUI(JComponentc)