Fill$.java 2.06 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  scala.None
 *  scala.None$
 *  scala.Option
 *  scala.ScalaObject
 *  scala.Serializable
 *  scala.Some
 *  scala.Tuple6
 *  scala.xml.NodeSeq
 */
package com.adobe.forms.layout;

import com.adobe.forms.layout.Fill;
import com.adobe.forms.layout.FillType;
import com.adobe.forms.layout.FillType$;
import com.adobe.forms.layout.LinearType;
import com.adobe.forms.layout.LinearType$;
import com.adobe.forms.layout.PatternType;
import com.adobe.forms.layout.PatternType$;
import com.adobe.forms.layout.RadialType;
import com.adobe.forms.layout.RadialType$;
import com.adobe.forms.layout.XFANode$;
import scala.None;
import scala.Option;
import scala.ScalaObject;
import scala.Serializable;
import scala.Some;
import scala.Tuple6;
import scala.xml.NodeSeq;

public final class Fill$
implements ScalaObject,
Serializable {
    public static final Fill$ MODULE$;

    public static {
        new com.adobe.forms.layout.Fill$();
    }

    public Fill apply(NodeSeq fillNode) {
        return new Fill(FillType$.MODULE$.apply(XFANode$.MODULE$.readNodeAsString("Type", fillNode)), XFANode$.MODULE$.readNodeAsString("Color", fillNode), XFANode$.MODULE$.readNodeAsString("fadingColor", fillNode), LinearType$.MODULE$.apply(XFANode$.MODULE$.readNodeAsString("linearType", fillNode)), RadialType$.MODULE$.apply(XFANode$.MODULE$.readNodeAsString("radialType", fillNode)), PatternType$.MODULE$.apply(XFANode$.MODULE$.readNodeAsString("patternType", fillNode)));
    }

    public Option unapply(Fill x$0) {
        return x$0 == null ? None..MODULE$ : new Some((Object)new Tuple6(x$0.fillType(), x$0.color(), x$0.fadingColor(), x$0.linearType(), x$0.radialType(), x$0.patternType()));
    }

    public Fill apply(Option fillType, Option color, Option fadingColor, Option linearType, Option radialType, Option patternType) {
        return new Fill(fillType, color, fadingColor, linearType, radialType, patternType);
    }

    public Object readResolve() {
        return MODULE$;
    }

    private Fill$() {
        MODULE$ = this;
    }
}