PdfPrinter$LineStyle.as 1.15 KB
/**
 * Generated by Gas3 v2.1.0 (Granite Data Services).
 *
 * WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
 * THE GENERATOR.
 */

package fi.insomnia.bortal.beanutil {

    import org.granite.util.Enum;

    [Bindable]
    [RemoteClass(alias="fi.insomnia.bortal.beanutil.PdfPrinter$LineStyle")]
    public class PdfPrinter$LineStyle extends Enum {

        public static const THIN:PdfPrinter$LineStyle = new PdfPrinter$LineStyle("THIN", _);
        public static const THICK:PdfPrinter$LineStyle = new PdfPrinter$LineStyle("THICK", _);
        public static const NORMAL:PdfPrinter$LineStyle = new PdfPrinter$LineStyle("NORMAL", _);

        function PdfPrinter$LineStyle(value:String = null, restrictor:* = null) {
            super((value || THIN.name), restrictor);
        }

        override protected function getConstants():Array {
            return constants;
        }

        public static function get constants():Array {
            return [THIN, THICK, NORMAL];
        }

        public static function valueOf(name:String):PdfPrinter$LineStyle {
            return PdfPrinter$LineStyle(THIN.constantOf(name));
        }
    }
}