de.javasoft.plaf.synthetica
Class Popup

java.lang.Object
  extended by javax.swing.Popup
      extended by de.javasoft.plaf.synthetica.Popup

public class Popup
extends javax.swing.Popup

Popup used to support shadow for popus in heavyweight containers.

Version:
2.36, 20.06.2013

Field Summary
static java.lang.String POPUP_BACKGROUND
           
static java.lang.String POPUP_LIGHTWEIGHT
           
 
Constructor Summary
Popup(java.awt.Component owner, java.awt.Component contents, int x, int y, javax.swing.Popup delegate)
          Constructor
 
Method Summary
 java.awt.Component getContents()
           
 javax.swing.Popup getDelegate()
          Popup uses the original popup as delegate.
 void hide()
          Override hide to prepare screenshot and clearing references.
 void show()
          Overwrites show and creates a screenshot of heavyweight containers background.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POPUP_BACKGROUND

public static final java.lang.String POPUP_BACKGROUND
See Also:
Constant Field Values

POPUP_LIGHTWEIGHT

public static final java.lang.String POPUP_LIGHTWEIGHT
See Also:
Constant Field Values
Constructor Detail

Popup

public Popup(java.awt.Component owner,
             java.awt.Component contents,
             int x,
             int y,
             javax.swing.Popup delegate)
Constructor

Method Detail

hide

public void hide()
Override hide to prepare screenshot and clearing references.

Overrides:
hide in class javax.swing.Popup

getDelegate

public javax.swing.Popup getDelegate()
Popup uses the original popup as delegate. Getter for or those who need the delegate.


getContents

public java.awt.Component getContents()

show

public void show()
Overwrites show and creates a screenshot of heavyweight containers background. BackgroundImage will be stored in parents clientProperty POPUP_BACKGROUND.

Overrides:
show in class javax.swing.Popup


Copyright © 2004-2011 Jyloo Software. All Rights Reserved.