Java Doc for TabbedContainer.java in  » IDE-Netbeans » library » org » netbeans » swing » tabcontrol » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » library » org.netbeans.swing.tabcontrol 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         javax.swing.JComponent
            org.netbeans.swing.tabcontrol.TabbedContainer

TabbedContainer
public class TabbedContainer extends JComponent implements Accessible(Code)
A tabbed container similar to a JTabbedPane. The tabbed container is a simple container which contains two components - the tabs displayer, and the content displayer. The tabs displayer is the thing that actually draws the tabs; the content displayer contains the components that are being shown.

The first difference from a JTabbedPane is that it is entirely model driven - the tab contents are in a data model owned by the displayer. It is not strictly necessary for the contained components to even be installed in the AWT hierarchy when not displayed.

Other differences are more flexibility in the way tabs are displayed by completely separating the implementation and UI for that from that of displaying the contents.

Other interesting aspects are the ability of TabDataModel to deliver complex, granular events in a single pass with no information loss. Generally, great effort has been gone to to conflate nothing - that is, adding a component does not equal selecting it does not equal changing focus, et. cetera, leaving these decisions more in the hands of the user of the control.

It is possible to implement a subclass which provides the API of JTabbedPane, making it a drop-in replacement.

There are several UI styles a TabbedContainer can have. The type is passed as an argument to the constructor (support for changing these on the fly may be added in the future, but such a change is a very heavyweight operation, and is only desirable to enable use of this component in its various permutations inside GUI designers). The following styles are supported:

  • TYPE_VIEW - These are tabs such as the Explorer window has in NetBeans - all tabs are always displayed, with the available space equally divided between them.
  • TYPE_EDITOR - Scrolling tabs, coupled with control buttons and mouse wheel support for scrolling the visible tabs, and a popup which displays a list of tabs.
  • TYPE_SLIDING - Tabs which are displayed as buttons, and may provide a fade or sliding effect when displayed. For this style, a second click on the selected tab will hide the selected tab (setting the selection model's selected index to -1).

Customizing the appearance of tabs

Tabs are customized by providing a different UI delegate for the tab displayer component, via UIManager, in the same manner as any standard Swing component; for TYPE_SLIDING tabs, simply implementing an alternate UI delegate for the buttons used to represent tabs is all that is needed.

Managing user events on tabs

When a user clicks a tab, the TabbedContainer will fire an action event to all of its listeners. This action event will always be an instance of TabActionEvent, which can provide the index of the tab that was pressed, and the command name of the action that was performed. A client which wants to handle the event itself (for example, the asking a user if they want to save data, and possibly vetoing the closing of a tab) may veto (or take full responsibility for performing) the action by consuming the TabActionEvent.

Indication of focus and the "activated" state

The property active is provided to allow a tabbed container to indicate that it contains the currently focused component. However, no effort is made to track focus on the part of the tabbed control - there is too much variability possible (for example, if a component inside a tab opens a modal dialog, is the tab active or not?). In fact, using keyboard focus at all to manage the activated state of the component turns out to be a potent source of hard-to-fix, hard-to-reproduce bugs (especially when components are being added and removed, or hidden and shown or components which do not reliably produce focus events). What NetBeans does to solve the problem in a reliable way is the following:
  1. Use an AWT even listener to track mouse clicks, and when the mouse is clicked,
    • Find the ancestor that is a tabbed container (if any)
    • Set the activated state appropriately on it and the previously active container
    • Ensure that keyboard focus moves into that container
  2. Block ctrl-tab style keyboard based focus traversal out of tabbed containers
  3. Provide keyboard actions, with menu items, which will change to a different container, activating it
This may seem complicated, and it probably is overkill for a small application (as is this tabbed control - it wasn't designed for a small application). It's primary advantage is that it works.
See Also:   TabDisplayer
author:
   Tim Boudreau, Dafe Simonek


Field Summary
final public static  StringCOMMAND_CLOSE
     Action command indicating that the action event signifies the user clicking the Close button on a tab.
final public static  StringCOMMAND_CLOSE_ALL
    
final public static  StringCOMMAND_CLOSE_ALL_BUT_THIS
    
final public static  StringCOMMAND_DISABLE_AUTO_HIDE
    
final public static  StringCOMMAND_ENABLE_AUTO_HIDE
    
final public static  StringCOMMAND_MAXIMIZE
    
final public static  StringCOMMAND_POPUP_REQUEST
    
final public static  StringCOMMAND_SELECT
    
final public static  StringCOMMAND_TOGGLE_TRANSPARENCY
    
final public static  intCONTENT_POLICY_ADD_ALL
     Content policy in which all components contained in the data model should immediately be added to the AWT hierarchy at the time they appear in the data model.
final public static  intCONTENT_POLICY_ADD_ONLY_SELECTED
     Content policy by which components contained in the data model are added to the AWT hierarchy the when they are shown, and removed immediately when the user changes tabs.
final public static  intCONTENT_POLICY_ADD_ON_FIRST_USE
     Content policy by which components contained in the data model are added to the AWT hierarchy the first time they are shown, and remain their thereafter unless removed from the data model.
protected static  intDEFAULT_CONTENT_POLICY
     The default content policy, currently CONTENT_POLICY_ADD_ALL.
final public static  StringPROP_ACTIVE
    
final public static  StringPROP_MANAGE_TAB_POSITION
     Client property applicable only to TYPE_SLIDING tabs.
final public static  StringTABBED_CONTAINER_UI_CLASS_ID
     UIManager key for the UI Delegate to be used by tabbed containers.
final public static  intTYPE_EDITOR
     Creates a "editor" style displayer; typically this uses a scrolling tabs UI for the tab displayer.
final public static  intTYPE_SLIDING
     Creates a "sliding" view, typically with tabs rendered as buttons along the left, bottom or right edge, with no scrolling behavior for tabs. Significant about this UI style is that re-clicking the selected tab will cause the component displayed to be hidden.

This is the least scalable of the available UI types, and is intended primarily for use with a small, fixed set of tabs.

final public static  intTYPE_TOOLBAR
     Creates a Toolbar-style displayer (the style used by the NetBeans Form Editor's Component Inspector and a few other places in NetBeans).
final public static  intTYPE_VIEW
     Creates a "view" style displayer; typically this will have a fixed width and a single row of tabs which get smaller as more tabs are added, as seen in NetBeans’ Explorer window.
 AWTEventListenerawtListener
    

Constructor Summary
public  TabbedContainer()
    
public  TabbedContainer(TabDataModel model)
    
public  TabbedContainer(int type)
    
public  TabbedContainer(TabDataModel model, int type)
    
public  TabbedContainer(TabDataModel model, int type, LocationInformer locationInformer)
     Deprecated, please use constructor with WinsysInfoForTabbed instead.
public  TabbedContainer(TabDataModel model, int type, WinsysInfoForTabbed winsysInfo)
    

Method Summary
final public synchronized  voidaddActionListener(ActionListener listener)
     Register an ActionListener.
public  voidaddNotify()
    
final public  voidcancelRequestAttention(int tab)
    
final public  voidcancelRequestAttention(TabData data)
    
public  ImagecreateImageOfTab(int idx)
    
public  intdropIndexOfPoint(Point location)
     The index at which a tab should be inserted if a drop operation occurs at this point.
public  javax.accessibility.AccessibleContextgetAccessibleContext()
    
final public  ComponentConvertergetComponentConverter()
     Get the component converter which is used to fetch a component corresponding to an element in the data model.
public  intgetContentPolicy()
     Determine the policy by which components are added to the container. There are various pros and cons to each:
  • CONTENT_POLICY_ADD_ALL - All components in the data model are automatically added to the container, and whenever the model changes, components are added and removed as need be.
public  ShapegetDropIndication(Object dragged, Point location)
     Get a shape appropriate for drawing on the window's glass pane to indicate where a component should appear in the tab order if it is dropped here.
Parameters:
  dragged - An object being dragged, or null.
public  LocationInformergetLocationInformer()
    
final public  TabDataModelgetModel()
     Get the data model that represents the tabs this component has.
final public  SingleSelectionModelgetSelectionModel()
     Get the selection model.
public  intgetTabCount()
     Get the number of tabs.
final public  RectanglegetTabRect(int index, Rectangle r)
    
final public  intgetType()
     Get the type of this displayer - it is either TYPE_EDITOR or TYPE_VIEW.
public  TabbedContainerUIgetUI()
    
public  StringgetUIClassID()
    
public  WinsysInfoForTabbedgetWinsysInfo()
    
public  intindexOf(Component comp)
    
final public  booleanisActive()
    
public  booleanisPaintingOrigin()
    
final public  booleanisShowCloseButton()
     Determine whether or not close buttons are being shown.
public  booleanisTransparent()
     True if the container is transparent, i.e.
public  booleanisValidateRoot()
    
public  voidpaint(Graphics g)
    
final protected  voidpostActionEvent(TabActionEvent event)
     Used by the UI to post action events for selection and close operations.
final public synchronized  voidremoveActionListener(ActionListener listener)
     Remove an action listener.
public  voidremoveNotify()
    
final public  voidrequestAttention(int tab)
     Cause the tab at the specified index to blink or otherwise suggest that the user should click it.
final public  booleanrequestAttention(TabData data)
     Cause the specified tab to blink or otherwisse suggest that the user should click it.
final public  voidsetActive(boolean active)
     Set the "active" state of this tab control - this affects the way the tabs are displayed, to indicate focus.
final public  voidsetComponentConverter(ComponentConverter cc)
     Set the converter that converts user objects in the data model into components to display.
final public  voidsetContentPolicy(int i)
     Experimental property - alter the policy by which the components in the model are added to the container.
public  voidsetIconAt(int index, Icon icon)
    
final public  voidsetShowCloseButton(boolean val)
     Set whether or not close buttons should be shown.
public  voidsetTitleAt(int index, String title)
    
public  voidsetToolTipTextAt(int index, String toolTip)
    
public  voidsetTransparent(boolean transparent)
    
public  inttabForCoordinate(Point p)
    
public  voidupdateUI()
     Overridden as follows: When called by the superclass constructor (before the type field is set), it will simply return; the TabbedContainer constructor will call updateUI() explicitly later.

Will first search UIManager for a matching UI class.


Field Detail
COMMAND_CLOSE
final public static String COMMAND_CLOSE(Code)
Action command indicating that the action event signifies the user clicking the Close button on a tab.



COMMAND_CLOSE_ALL
final public static String COMMAND_CLOSE_ALL(Code)



COMMAND_CLOSE_ALL_BUT_THIS
final public static String COMMAND_CLOSE_ALL_BUT_THIS(Code)



COMMAND_DISABLE_AUTO_HIDE
final public static String COMMAND_DISABLE_AUTO_HIDE(Code)



COMMAND_ENABLE_AUTO_HIDE
final public static String COMMAND_ENABLE_AUTO_HIDE(Code)



COMMAND_MAXIMIZE
final public static String COMMAND_MAXIMIZE(Code)
Command indicating a maximize (double-click) request



COMMAND_POPUP_REQUEST
final public static String COMMAND_POPUP_REQUEST(Code)
Action command indicating that a popup menu should be shown



COMMAND_SELECT
final public static String COMMAND_SELECT(Code)
Action command indicating that the action event fired signifies the user selecting a tab



COMMAND_TOGGLE_TRANSPARENCY
final public static String COMMAND_TOGGLE_TRANSPARENCY(Code)



CONTENT_POLICY_ADD_ALL
final public static int CONTENT_POLICY_ADD_ALL(Code)
Content policy in which all components contained in the data model should immediately be added to the AWT hierarchy at the time they appear in the data model.
See Also:   TabbedContainer.setContentPolicy



CONTENT_POLICY_ADD_ONLY_SELECTED
final public static int CONTENT_POLICY_ADD_ONLY_SELECTED(Code)
Content policy by which components contained in the data model are added to the AWT hierarchy the when they are shown, and removed immediately when the user changes tabs.



CONTENT_POLICY_ADD_ON_FIRST_USE
final public static int CONTENT_POLICY_ADD_ON_FIRST_USE(Code)
Content policy by which components contained in the data model are added to the AWT hierarchy the first time they are shown, and remain their thereafter unless removed from the data model.
See Also:   TabbedContainer.setContentPolicy



DEFAULT_CONTENT_POLICY
protected static int DEFAULT_CONTENT_POLICY(Code)
The default content policy, currently CONTENT_POLICY_ADD_ALL. To facilitate experimentation with different settings application-wide, set the system property "nb.tabcontrol.contentpolicy" to 1, 2 or 3 for ADD_ALL, ADD_ON_FIRST_USE or ADD_ONLY_SELECTED, respectively (note other values will throw an Error). Do not manipulate this value at runtime, it will likely become a final field in a future release. It is a protected field only to ensure its inclusion in documentation.
See Also:   TabbedContainer.setContentPolicy



PROP_ACTIVE
final public static String PROP_ACTIVE(Code)
Property fired when setActive() is called



PROP_MANAGE_TAB_POSITION
final public static String PROP_MANAGE_TAB_POSITION(Code)
Client property applicable only to TYPE_SLIDING tabs. If set to Boolean.FALSE, the UI will not automatically try to determine a correct position for the tab displayer.



TABBED_CONTAINER_UI_CLASS_ID
final public static String TABBED_CONTAINER_UI_CLASS_ID(Code)
UIManager key for the UI Delegate to be used by tabbed containers.



TYPE_EDITOR
final public static int TYPE_EDITOR(Code)
Creates a "editor" style displayer; typically this uses a scrolling tabs UI for the tab displayer. This is the most scalable of the available UI styles - it can handle a very large number of tabs with minimal overhead, and the standard UI implementations of it use a cell-renderer model for painting.



TYPE_SLIDING
final public static int TYPE_SLIDING(Code)
Creates a "sliding" view, typically with tabs rendered as buttons along the left, bottom or right edge, with no scrolling behavior for tabs. Significant about this UI style is that re-clicking the selected tab will cause the component displayed to be hidden.

This is the least scalable of the available UI types, and is intended primarily for use with a small, fixed set of tabs. By default, the position of the tab displayer will be determined based on the proximity of the container to the edges of its parent window. This can be turned off by setting the client property PROP_MANAGE_TAB_POSITION to Boolean.FALSE.




TYPE_TOOLBAR
final public static int TYPE_TOOLBAR(Code)
Creates a Toolbar-style displayer (the style used by the NetBeans Form Editor's Component Inspector and a few other places in NetBeans).



TYPE_VIEW
final public static int TYPE_VIEW(Code)
Creates a "view" style displayer; typically this will have a fixed width and a single row of tabs which get smaller as more tabs are added, as seen in NetBeans’ Explorer window.



awtListener
AWTEventListener awtListener(Code)




Constructor Detail
TabbedContainer
public TabbedContainer()(Code)
Create a new pane with the default model and tabs displayer



TabbedContainer
public TabbedContainer(TabDataModel model)(Code)
Create a new pane with asociated model and the default tabs displayer



TabbedContainer
public TabbedContainer(int type)(Code)



TabbedContainer
public TabbedContainer(TabDataModel model, int type)(Code)
Create a new pane with the specified model and displayer type
Parameters:
  model - The model



TabbedContainer
public TabbedContainer(TabDataModel model, int type, LocationInformer locationInformer)(Code)
Deprecated, please use constructor with WinsysInfoForTabbed instead.



TabbedContainer
public TabbedContainer(TabDataModel model, int type, WinsysInfoForTabbed winsysInfo)(Code)
Create a new pane with the specified model, displayer type and extra information from winsys




Method Detail
addActionListener
final public synchronized void addActionListener(ActionListener listener)(Code)
Register an ActionListener. TabbedContainer and TabDisplayer guarantee that the type of event fired will always be TabActionEvent. There are two special things about TabActionEvent:
  1. There are methods on TabActionEvent to find the index of the tab the event was performed on, and if present, retrieve the mouse event that triggered it, for clients that wish to provide different handling for different mouse buttons
  2. TabActionEvents can be consumed. If a listener consumes the event, the UI will take no action - the selection will not be changed, the tab will not be closed. Consuming the event means taking responsibility for doing whatever would normally happen automatically. This is useful for, for example, showing a dialog and possibly aborting closing a tab if it contains unsaved data, for instance.
Action events will be fired before any action has been taken to alter the state of the control to match the action, so that they may be vetoed or modified by consuming the event.
Parameters:
  listener - The listener to register.



addNotify
public void addNotify()(Code)



cancelRequestAttention
final public void cancelRequestAttention(int tab)(Code)



cancelRequestAttention
final public void cancelRequestAttention(TabData data)(Code)



createImageOfTab
public Image createImageOfTab(int idx)(Code)
Create an image of a single tab, suitable for use in drag and drop operations



dropIndexOfPoint
public int dropIndexOfPoint(Point location)(Code)
The index at which a tab should be inserted if a drop operation occurs at this point.
Parameters:
  location - A point anywhere on the TabbedContainer A tab index, or -1



getAccessibleContext
public javax.accessibility.AccessibleContext getAccessibleContext()(Code)



getComponentConverter
final public ComponentConverter getComponentConverter()(Code)
Get the component converter which is used to fetch a component corresponding to an element in the data model. If the value has not been set, it will use ComponentConverter.DEFAULT, which simply delegates to TabData.getComponent().



getContentPolicy
public int getContentPolicy()(Code)
Determine the policy by which components are added to the container. There are various pros and cons to each:
  • CONTENT_POLICY_ADD_ALL - All components in the data model are automatically added to the container, and whenever the model changes, components are added and removed as need be. This is less scalable, but absolutely reliable
  • CONTENT_POLICY_ADD_ON_FIRST_USE - Components are not added to the container until the first time they are used, and then they remain in the AWT hierarchy until their TabData elements are removed from the model. This is more scalable, and probably has some startup time benefits
  • CONTENT_POLICY_ADD_ONLY_SELECTED - The only component that will ever be in the AWT hierarchy is the one that is being displayed. This is safest in the case that heavyweight AWT components may be used



getDropIndication
public Shape getDropIndication(Object dragged, Point location)(Code)
Get a shape appropriate for drawing on the window's glass pane to indicate where a component should appear in the tab order if it is dropped here.
Parameters:
  dragged - An object being dragged, or null. The object may be an instanceof TabData or Component, in which case a checkwill be done of whether the dragged object is already in the data model,so that attempts to drop the object over the place it already is in themodel will always return the exact indication of that tab's position.
Parameters:
  location - A point Drop indication drawing



getLocationInformer
public LocationInformer getLocationInformer()(Code)



getModel
final public TabDataModel getModel()(Code)
Get the data model that represents the tabs this component has. All programmatic manipulation of tabs should be done via the data model. The model



getSelectionModel
final public SingleSelectionModel getSelectionModel()(Code)
Get the selection model. The selection model tracks the index of the selected component, modifying this index appropriately when tabs are added or removed. The model



getTabCount
public int getTabCount()(Code)
Get the number of tabs. Equivalent to getModel().size()



getTabRect
final public Rectangle getTabRect(int index, Rectangle r)(Code)
Fetch the rectangle of the tab for a given index, in the coordinate space of this component, by reconfiguring the passed rectangle object



getType
final public int getType()(Code)
Get the type of this displayer - it is either TYPE_EDITOR or TYPE_VIEW. This property is set in the constructor and is immutable



getUI
public TabbedContainerUI getUI()(Code)
Get the ui delegate for this component



getUIClassID
public String getUIClassID()(Code)
Returns TabbedContainer.TABBED_CONTAINER_UI_CLASS_ID



getWinsysInfo
public WinsysInfoForTabbed getWinsysInfo()(Code)



indexOf
public int indexOf(Component comp)(Code)
Get the index of a component



isActive
final public boolean isActive()(Code)
Determine if this component thinks it is "active", which affects how the tabs are painted - typically used to indicate that keyboard focus is somewhere within the component



isPaintingOrigin
public boolean isPaintingOrigin()(Code)



isShowCloseButton
final public boolean isShowCloseButton()(Code)
Determine whether or not close buttons are being shown.



isTransparent
public boolean isTransparent()(Code)
True if the container is transparent, i.e. painted if Alpha set to 0.2 or less.



isValidateRoot
public boolean isValidateRoot()(Code)



paint
public void paint(Graphics g)(Code)



postActionEvent
final protected void postActionEvent(TabActionEvent event)(Code)
Used by the UI to post action events for selection and close operations. If the event is consumed, the UI should take no action to change the selection or close the tab, and will presume that the receiver of the event is handling performing whatever action is appropriate.
Parameters:
  event - The event to be fired



removeActionListener
final public synchronized void removeActionListener(ActionListener listener)(Code)
Remove an action listener.
Parameters:
  listener - The listener to remove.



removeNotify
public void removeNotify()(Code)



requestAttention
final public void requestAttention(int tab)(Code)
Cause the tab at the specified index to blink or otherwise suggest that the user should click it.



requestAttention
final public boolean requestAttention(TabData data)(Code)
Cause the specified tab to blink or otherwisse suggest that the user should click it.



setActive
final public void setActive(boolean active)(Code)
Set the "active" state of this tab control - this affects the way the tabs are displayed, to indicate focus. Note that this method will never be called automatically in stand-alone use of TabbedContainer. While one would expect a component gaining keyboard focus to be a good determinant, it actually turns out to be a potent source of subtle and hard-to-fix bugs.

NetBeans uses an AWTEventListener to track mouse clicks, and allows components to become activated only via a mouse click or via a keyboard action or menu item which activates the component. This approach is far more robust and is the recommended usage pattern.




setComponentConverter
final public void setComponentConverter(ComponentConverter cc)(Code)
Set the converter that converts user objects in the data model into components to display. If set to null (the default), the user object at the selected index in the data model will be cast as an instance of JComponent when searching for what to show for a given tab.

For use cases where a single component is to be displayed for more than one tab, just reconfigured when the selection changes, simply supply a ComponentConverter.Fixed with the component that should be used for all tabs.




setContentPolicy
final public void setContentPolicy(int i)(Code)
Experimental property - alter the policy by which the components in the model are added to the container. This may not remain suppported. If used, it should be called before populating the data model.



setIconAt
public void setIconAt(int index, Icon icon)(Code)



setShowCloseButton
final public void setShowCloseButton(boolean val)(Code)
Set whether or not close buttons should be shown. This can be defaulted with the system property nb.tabs.suppressCloseButton; if the system property is not set, the default is true.



setTitleAt
public void setTitleAt(int index, String title)(Code)



setToolTipTextAt
public void setToolTipTextAt(int index, String toolTip)(Code)



setTransparent
public void setTransparent(boolean transparent)(Code)
Turn container transparency on/off
Parameters:
  transparent - True to make the container transparent



tabForCoordinate
public int tabForCoordinate(Point p)(Code)
Gets the index of the tab at point p, or -1 if no tab is there



updateUI
public void updateUI()(Code)
Overridden as follows: When called by the superclass constructor (before the type field is set), it will simply return; the TabbedContainer constructor will call updateUI() explicitly later.

Will first search UIManager for a matching UI class. If non-null (by default it is set in the core/swing/plaf library), it will compare the found class name with the current UI. If they are a match, it will call TabbedContainerUI.shouldReplaceUI() to decide whether to actually do anything or not (in most cases it would just replace an instance of DefaultTabbedContainerUI with another one; but this call allows DefaultTabbedContainerUI.uichange() to update the tab displayer as needed).

If no UIManager UI class is defined, this method will silently use an instance of DefaultTabbedContainerUI.




Fields inherited from javax.swing.JComponent
final public static String TOOL_TIP_TEXT_KEY(Code)(Java Doc)
final public static int UNDEFINED_CONDITION(Code)(Java Doc)
final public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_FOCUSED(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_WINDOW(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected transient ComponentUI ui(Code)(Java Doc)

Methods inherited from javax.swing.JComponent
public void addAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public JToolTip createToolTip()(Code)(Java Doc)
public void disable()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
final public ActionMap getActionMap()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public AncestorListener[] getAncestorListeners()(Code)(Java Doc)
public boolean getAutoscrolls()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
final public Object getClientProperty(Object key)(Code)(Java Doc)
protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc)
public JPopupMenu getComponentPopupMenu()(Code)(Java Doc)
public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
public int getDebugGraphicsOptions()(Code)(Java Doc)
public static Locale getDefaultLocale()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public boolean getInheritsPopupMenu()(Code)(Java Doc)
final public InputMap getInputMap(int condition)(Code)(Java Doc)
final public InputMap getInputMap()(Code)(Java Doc)
public InputVerifier getInputVerifier()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Insets getInsets(Insets insets)(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Component getNextFocusableComponent()(Code)(Java Doc)
public Point getPopupLocation(MouseEvent event)(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public String getToolTipText(MouseEvent event)(Code)(Java Doc)
public Container getTopLevelAncestor()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc)
public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc)
public Rectangle getVisibleRect()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public void grabFocus()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public static boolean isLightweightComponent(Component c)(Code)(Java Doc)
public boolean isManagingFocus()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isOptimizedDrawingEnabled()(Code)(Java Doc)
final public boolean isPaintingForPrint()(Code)(Java Doc)
public boolean isPaintingTile()(Code)(Java Doc)
public boolean isRequestFocusEnabled()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
protected void paintBorder(Graphics g)(Code)(Java Doc)
protected void paintChildren(Graphics g)(Code)(Java Doc)
protected void paintComponent(Graphics g)(Code)(Java Doc)
public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc)
public void paintImmediately(Rectangle r)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void printBorder(Graphics g)(Code)(Java Doc)
protected void printChildren(Graphics g)(Code)(Java Doc)
protected void printComponent(Graphics g)(Code)(Java Doc)
protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc)
protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
final public void putClientProperty(Object key, Object value)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(Rectangle r)(Code)(Java Doc)
public boolean requestDefaultFocus()(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void resetKeyboardActions()(Code)(Java Doc)
public void reshape(int x, int y, int w, int h)(Code)(Java Doc)
public void revalidate()(Code)(Java Doc)
public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc)
final public void setActionMap(ActionMap am)(Code)(Java Doc)
public void setAlignmentX(float alignmentX)(Code)(Java Doc)
public void setAlignmentY(float alignmentY)(Code)(Java Doc)
public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc)
public void setBackground(Color bg)(Code)(Java Doc)
public void setBorder(Border border)(Code)(Java Doc)
public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc)
public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc)
public static void setDefaultLocale(Locale l)(Code)(Java Doc)
public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
public void setForeground(Color fg)(Code)(Java Doc)
public void setInheritsPopupMenu(boolean value)(Code)(Java Doc)
final public void setInputMap(int condition, InputMap map)(Code)(Java Doc)
public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc)
public void setOpaque(boolean isOpaque)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc)
public void setToolTipText(String text)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
protected void setUI(ComponentUI newUI)(Code)(Java Doc)
public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc)
public void setVisible(boolean aFlag)(Code)(Java Doc)
public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

Methods inherited from java.awt.Container
public Component add(Component comp)(Code)(Java Doc)
public Component add(String name, Component comp)(Code)(Java Doc)
public Component add(Component comp, int index)(Code)(Java Doc)
public void add(Component comp, Object constraints)(Code)(Java Doc)
public void add(Component comp, Object constraints, int index)(Code)(Java Doc)
public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc)
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public int countComponents()(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public Component findComponentAt(int x, int y)(Code)(Java Doc)
public Component findComponentAt(Point p)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Component getComponent(int n)(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentZOrder(Component comp)(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isAncestorOf(Component c)(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusCycleRoot()(Code)(Java Doc)
final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc)
public boolean isFocusTraversalPolicySet()(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printComponents(Graphics g)(Code)(Java Doc)
protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setComponentZOrder(Component comp, int index)(Code)(Java Doc)
public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc)
final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setLayout(LayoutManager mgr)(Code)(Java Doc)
public void transferFocusDownCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
protected void validateTree()(Code)(Java Doc)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(Code)(Java Doc)

Methods inherited from java.awt.Component
public boolean action(Event evt, Object what)(Code)(Java Doc)
public void add(PopupMenu popup)(Code)(Java Doc)
public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc)
public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public Rectangle bounds()(Code)(Java Doc)
public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc)
public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean contains(Point p)(Code)(Java Doc)
public Image createImage(ImageProducer producer)(Code)(Java Doc)
public Image createImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
final protected void disableEvents(long eventsToDisable)(Code)(Java Doc)
final public void dispatchEvent(AWTEvent e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void enable(boolean b)(Code)(Java Doc)
final protected void enableEvents(long eventsToEnable)(Code)(Java Doc)
public void enableInputMethods(boolean enable)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc)
public ComponentOrientation getComponentOrientation()(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
public synchronized DropTarget getDropTarget()(Code)(Java Doc)
public Container getFocusCycleRootAncestor()(Code)(Java Doc)
public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc)
public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc)
public boolean getIgnoreRepaint()(Code)(Java Doc)
public InputContext getInputContext()(Code)(Java Doc)
public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc)
public InputMethodRequests getInputMethodRequests()(Code)(Java Doc)
public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc)
public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc)
public Point getMousePosition() throws HeadlessException(Code)(Java Doc)
public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
public ComponentPeer getPeer()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
final public Object getTreeLock()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public boolean gotFocus(Event evt, Object what)(Code)(Java Doc)
public boolean handleEvent(Event evt)(Code)(Java Doc)
public boolean hasFocus()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
public boolean inside(int x, int y)(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isBackgroundSet()(Code)(Java Doc)
public boolean isCursorSet()(Code)(Java Doc)
public boolean isDisplayable()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusOwner()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
public boolean isFocusable()(Code)(Java Doc)
public boolean isFontSet()(Code)(Java Doc)
public boolean isForegroundSet()(Code)(Java Doc)
public boolean isLightweight()(Code)(Java Doc)
public boolean isMaximumSizeSet()(Code)(Java Doc)
public boolean isMinimumSizeSet()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isPreferredSizeSet()(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public boolean keyDown(Event evt, int key)(Code)(Java Doc)
public boolean keyUp(Event evt, int key)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list()(Code)(Java Doc)
public void list(PrintStream out)(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Point location()(Code)(Java Doc)
public boolean lostFocus(Event evt, Object what)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc)
public void move(int x, int y)(Code)(Java Doc)
public void nextFocus()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintAll(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public boolean postEvent(Event e)(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc)
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processFocusEvent(FocusEvent e)(Code)(Java Doc)
protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc)
public void remove(MenuComponent popup)(Code)(Java Doc)
public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc)
public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void repaint(long tm)(Code)(Java Doc)
public void repaint(int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
protected boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc)
public void setFocusable(boolean focusable)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc)
public void setLocale(Locale l)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setLocation(Point p)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void show(boolean b)(Code)(Java Doc)
public Dimension size()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void transferFocus()(Code)(Java Doc)
public void transferFocusBackward()(Code)(Java Doc)
public void transferFocusUpCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.