
org.bytedeco.procamcalib.CleanBeanNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of procamcalib Show documentation
Show all versions of procamcalib Show documentation
A User-Friendly Method to Calibrate Cameras and Projector-Camera Systems
/*
* Copyright (C) 2009,2010 Samuel Audet
*
* This file is part of ProCamCalib.
*
* ProCamCalib is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* ProCamCalib is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ProCamCalib. If not, see .
*/
package org.bytedeco.procamcalib;
import java.beans.IntrospectionException;
import java.beans.PropertyEditor;
import java.beans.beancontext.BeanContext;
import java.util.HashMap;
import javax.swing.Action;
import org.openide.nodes.BeanChildren;
import org.openide.nodes.BeanNode;
import org.openide.nodes.Node;
import org.openide.nodes.Node.Property;
import org.openide.nodes.PropertySupport;
/**
*
* @author Samuel Audet
*/
public class CleanBeanNode extends BeanNode {
public CleanBeanNode(T o,
final HashMap> editors,
String displayName) throws IntrospectionException {
super(o, o instanceof BeanContext ? new BeanChildren((BeanContext)o,
new BeanChildren.Factory() {
public Node createNode(Object bean) throws IntrospectionException {
return new CleanBeanNode
© 2015 - 2025 Weber Informatics LLC | Privacy Policy