<h2>org.autoplot.datasource.GuiUtil</h2><p>Utility class for working with GUIs, first introduced to listen for
 who is setting the minimum size.</p>
<h2>GuiUtil( )</h2>
<p></p>

<hr>
<a name="addResizeListenerToAll"></a>
<h2>addResizeListenerToAll</h2>
addResizeListenerToAll( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/JComponent.html'>javax.swing.JComponent</a> c ) &rarr; void

<p>utility for figuring out who is setting the minimum size of a
 component.</p>

<h3>Parameters</h3>
c - the parent component.

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

<br><br>
<a href="https://github.com/autoplot/dev/search?q=addResizeListenerToAll&unscoped_q=addResizeListenerToAll">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/GuiUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/GuiUtil.html#addResizeListenerToAll">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/GuiUtil.java#l31">[view source]</a>
<br>
<br>
<hr>
<a name="hasScrollPane"></a>
<h2>hasScrollPane</h2>
hasScrollPane( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/JComponent.html'>javax.swing.JComponent</a> c ) &rarr; boolean

<p>scan through all the child components looking to see if there is a 
 JScrollPane.  This was introduced when a JSplitPane with two JScrollPanes
 was used with addTab, and an extra JScrollPane was added.</p>

<h3>Parameters</h3>
c - the component

<h3>Returns:</h3>
true if a child has a scroll
<br><br>
<a href="https://github.com/autoplot/dev/search?q=hasScrollPane&unscoped_q=hasScrollPane">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/GuiUtil.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/GuiUtil.html#hasScrollPane">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/GuiUtil.java#l72">[view source]</a>
<br>
<br>