TextLabel.java 1002 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa.text;

import com.adobe.xfa.text.LabelFrame;
import com.adobe.xfa.text.TextDispStr;
import com.adobe.xfa.text.TextStream;
import com.adobe.xfa.text.TraditionalFrame;

public class TextLabel
extends TextDispStr {
    public TextLabel() {
        this.setTraditionalFrame(new LabelFrame());
    }

    public TextLabel(TextLabel oSource) {
        super(oSource);
        this.setTraditionalFrame(new LabelFrame());
    }

    public TextLabel(String sSource) {
        super(sSource);
        this.setTraditionalFrame(new LabelFrame());
    }

    public void copyFrom(TextLabel oSource) {
        if (this != oSource) {
            super.copyFrom(oSource);
            this.getLabelFrame().copyFrom(oSource.getLabelFrame());
        }
    }

    public boolean notEqual(TextLabel oCompare) {
        return !this.equals(oCompare);
    }

    private LabelFrame getLabelFrame() {
        return (LabelFrame)this.getTraditionalFrame();
    }
}