Line | |
---|
1 | /* ColorSelectionVO.as */
|
---|
2 |
|
---|
3 | package gov.va.med.edp.vo
|
---|
4 | {
|
---|
5 | import com.adobe.cairngorm.vo.IValueObject;
|
---|
6 |
|
---|
7 | [Bindable]
|
---|
8 | public class ColorSelectionVO implements IValueObject
|
---|
9 | {
|
---|
10 | public var ignore: Boolean = true;
|
---|
11 | public var text: uint = 0;
|
---|
12 | public var back: uint = 0xffffff;
|
---|
13 |
|
---|
14 | public function toString(): String
|
---|
15 | {
|
---|
16 | // in the string form, the first comma piece is 1 if color should be used
|
---|
17 | var x: String =
|
---|
18 | (ignore ? "0" : "1") + "," +
|
---|
19 | "0x" + text.toString(16) + "," +
|
---|
20 | "0x" + back.toString(16) + ",";
|
---|
21 | return x;
|
---|
22 | }
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.