This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<apidef name="explorer">Explorer API</apidef>
</apidefs>
<changes>
<change id="OutlineView.setTreeHorizontalScrollBarPolicy">
<api name="explorer"/>
<summary>OutlineView can provide horizontal scroll bar in the tree column.</summary>
<version major="6" minor="30"/>
<date day="7" month="7" year="2010"/>
<author login="mentlicher"/>
<compatibility binary="compatible" source="compatible" deprecation="no" deletion="no" addition="yes"/>
<description>
In order to be able to provide horizontal scroll bar in the tree column,
two methods are added: <code>getTreeHorizontalScrollBarPolicy()</code>
and <code>setTreeHorizontalScrollBarPolicy()</code>.
</description>
<class package="org.openide.explorer.view" name="OutlineView"/>
<issue number="188130"/>
</change>
<change id="ListView.setShowParentNode">
<summary>ListView can now display ".." item</summary>
OpenIDE-Module: org.openide.explorer
OpenIDE-Module-Localizing-Bundle: org/openide/explorer/Bundle.properties
AutoUpdate-Essential-Module: true
OpenIDE-Module-Specification-Version: 6.29
OpenIDE-Module-Specification-Version: 6.30
hScrollBar.getModel().addChangeListener(listener);
}
void setTreeHorizontalScrollBarPolicy(int policy) {
/**
* Returns the horizontal scroll bar policy value for the tree column.
* @return the <code>treeHorizontalScrollBarPolicy</code> property
* @see #setTreeHorizontalScrollBarPolicy
* @since 6.30
*/
public int getTreeHorizontalScrollBarPolicy() {
return treeHorizontalScrollBarPolicy;
* Determines when the horizontal scrollbar appears in the tree column.
* The options are:<ul>
* <li><code>ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED</code>
* <li><code>ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER</code>
* <li><code>ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS</code>
* </ul>
*
* @param policy one of the three values listed above
* @exception IllegalArgumentException if <code>policy</code>
* is not one of the legal values shown above
* @see #getTreeHorizontalScrollBarPolicy
* @beaninfo
* preferred: true
* bound: true
* description: The tree column scrollbar policy
* enum: HORIZONTAL_SCROLLBAR_AS_NEEDED ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED
* HORIZONTAL_SCROLLBAR_NEVER ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER
* HORIZONTAL_SCROLLBAR_ALWAYS ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS
public void setTreeHorizontalScrollBarPolicy(int policy) {
if (policy == treeHorizontalScrollBarPolicy) {
return ;