class org.aswing.JClosableTabbedPane extends JTabbedPane
A JTabbedPane
where a each tab has a close button, you must listen the TabCloseEvent
and then remove the related tab component if you want.
By default, nothing will happen for close button click.
@author paling
![]() | Show Events | Hide Events
|
Instance Fields
function isCloseEnabledAt(index:Int): Bool
Returns whether or not the tab close button at index is currently enabled. false will be returned if there is no tab at that index.
index | the index of the item being queried |
returns | if the tab close button at index is enabled; false otherwise. |
function setCloseEnabledAt(index:Int, enabled:Bool): Void
Sets whether or not the tab close button at index is enabled. Nothing will happen if there is no tab at that index.
index | the tab index which should be enabled/disabled |
enabled | whether or not the tab close button should be enabled |