API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. PopupFactory View Source
Author(s)
Since
1.4
Version
1.26 02/22/05
Serial
Hierarchy
 Object
      PopupFactory
Implements
Subclasses
Description
public class PopupFactory
  PopupFactory, as the name implies, is used to obtain instances of Popups.
See also:    Popup
Constructors
public PopupFactory ()
Methods
Hide/Show inherited methods
public Popup getPopup (Component owner, Component contents, int x, int y) throws IllegalArgumentException
  Creates a Popup for the Component owner containing the Component contents.
pack-private int getPopupType ()
Returns the preferred type of Popup to create.
publicstatic PopupFactory getSharedInstance ()
  Returns the shared PopupFactory which can be used to obtain Popups.
pack-private void setPopupType (int type)
Provides a hint as to the type of Popup that should be created.
publicstatic void setSharedInstance (PopupFactory factory)
  Sets the PopupFactory that will be used to obtain Popups.
Fields
Hide/Show inherited fields
pack-privatefinalstatic StringBuffer forceHeavyWeightPopupKey
Key used for client property to force heavy weight popups for a component.
pack-privatefinalstatic int HEAVY_WEIGHT_POPUP = "2"
pack-privatefinalstatic int LIGHT_WEIGHT_POPUP = "0"
Key used to indicate a light weight popup should be used.
pack-privatefinalstatic int MEDIUM_WEIGHT_POPUP = "1"
Key used to indicate a medium weight Popup should be used.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar