// GraphTea Project: http://github.com/graphtheorysoftware/GraphTea // Copyright (C) 2012 Graph Theory Software Foundation: http://GraphTheorySoftware.com // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/ package graphtea.ui.components.gpropertyeditor.renderers; import graphtea.platform.lang.BoundedInteger; import graphtea.ui.components.gpropertyeditor.GBasicCellRenderer; import graphtea.ui.components.utils.LabledSlider; import java.awt.*; /** * @author azin azadi */ public class BoundedIntegerRenderer implements GBasicCellRenderer<BoundedInteger> { public Component getRendererComponent(BoundedInteger value) { return new LabledSlider(value); } }