01: package com.metaboss.sdlctools.models.metabossmodel.visualmodel;
02:
03: /**
04: * Color object instance interface.
05: */
06: public interface Color
07: extends
08: com.metaboss.sdlctools.models.metabossmodel.visualmodel.GraphicElement {
09: /**
10: * Returns the value of attribute red.
11: * @return Value of attribute red.
12: */
13: public int getRed();
14:
15: /**
16: * Sets the value of red attribute. See {@link #getRed} for description on
17: * the attribute.
18: * @param newValue New value to be set.
19: */
20: public void setRed(int newValue);
21:
22: /**
23: * Returns the value of attribute green.
24: * @return Value of attribute green.
25: */
26: public int getGreen();
27:
28: /**
29: * Sets the value of green attribute. See {@link #getGreen} for description
30: * on the attribute.
31: * @param newValue New value to be set.
32: */
33: public void setGreen(int newValue);
34:
35: /**
36: * Returns the value of attribute blue.
37: * @return Value of attribute blue.
38: */
39: public int getBlue();
40:
41: /**
42: * Sets the value of blue attribute. See {@link #getBlue} for description
43: * on the attribute.
44: * @param newValue New value to be set.
45: */
46: public void setBlue(int newValue);
47:
48: /**
49: * Returns the value of attribute alpha.
50: * @return Value of attribute alpha.
51: */
52: public int getAlpha();
53:
54: /**
55: * Sets the value of alpha attribute. See {@link #getAlpha} for description
56: * on the attribute.
57: * @param newValue New value to be set.
58: */
59: public void setAlpha(int newValue);
60: }
|