de.muntjak.tinylookandfeel
Class TinyPopupFactory
java.lang.Object
javax.swing.PopupFactory
de.muntjak.tinylookandfeel.TinyPopupFactory
public class TinyPopupFactory
- extends javax.swing.PopupFactory
TinyPopupFactory is responsible for creating special Popup instances,
able to capture screen images used as background for popup menus
having a shadow border.
- Since:
- 1.4.0
| Methods inherited from class javax.swing.PopupFactory |
getSharedInstance, setSharedInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHADOW_POPUP_KEY
public static final java.lang.String SHADOW_POPUP_KEY
- See Also:
- Constant Field Values
VERTICAL_IMAGE_KEY
public static final java.lang.String VERTICAL_IMAGE_KEY
- See Also:
- Constant Field Values
HORIZONTAL_IMAGE_KEY
public static final java.lang.String HORIZONTAL_IMAGE_KEY
- See Also:
- Constant Field Values
COMPONENT_ORIENTATION_KEY
public static final java.lang.String COMPONENT_ORIENTATION_KEY
- See Also:
- Constant Field Values
getPopup
public javax.swing.Popup getPopup(java.awt.Component owner,
java.awt.Component contents,
int x,
int y)
throws java.lang.IllegalArgumentException
- Overrides:
getPopup in class javax.swing.PopupFactory
- Throws:
java.lang.IllegalArgumentException
addDialog
public static void addDialog(javax.swing.JDialog dialog)
closeDialogs
public static void closeDialogs()
- Closes all non-modal dialogs currently showing.
install
public static void install()
isPopupShadowEnabled
public static boolean isPopupShadowEnabled()
uninstall
public static void uninstall()