Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
static class: PopupFactory.ContainerPopup [javadoc | source]
java.lang.Object
   javax.swing.Popup
      javax.swing.PopupFactory$ContainerPopup

Direct Known Subclasses:
    HeadlessPopup, MediumWeightPopup, LightWeightPopup

ContainerPopup consolidates the common code used in the light/medium weight implementations of Popup.
Field Summary
 Component owner    Component we are to be added to. 
 int x    Desired x location. 
 int y    Desired y location. 
Method from javax.swing.PopupFactory$ContainerPopup Summary:
fitsOnScreen,   getContainerPopupArea,   hide,   overlappedByOwnedWindow,   pack,   reset
Methods from javax.swing.Popup:
createComponent,   dispose,   getComponent,   hide,   pack,   reset,   show
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.PopupFactory$ContainerPopup Detail:
 boolean fitsOnScreen() 
    Returns true if popup can fit the screen and the owner's top parent. It determines can popup be lightweight or mediumweight.
 Rectangle getContainerPopupArea(GraphicsConfiguration gc) 
 public  void hide() 
 boolean overlappedByOwnedWindow() 
 public  void pack() 
  void reset(Component owner,
    Component contents,
    int ownerX,
    int ownerY)