|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface specifies the methods required to implement a data source for the Custom Colors window. Custom colors can be stored using whatever mechanism you choose.
Title: AdvancedColorChooser
Description: A sophisticated Color Chooser dialog
Copyright: Copyright (c) 2004
Company: SyGem Software
Method Summary | |
java.awt.Color |
getColor(int pos)
Retrieves the Custom Color at position pos . |
void |
setColor(int pos,
java.awt.Color color)
Sets the custom color at position pos . |
Method Detail |
public java.awt.Color getColor(int pos)
pos
. Positions start from
1, and go up to 16. This method should never return null
, even
if a color has not been stored at the requested location.
pos
- The position of the color to be retrieved
public void setColor(int pos, java.awt.Color color)
pos
.
pos
- The position to store the custom colorcolor
- The color to be stored
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |