<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: UISplitPane</title> <atom:link href="http://undocumentedmatlab.com/blog/uisplitpane/feed/" rel="self" type="application/rss+xml" /><link>http://undocumentedmatlab.com/blog/uisplitpane/</link> <description>Charting Matlab's unsupported hidden underbelly</description> <lastBuildDate>Fri, 03 Feb 2012 11:51:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.1</generator> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-24206</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Tue, 30 Nov 2010 23:12:39 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-24206</guid> <description>@Yogesh - You can do this anywhere in your Matlab session, or at the beginning of the function. Note that the relevant condition was modified by Anonymous (see the comments above) to:
&lt;pre lang=&quot;matlab&quot;&gt;
str.indexOf(&#039;com.mathworks.mwswing.desk.DTSelectionManager&#039;) &gt;= 0 &#124;&#124; ...
str.indexOf(&#039;javax.swing.plaf.basic.BasicLookAndFeel&#039;) &gt;= 0 &#124;&#124; ...
str.indexOf(&#039;com.mathworks.widgets.text.mcode.MLintDecorator&#039;) &gt;= 0
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>@Yogesh &#8211; You can do this anywhere in your Matlab session, or at the beginning of the function. Note that the relevant condition was modified by Anonymous (see the comments above) to:</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;">str.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'com.mathworks.mwswing.desk.DTSelectionManager'</span><span style="color: #080;">&#41;</span> &gt;= <span style="color: #33f;">0</span> <span style="color: #F0F;">||</span> <span style="color: #F0F;">...</span>
<span style="">str</span>.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'javax.swing.plaf.basic.BasicLookAndFeel'</span><span style="color: #080;">&#41;</span> &gt;= <span style="color: #33f;">0</span> <span style="color: #F0F;">||</span> <span style="color: #F0F;">...</span>
<span style="">str</span>.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'com.mathworks.widgets.text.mcode.MLintDecorator'</span><span style="color: #080;">&#41;</span> &gt;= <span style="color: #33f;">0</span></pre></div></div>]]></content:encoded> </item> <item><title>By: Yogesh</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-23490</link> <dc:creator>Yogesh</dc:creator> <pubDate>Tue, 23 Nov 2010 20:18:11 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-23490</guid> <description>Yair/Anonymous,Where do I insert the following lines to remove the bug with R2008+?&lt;pre lang=&quot;matlab&quot;&gt;
t=java.awt.Toolkit.getDefaultToolkit()
ev=t.getAWTEventListeners()
for i=1:length(ev)
str=ev(i).getListener().getClass.toString
if str.indexOf(&#039;com.mathworks.mwswing.desk.DTSelectionManager&#039;)&gt;=0 &#124;&#124; ...
str.indexOf(&#039;javax.swing.plaf.basic.BasicLookAndFeel&#039;)&gt;=0
t.removeAWTEventListener(ev(i))
end
end
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Yair/Anonymous,</p><p>Where do I insert the following lines to remove the bug with R2008+?</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;">t=java.<span style="">awt</span>.<span style="">Toolkit</span>.<span style="">getDefaultToolkit</span><span style="color: #080;">&#40;</span><span style="color: #080;">&#41;</span>
ev=t.<span style="">getAWTEventListeners</span><span style="color: #080;">&#40;</span><span style="color: #080;">&#41;</span>
<span style="color: #0000FF;">for</span> <span style="color: #0000FF;"><span style="color: #33f;">i</span></span>=<span style="color: #33f;">1</span><span style="color: #F0F;">:</span><span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>ev<span style="color: #080;">&#41;</span>
    str=ev<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">i</span></span><span style="color: #080;">&#41;</span>.<span style="">getListener</span><span style="color: #080;">&#40;</span><span style="color: #080;">&#41;</span>.<span style="">getClass</span>.<span style="">toString</span>
    <span style="color: #0000FF;">if</span> str.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'com.mathworks.mwswing.desk.DTSelectionManager'</span><span style="color: #080;">&#41;</span>&gt;=<span style="color: #33f;">0</span> <span style="color: #F0F;">||</span> <span style="color: #F0F;">...</span>
       <span style="">str</span>.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'javax.swing.plaf.basic.BasicLookAndFeel'</span><span style="color: #080;">&#41;</span>&gt;=<span style="color: #33f;">0</span>
        t.<span style="">removeAWTEventListener</span><span style="color: #080;">&#40;</span>ev<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">i</span></span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>
    <span style="color: #0000FF;">end</span>
<span style="color: #0000FF;">end</span></pre></div></div>]]></content:encoded> </item> <item><title>By: Zach</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-9723</link> <dc:creator>Zach</dc:creator> <pubDate>Wed, 05 May 2010 15:53:30 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-9723</guid> <description>Update, here&#039;s an ugly hack I&#039;ve inserted into &lt;i&gt;&lt;b&gt;uisplitpane&lt;/b&gt;&lt;/i&gt; so that a &lt;i&gt;&lt;b&gt;uitree&lt;/b&gt;&lt;/i&gt; correctly resizes if it&#039;s in one of the panes.In the updateSubPaneSizes, line 800, I&#039;ve inserted:&lt;pre lang=&quot;matlab&quot;&gt;
%Z
hParent = get(hDivider,&#039;ContainerParentHandle&#039;);
tree_handle = findobj(hParent,&#039;UserData&#039;,&#039;com.mathworks.hg.peer.UITreePeer&#039;);
if(~isempty(tree_handle))
pixelPos = getPixelPos(hDivider);
set(tree_handle,&#039;Units&#039;,&#039;pixels&#039;)
current_tree_pos = get(tree_handle,&#039;Position&#039;);
set(tree_handle,&#039;Position&#039;,[current_tree_pos(1) current_tree_pos(2) pixelPos(1)-2 pixelPos(4)]);
drawnow;
end
&lt;/pre&gt;Seems to work well enough.Thanks,
Zach</description> <content:encoded><![CDATA[<p>Update, here&#8217;s an ugly hack I&#8217;ve inserted into <i><b>uisplitpane</b></i> so that a <i><b>uitree</b></i> correctly resizes if it&#8217;s in one of the panes.</p><p>In the updateSubPaneSizes, line 800, I&#8217;ve inserted:</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;"><span style="color: #228B22;">%Z</span>
hParent = <span style="color: #0000FF;">get</span><span style="color: #080;">&#40;</span>hDivider,<span style="color:#A020F0;">'ContainerParentHandle'</span><span style="color: #080;">&#41;</span>;
tree_handle = <span style="color: #0000FF;">findobj</span><span style="color: #080;">&#40;</span>hParent,<span style="color:#A020F0;">'UserData'</span>,<span style="color:#A020F0;">'com.mathworks.hg.peer.UITreePeer'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">if</span><span style="color: #080;">&#40;</span>~<span style="color: #0000FF;">isempty</span><span style="color: #080;">&#40;</span>tree_handle<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>
   pixelPos = getPixelPos<span style="color: #080;">&#40;</span>hDivider<span style="color: #080;">&#41;</span>;
   <span style="color: #0000FF;">set</span><span style="color: #080;">&#40;</span>tree_handle,<span style="color:#A020F0;">'Units'</span>,<span style="color:#A020F0;">'pixels'</span><span style="color: #080;">&#41;</span>
   current_tree_pos = <span style="color: #0000FF;">get</span><span style="color: #080;">&#40;</span>tree_handle,<span style="color:#A020F0;">'Position'</span><span style="color: #080;">&#41;</span>;
   <span style="color: #0000FF;">set</span><span style="color: #080;">&#40;</span>tree_handle,<span style="color:#A020F0;">'Position'</span>,<span style="color: #080;">&#91;</span>current_tree_pos<span style="color: #080;">&#40;</span><span style="color: #33f;">1</span><span style="color: #080;">&#41;</span> current_tree_pos<span style="color: #080;">&#40;</span><span style="color: #33f;">2</span><span style="color: #080;">&#41;</span> pixelPos<span style="color: #080;">&#40;</span><span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>-<span style="color: #33f;">2</span> pixelPos<span style="color: #080;">&#40;</span><span style="color: #33f;">4</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span>;
   <span style="color: #0000FF;">drawnow</span>;
<span style="color: #0000FF;">end</span></pre></div></div><p>Seems to work well enough.</p><p>Thanks,<br
/> Zach</p> ]]></content:encoded> </item> <item><title>By: Zach</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-8213</link> <dc:creator>Zach</dc:creator> <pubDate>Mon, 15 Mar 2010 21:37:17 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-8213</guid> <description>This works great - one question I have though, I&#039;m not able to get a uitree to resize when placed in one of the panes this creates:&lt;pre lang=&quot;matlab&quot;&gt;
fig_handle = figure;
[tree_pane,split_pane,hDiv] = uisplitpane(fig_handle,&#039;Orientation&#039;,&#039;horizontal&#039;,&#039;DividerLocation&#039;,0.3,&#039;DividerColor&#039;,[0.6 0.6 0.6]);
[top_pane,bottom_pane,vDiv] = uisplitpane(split_pane,&#039;Orientation&#039;,&#039;vertical&#039;,&#039;DividerLocation&#039;,0.5,&#039;DividerColor&#039;,[0.6 0.6 0.6]);root_node = uitreenode(&#039;Test&#039;,&#039;Test&#039;, [], 0);
Tree = uitree(&#039;v0&#039;,&#039;Parent&#039;,tree_pane,&#039;Root&#039;,root_node);
set(Tree,&#039;Units&#039;,get(tree_pane,&#039;Units&#039;));
size_pane = get(tree_pane,&#039;Position&#039;);
set(Tree,&#039;Position&#039;,[0 0 size_pane(3) size_pane(4)]);
&lt;/pre&gt;When the sliders are moved, the uitree doesn&#039;t change size with the pane.</description> <content:encoded><![CDATA[<p>This works great &#8211; one question I have though, I&#8217;m not able to get a uitree to resize when placed in one of the panes this creates:</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;">fig_handle = <span style="color: #0000FF;">figure</span>;
<span style="color: #080;">&#91;</span>tree_pane,split_pane,hDiv<span style="color: #080;">&#93;</span> = uisplitpane<span style="color: #080;">&#40;</span>fig_handle,<span style="color:#A020F0;">'Orientation'</span>,<span style="color:#A020F0;">'horizontal'</span>,<span style="color:#A020F0;">'DividerLocation'</span>,<span style="color: #33f;">0.3</span>,<span style="color:#A020F0;">'DividerColor'</span>,<span style="color: #080;">&#91;</span><span style="color: #33f;">0.6</span> <span style="color: #33f;">0.6</span> <span style="color: #33f;">0.6</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span>;
<span style="color: #080;">&#91;</span>top_pane,bottom_pane,vDiv<span style="color: #080;">&#93;</span> = uisplitpane<span style="color: #080;">&#40;</span>split_pane,<span style="color:#A020F0;">'Orientation'</span>,<span style="color:#A020F0;">'vertical'</span>,<span style="color:#A020F0;">'DividerLocation'</span>,<span style="color: #33f;">0.5</span>,<span style="color:#A020F0;">'DividerColor'</span>,<span style="color: #080;">&#91;</span><span style="color: #33f;">0.6</span> <span style="color: #33f;">0.6</span> <span style="color: #33f;">0.6</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span>;
&nbsp;
root_node = uitreenode<span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Test'</span>,<span style="color:#A020F0;">'Test'</span>, <span style="color: #080;">&#91;</span><span style="color: #080;">&#93;</span>, <span style="color: #33f;">0</span><span style="color: #080;">&#41;</span>;
Tree = uitree<span style="color: #080;">&#40;</span><span style="color:#A020F0;">'v0'</span>,<span style="color:#A020F0;">'Parent'</span>,tree_pane,<span style="color:#A020F0;">'Root'</span>,root_node<span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">set</span><span style="color: #080;">&#40;</span>Tree,<span style="color:#A020F0;">'Units'</span>,<span style="color: #0000FF;">get</span><span style="color: #080;">&#40;</span>tree_pane,<span style="color:#A020F0;">'Units'</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;
size_pane = <span style="color: #0000FF;">get</span><span style="color: #080;">&#40;</span>tree_pane,<span style="color:#A020F0;">'Position'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">set</span><span style="color: #080;">&#40;</span>Tree,<span style="color:#A020F0;">'Position'</span>,<span style="color: #080;">&#91;</span><span style="color: #33f;">0</span> <span style="color: #33f;">0</span> size_pane<span style="color: #080;">&#40;</span><span style="color: #33f;">3</span><span style="color: #080;">&#41;</span> size_pane<span style="color: #080;">&#40;</span><span style="color: #33f;">4</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span>;</pre></div></div><p>When the sliders are moved, the uitree doesn&#8217;t change size with the pane.</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-660</link> <dc:creator>Anonymous</dc:creator> <pubDate>Fri, 15 May 2009 11:37:52 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-660</guid> <description>Please replace with this condition:&lt;pre lang=&quot;matlab&quot;&gt;
str.indexOf(&#039;com.mathworks.mwswing.desk.DTSelectionManager&#039;)&gt;=0 &#124;&#124; ...
str.indexOf(&#039;javax.swing.plaf.basic.BasicLookAndFeel&#039;)&gt;=0 &#124;&#124; ...
str.indexOf(&#039;com.mathworks.widgets.text.mcode.MLintDecorator&#039;)&gt;=0
&lt;/pre&gt;With these 3 event listeners removed, it seems no more exeptions occurs (hopefully).</description> <content:encoded><![CDATA[<p>Please replace with this condition:</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;">str.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'com.mathworks.mwswing.desk.DTSelectionManager'</span><span style="color: #080;">&#41;</span>&gt;=<span style="color: #33f;">0</span> <span style="color: #F0F;">||</span> <span style="color: #F0F;">...</span>
<span style="">str</span>.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'javax.swing.plaf.basic.BasicLookAndFeel'</span><span style="color: #080;">&#41;</span>&gt;=<span style="color: #33f;">0</span> <span style="color: #F0F;">||</span> <span style="color: #F0F;">...</span>
<span style="">str</span>.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'com.mathworks.widgets.text.mcode.MLintDecorator'</span><span style="color: #080;">&#41;</span>&gt;=<span style="color: #33f;">0</span></pre></div></div><p>With these 3 event listeners removed, it seems no more exeptions occurs (hopefully).</p> ]]></content:encoded> </item> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-659</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Fri, 15 May 2009 11:21:25 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-659</guid> <description>Thanks J :-)</description> <content:encoded><![CDATA[<p>Thanks J <img
src='http://undocumentedmatlab.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-658</link> <dc:creator>Anonymous</dc:creator> <pubDate>Fri, 15 May 2009 11:17:47 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-658</guid> <description>This will solve the problems people have with R2008b and latter (exceptions...)This also solve the exceptions with your brilliant Systray software.Regards&lt;pre lang=&quot;matlab&quot;&gt;
t=java.awt.Toolkit.getDefaultToolkit()
ev=t.getAWTEventListeners()
for i=1:length(ev)
str=ev(i).getListener().getClass.toString
if str.indexOf(&#039;com.mathworks.mwswing.desk.DTSelectionManager&#039;)&gt;=0 &#124;&#124; ...
str.indexOf(&#039;javax.swing.plaf.basic.BasicLookAndFeel&#039;)&gt;=0
t.removeAWTEventListener(ev(i))
end
end
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>This will solve the problems people have with R2008b and latter (exceptions&#8230;)</p><p>This also solve the exceptions with your brilliant Systray software.</p><p>Regards</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;">t=java.<span style="">awt</span>.<span style="">Toolkit</span>.<span style="">getDefaultToolkit</span><span style="color: #080;">&#40;</span><span style="color: #080;">&#41;</span>
ev=t.<span style="">getAWTEventListeners</span><span style="color: #080;">&#40;</span><span style="color: #080;">&#41;</span>
<span style="color: #0000FF;">for</span> <span style="color: #0000FF;"><span style="color: #33f;">i</span></span>=<span style="color: #33f;">1</span><span style="color: #F0F;">:</span><span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>ev<span style="color: #080;">&#41;</span>
    str=ev<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">i</span></span><span style="color: #080;">&#41;</span>.<span style="">getListener</span><span style="color: #080;">&#40;</span><span style="color: #080;">&#41;</span>.<span style="">getClass</span>.<span style="">toString</span>
    <span style="color: #0000FF;">if</span> str.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'com.mathworks.mwswing.desk.DTSelectionManager'</span><span style="color: #080;">&#41;</span>&gt;=<span style="color: #33f;">0</span> <span style="color: #F0F;">||</span> <span style="color: #F0F;">...</span>
       <span style="">str</span>.<span style="">indexOf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'javax.swing.plaf.basic.BasicLookAndFeel'</span><span style="color: #080;">&#41;</span>&gt;=<span style="color: #33f;">0</span>
        t.<span style="">removeAWTEventListener</span><span style="color: #080;">&#40;</span>ev<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">i</span></span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>
    <span style="color: #0000FF;">end</span>
<span style="color: #0000FF;">end</span></pre></div></div>]]></content:encoded> </item> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-56</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Thu, 02 Apr 2009 14:02:53 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-56</guid> <description>Wei - the standard javax.swing.JSlider doesn&#039;t have this out-of-the-box, but you can easily integrate 3rd-party components that do this. Google is your best friend, or search one of numerous Swing component repositories, like &lt;a href=&quot;http://swing-components.safe-install.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://swing-components.safe-install.com/&lt;/a&gt;</description> <content:encoded><![CDATA[<p>Wei &#8211; the standard javax.swing.JSlider doesn&#8217;t have this out-of-the-box, but you can easily integrate 3rd-party components that do this. Google is your best friend, or search one of numerous Swing component repositories, like <a
href="http://swing-components.safe-install.com/" target="_blank" rel="nofollow">http://swing-components.safe-install.com/</a></p> ]]></content:encoded> </item> <item><title>By: wei</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-55</link> <dc:creator>wei</dc:creator> <pubDate>Thu, 02 Apr 2009 13:41:11 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-55</guid> <description>Yair, This is nice. How easy to implement a round slider, like a meter?</description> <content:encoded><![CDATA[<p>Yair, This is nice. How easy to implement a round slider, like a meter?</p> ]]></content:encoded> </item> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/uisplitpane/#comment-53</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Thu, 02 Apr 2009 10:29:43 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=119#comment-53</guid> <description>@Mikhail - uisplitpane (or the split-panes concept, same as the tab-panes concept) is a component that can be embedded into any Matlab container or Layout Manager (Matlab itself has several layout managers - see the File Exchange), just like any other Matlab component/container. That was an important design point of uisplitpane. I agree that my sample screenshot would be more powerful if I showed the split-panes embedded in some Matlab uipanel - If I have some spare time I&#039;ll do this.Using the Java divider (as opposed to pure-Matlab button) enabled me to use its internal one-click flush hotspots (the arrows near the top/left end of the dividers that enable to flush the divider all the way to the side in one click) with a special mouse hover cursor. The property listeners were required to ensure that whenever the divider was modified, the split-panes did as well - this cannot be done in pure Matlab. The other undocumented functions had their own special reasons too.</description> <content:encoded><![CDATA[<p>@Mikhail &#8211; uisplitpane (or the split-panes concept, same as the tab-panes concept) is a component that can be embedded into any Matlab container or Layout Manager (Matlab itself has several layout managers &#8211; see the File Exchange), just like any other Matlab component/container. That was an important design point of uisplitpane. I agree that my sample screenshot would be more powerful if I showed the split-panes embedded in some Matlab uipanel &#8211; If I have some spare time I&#8217;ll do this.</p><p>Using the Java divider (as opposed to pure-Matlab button) enabled me to use its internal one-click flush hotspots (the arrows near the top/left end of the dividers that enable to flush the divider all the way to the side in one click) with a special mouse hover cursor. The property listeners were required to ensure that whenever the divider was modified, the split-panes did as well &#8211; this cannot be done in pure Matlab. The other undocumented functions had their own special reasons too.</p> ]]></content:encoded> </item> </channel> </rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              b7666
Template:           single
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: undocumentedmatlab.com @ 2012-02-04 03:08:06 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: enhanced
Cache key:          blog/uisplitpane/feed/_index.xml_gzip
Caching:            enabled
Status:             not cached
Creation Time:      0.809s
Header info:
X-Pingback:         http://undocumentedmatlab.com/blog/xmlrpc.php
Set-Cookie:         wpgb_visit_last_php-default=1328350086; expires=Sun, 03-Feb-2013 10:08:06 GMT; path=/
Link:               <http://undocumentedmatlab.com/?p=119>; rel=shortlink
Content-Type:       text/xml; charset=UTF-8
Last-Modified:      Sat, 04 Feb 2012 10:08:06 GMT
Vary:               Accept-Encoding, Cookie
Expires:            Sat, 04 Feb 2012 11:08:06 GMT
Pragma:             public
Cache-Control:      public, must-revalidate, proxy-revalidate
Etag:               d2d71f2433f9aadac3bde13682a971c7
Content-Encoding:   gzip
-->
