| |
|
| java.lang.Object com.jeta.swingbuilder.store.RecentColorsModel
RecentColorsModel | public class RecentColorsModel implements Externalizable(Code) | | Model for storing recent colors selected with the JETAColorChooser
author: Jeff Tassin |
VERSION | final public static int VERSION(Code) | | verion of this class
|
serialVersionUID | final static long serialVersionUID(Code) | | |
RecentColorsModel | public RecentColorsModel()(Code) | | |
getColor | public ColorHolder getColor(int index)(Code) | | Returns the ColorHolder at the given index. If the index is invalid null
is returned.
|
getColor | public ColorHolder getColor(int index, ColorHolder defaultColor)(Code) | | Returns the ColorHolder at the given index. If the index is invalid the
defaultColor is returned.
Parameters: index - the index Parameters: defaultColor - the color to return if the index is outside the valid range orif a null is found at the given index. |
setRecentColor | public void setRecentColor(Color c)(Code) | | |
size | public int size()(Code) | | Return the number of colors in this model
|
|
|
|