// Copyright 2004, FreeHEP.
package hep.graphics.heprep1.adapter;

import java.awt.*;
import java.util.*;

import hep.graphics.heprep.HepRepAttValue;
import hep.graphics.heprep.HepRepTypeException;
import hep.graphics.heprep.ref.DefaultHepRepAttValue;

/**
 *
 * @author Mark Donszelmann
 * @version $Id: HepRepAttValueAdapter.java,v 1.4 2004/07/30 14:51:52 duns Exp $
 */
public class HepRepAttValueAdapter extends DefaultHepRepAttValue {

    private hep.graphics.heprep1.HepRepAttValue attValue;

    public HepRepAttValueAdapter(hep.graphics.heprep1.HepRepAttValue attValue, String name, String value, int showLabel) {
        super(name, value, showLabel);
        this.attValue = attValue;
    }   

    public HepRepAttValueAdapter(hep.graphics.heprep1.HepRepAttValue attValue, String name, Color value, int showLabel) {
        super(name, value, showLabel);
        this.attValue = attValue;
    }   

    public HepRepAttValueAdapter(hep.graphics.heprep1.HepRepAttValue attValue, String name, long value, int showLabel) {
        super(name, value, showLabel);
        this.attValue = attValue;
    }   

    public HepRepAttValueAdapter(hep.graphics.heprep1.HepRepAttValue attValue, String name, int value, int showLabel) {
        super(name, value, showLabel);
        this.attValue = attValue;
    }   

    public HepRepAttValueAdapter(hep.graphics.heprep1.HepRepAttValue attValue, String name, double value, int showLabel) {
        super(name, value, showLabel);
        this.attValue = attValue;
    }   

    public HepRepAttValueAdapter(hep.graphics.heprep1.HepRepAttValue attValue, String name, boolean value, int showLabel) {
        super(name, value, showLabel);
        this.attValue = attValue;
    }   

    public HepRepAttValueAdapter(hep.graphics.heprep1.HepRepAttValue attValue, String name, String value, String type, int showLabel) {
        super(name, value, showLabel);
        this.attValue = attValue;
    }   
}
