All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.habibsweb.commons.components.list.DefaultScrollableListDataFlavor Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.habibsweb.commons.components.list;

import java.awt.datatransfer.DataFlavor;

/**
 *
 * @author David Hamilton
 */
public class DefaultScrollableListDataFlavor extends DataFlavor {

    private final Object val;

    /**
     * Constructs a new DefaultScrollableListDataFlavor
     *
     * @param value the value of the item
     */
    public DefaultScrollableListDataFlavor(Object value) {
        super(Object.class, null);
        this.val = value;
    }

    /**
     *Gets the value 
     * @return the value
     */
    public Object getValue() {
        return this.val;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy