<h2>org.das2.beans.BeansUtil</h2><p>Utilities for JavaBeans conventions, allowing custom editors to be 
 used to edit JavaBeans with set/get properties.</p>
<h2>BeansUtil( )</h2>
<p></p>

<hr>
<a name="asAccessLevelBeanInfo"></a>
<h2>asAccessLevelBeanInfo</h2>
asAccessLevelBeanInfo( <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/BeanInfo.html'>java.beans.BeanInfo</a> beanInfo, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> beanClass ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/beans/AccessLevelBeanInfo.html'>org.das2.beans.AccessLevelBeanInfo</a>

<p>Returns an AccessLevelBeanInfo for the BeanInfo class, implementing the logic
 of how to handle implicit properties.</p>

<h3>Parameters</h3>
beanInfo - a BeanInfo
<br>
beanClass - a java.lang.Class

<h3>Returns:</h3>
org.das2.beans.AccessLevelBeanInfo

<br><br>
<a href="https://github.com/autoplot/dev/search?q=asAccessLevelBeanInfo&unscoped_q=asAccessLevelBeanInfo">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/beans/BeansUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/beans/BeansUtil.html#asAccessLevelBeanInfo">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/beans/BeansUtil.java">[view source]</a>
<br>
<br>
<hr>
<a name="findEditor"></a>
<h2>findEditor</h2>
findEditor( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> propertyClass ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/PropertyEditor.html'>java.beans.PropertyEditor</a>

<p></p>

<h3>Parameters</h3>
propertyClass - a java.lang.Class

<h3>Returns:</h3>
java.beans.PropertyEditor

<br><br>
<a href="https://github.com/autoplot/dev/search?q=findEditor&unscoped_q=findEditor">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/beans/BeansUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/beans/BeansUtil.html#findEditor">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/beans/BeansUtil.java">[view source]</a>
<br>
<br>
<hr>
<a name="getBeanInfo"></a>
<h2>getBeanInfo</h2>
getBeanInfo( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> c ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/BeanInfo.html'>java.beans.BeanInfo</a>

<p></p>

<h3>Parameters</h3>
c - a java.lang.Class

<h3>Returns:</h3>
java.beans.BeanInfo

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getBeanInfo&unscoped_q=getBeanInfo">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/beans/BeansUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/beans/BeansUtil.html#getBeanInfo">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/beans/BeansUtil.java">[view source]</a>
<br>
<br>
<hr>
<a name="getEditor"></a>
<h2>getEditor</h2>
getEditor( <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/PropertyDescriptor.html'>java.beans.PropertyDescriptor</a> pd ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/PropertyEditor.html'>java.beans.PropertyEditor</a>

<p>One-stop place to get the editor for the given propertyDescriptor.</p>

<h3>Parameters</h3>
pd - the property descriptor

<h3>Returns:</h3>
the editor
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getEditor&unscoped_q=getEditor">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/beans/BeansUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/beans/BeansUtil.html#getEditor">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/beans/BeansUtil.java">[view source]</a>
<br>
<br>
<hr>
<a name="getPropertyDescriptors"></a>
<h2>getPropertyDescriptors</h2>
getPropertyDescriptors( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> c ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/PropertyDescriptor.html'>java.beans.PropertyDescriptor[]</a>

<p>Use reflection to get a list of all the property names for the class.
 The properties are returned in the order specified, and put inherited properties
 at the end of the list.  Implement the include/exclude logic.  
 
 This will not return write-only descriptors!!!</p>

<h3>Parameters</h3>
c - a java.lang.Class

<h3>Returns:</h3>
java.beans.PropertyDescriptor[]

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getPropertyDescriptors&unscoped_q=getPropertyDescriptors">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/beans/BeansUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/beans/BeansUtil.html#getPropertyDescriptors">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/beans/BeansUtil.java">[view source]</a>
<br>
<br>
<hr>
<a name="getPropertyNames"></a>
<h2>getPropertyNames</h2>
getPropertyNames( <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/PropertyDescriptor.html'>java.beans.PropertyDescriptor[]</a> propertyList ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String[]</a>

<p></p>

<h3>Parameters</h3>
propertyList - a java.beans.PropertyDescriptor[]

<h3>Returns:</h3>
java.lang.String[]

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getPropertyNames&unscoped_q=getPropertyNames">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/beans/BeansUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/beans/BeansUtil.html#getPropertyNames">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/beans/BeansUtil.java">[view source]</a>
<br>
<br>
getPropertyNames( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> c ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String[]</a><br>
<hr>
<a name="registerEditor"></a>
<h2>registerEditor</h2>
registerEditor( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> beanClass, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> editorClass ) &rarr; void

<p>see BeanBindingDemo2.java</p>

<h3>Parameters</h3>
beanClass - the bean class, e.g. Datum.class
<br>
editorClass - the editor class, e.g. DatumEditor.class

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=registerEditor&unscoped_q=registerEditor">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/beans/BeansUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/beans/BeansUtil.html#registerEditor">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/beans/BeansUtil.java">[view source]</a>
<br>
<br>