|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopointng.model.WebSafeColorSwatchModel
public class WebSafeColorSwatchModel
WebSafeColorSwatchModel generates the Netscpae defined safe
web colors. This fits neatly into a 17x12 row of colors.
| Constructor Summary | |
|---|---|
WebSafeColorSwatchModel()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getColorDescription(Color color)
This is called to return a descriptive string for a color. |
Color[] |
getColorSwatches()
This is called to return an array of colors to be used as color swatches |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebSafeColorSwatchModel()
| Method Detail |
|---|
public Color[] getColorSwatches()
ColorSwatchModel
getColorSwatches in interface ColorSwatchModelColorSwatchModel.getColorSwatches()public java.lang.String getColorDescription(Color color)
ColorSwatchModel
getColorDescription in interface ColorSwatchModelcolor - -
the color to get a description for
ColorSwatchModel.getColorDescription(nextapp.echo2.app.Color)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||