blob: 37d5f0f7e55b0cb6afab23bb44158f035076a8ef [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_181) on Fri Sep 14 11:36:27 BST 2018 -->
<title>Overview (Tab Control)</title>
<meta name="date" content="2018-09-14">
<link rel="stylesheet" type="text/css" href="javadoc.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Overview (Tab Control)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li class="navBarCell1Rev">Overview</li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">org.netbeans.swing.tabcontrol 1.58.1 </div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-summary.html" target="_top">Frames</a></li>
<li><a href="overview-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Tab Control<br/><span style='font-style:normal; font-size:medium; font-weight:normal; background-color:#e0a0a0;'><a href='http://wiki.netbeans.org/API_Stability#Friend' target='_blank'>Friend, Private or Third Party</a></span></h1>
</div>
<div class="header">
<div class="subTitle">
<div class="block">
The Swing components in this package were carefully designed to be consistent with standard Swing components in their
function, usage and ui registration mechanisms.</div>
</div>
<p>See: <a href="#overview.description">Description</a></p>
</div>
<div class="contentContainer">
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Tab Control table, listing packages, and an explanation">
<caption><span>Tab Control</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="org/netbeans/swing/popupswitcher/package-summary.html">org.netbeans.swing.popupswitcher</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="org/netbeans/swing/tabcontrol/package-summary.html">org.netbeans.swing.tabcontrol</a></td>
<td class="colLast">
<div class="block">TabDisplayer and TabbedControl</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="org/netbeans/swing/tabcontrol/customtabs/package-summary.html">org.netbeans.swing.tabcontrol.customtabs</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="org/netbeans/swing/tabcontrol/event/package-summary.html">org.netbeans.swing.tabcontrol.event</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="org/netbeans/swing/tabcontrol/plaf/package-summary.html">org.netbeans.swing.tabcontrol.plaf</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="contentContainer"><a name="overview.description">
<!-- -->
</a>
<div class="block"><p>
The Swing components in this package were carefully designed to be consistent with standard Swing components in their
function, usage and ui registration mechanisms.
</p>
<h3>What is New (see <a href="apichanges.html">all changes</a>)?</h3>
<ul>
<!--Search for dates that are later or equal to 1997-09-01 in
.-->
<!--Checking date 2013-9-11 with count of newer 0--><!--year ok-->
<li>Sep 11 '13 <a href="apichanges.html#autoscroll">Added ability to scroll document tabs when dragging a TopComponent
over the editor area.</a>
<p>
TabDisplayer no implements java.awt.dnd.Autoscroll interface. The new
methods just delegate to TabDisplayerUI.
The actual implementation is in BasicScrollingTabDisplayerUI class
which scrolls the tabs to the left or to the right when a TopComponent
is being dragged over its left or right edge.
</p>
</li>
<!--Checking date 2013-6-12 with count of newer 1--><!--year ok-->
<li>Jun 12 '13 <a href="apichanges.html#componentconverter">Added getter and setter for ComponentConverter to TabDisplayer class.</a>
<p>
TabDisplayer class has getter and setter for ComponentConverter so that its
UI delegate can calculate proper minimum size when ComponentConverter is being used.
</p>
</li>
<!--Checking date 2012-11-27 with count of newer 2--><!--year ok-->
<li>Nov 27 '12 <a href="apichanges.html#windows8laf">New UI delegates for Windows 8 look and feel.</a>
<p>
New UI delegates for editor and non-editor tabs for Windows 8 look and feel.
</p>
</li>
<!--Checking date 2012-8-31 with count of newer 3--><!--year ok-->
<li>Aug 31 '12 <a href="apichanges.html#attentionhighlight">Allow a tab to be permanently highlighted until user activates it.</a>
<p>
There's a new method <code>void setSwitcherItems(SwitcherTableItems[],int)</code> in
<code>SwitcherTable</code> class which allows to change the content of document switcher
popup.
</p>
</li>
<!--Checking date 2012-2-22 with count of newer 4--><!--year ok-->
<li>Feb 22 '12 <a href="apichanges.html#documentswitcher">Allow changes in SwitcherTable content.</a>
<p>
There's a new method <code>void setSwitcherItems(SwitcherTableItems[],int)</code> in
<code>SwitcherTable</code> class which allows to change the content of document switcher
popup.
</p>
</li>
<!--Checking date 2012-2-14 with count of newer 5--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2012-1-25 with count of newer 6--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2011-7-14 with count of newer 7--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2011-6-24 with count of newer 8--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2009-1-13 with count of newer 9--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2008-6-6 with count of newer 10--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2007-11-28 with count of newer 11--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2007-7-24 with count of newer 12--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2006-10-5 with count of newer 13--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2006-4-5 with count of newer 14--><!--Skipped as the amount of changes is too big-->
<!--Checking date 2004-11-18 with count of newer 15--><!--Skipped as the amount of changes is too big-->
</ul>
<h3>Use Cases</h3>
<answer id="arch-usecases">
Primary use cases are in the NetBeans window system, as top level containers in the main window; future use cases
include providing a consistent UI for tabs in the property sheet, the component inspector and the output window, but
this probably will not happen for 4.0.
</answer>
<h3>Exported Interfaces</h3>
This table lists all of the module exported APIs
with
defined stability classifications. It is generated
based on answers to questions about the architecture
of the module. <a href="architecture-summary.html">Read them all</a>...
<a name="group-java">
<h5>Group of java interfaces</h5>
</a>
<table cellpadding="1" cellspacing="0" border="0" class="tablebg" width="100%">
<tr>
<td>
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr class="tablersh">
<td align="CENTER" width="25%"><span class="titlectable">Interface Name</span></td><td align="CENTER" width="10%"><span class="titlectable">In/Out</span></td><td align="CENTER" width="10%"><span class="titlectable">Stability</span></td><td align="CENTER"><span class="titlectable">Specified in What Document?</span></td>
</tr>
<tr class="tabler">
<td>TabbedContainerAPI</td><td>Exported</td><td><a href="http://wiki.netbeans.org/API_Stability#Friend">Friend</a></td><td><a name="java-TabbedContainerAPI"><a href="org/netbeans/swing/tabcontrol/TabbedContainer.html">
.../swing/tabcontrol/TabbedContainer.html</a>
<p></p>
</a></td>
</tr>
<tr class="tabler">
<td>PopupSwitcherAPI</td><td>Exported</td><td><a href="http://wiki.netbeans.org/API_Stability#Friend">Friend</a></td><td><a name="java-PopupSwitcherAPI"><a href="org/netbeans/swing/popupswitcher/package-summary.html">
.../swing/popupswitcher/package-summary.html</a>
<p></p>
<p></p>
API contains classes used only by <em>switchers</em> accessible through main menu in "Window/Documents..."
and "Go To/Recent Document". Besides this module the package is used from core/windows too.
Classes contained in the package are rather
general and therefore this package could be moved in the future. It is placed here only due to current
modules dependencies. Consequently the package is not intended for external use.<br> For more
information on <code>SwitcherTable</code> and <code>SwitcherTableItem</code> see a javadoc.
<p></p>
</a></td>
</tr>
</table>
</td>
</tr>
</table>
<p></p>
<a name="group-systemproperty">
<h5>Group of systemproperty interfaces</h5>
</a>
<table cellpadding="1" cellspacing="0" border="0" class="tablebg" width="100%">
<tr>
<td>
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr class="tablersh">
<td align="CENTER" width="25%"><span class="titlectable">Interface Name</span></td><td align="CENTER" width="10%"><span class="titlectable">In/Out</span></td><td align="CENTER" width="10%"><span class="titlectable">Stability</span></td><td align="CENTER"><span class="titlectable">Specified in What Document?</span></td>
</tr>
<tr class="tabler">
<td>nb.tabs.suppressCloseButton</td><td>Exported</td><td><a href="http://wiki.netbeans.org/API_Stability#Devel">Under Development</a></td><td><a name="systemproperty-nb.tabs.suppressCloseButton">
<p></p>
<p>
The system property <code>nb.tabs.suppressCloseButton</code>
can be used to hide close buttons by default.
</p>
<p></p>
</a></td>
</tr>
<tr class="tabler">
<td>winsys.stretching_view_tabs</td><td>Exported</td><td><a href="http://wiki.netbeans.org/API_Stability#Devel">Under Development</a></td><td><a name="systemproperty-winsys.stretching_view_tabs">
<p></p>
<p>
The system property <code>winsys.stretching_view_tabs</code>
can be used to switch to stretching tab layout as implemented
in NetBeans version 7.0 and older.
</p>
<p></p>
</a></td>
</tr>
</table>
</td>
</tr>
</table>
<p></p>
<h3>Implementation Details</h3>
<h5>What do other modules need to do to declare a dependency on this one, in addition to or instead of a plain module dependency?</h5>
Nothing.
<p>
Read more about the implementation in the <a href="architecture-summary.html">answers to
architecture questions</a>.
</p></div>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li class="navBarCell1Rev">Overview</li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">org.netbeans.swing.tabcontrol 1.58.1 </div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-summary.html" target="_top">Frames</a></li>
<li><a href="overview-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><span class="footnote">Built on September 14 2018.&nbsp;&nbsp;|&nbsp;&nbsp; Copyright &#169; 2017-2018 Apache Software Foundation. All Rights Reserved.</span></small></p>
</body>
</html>