swingx
Version 2005-08-19

org.jdesktop.swingx.plaf
Class ContextMenuAuxLF

java.lang.Object
  extended by javax.swing.LookAndFeel
      extended by org.jdesktop.swingx.plaf.ContextMenuAuxLF

public class ContextMenuAuxLF
extends LookAndFeel

Support for context dependent popup menus. It's meant to be used as a auxiliary LF on top of main LF:

 
  
  UIManager.addAuxiliaryLookAndFeel(new ContextMenuAuxLF());
  
  
There are core-issues involved, which might or might not impair its usefulness, for details please see a thread in the SwingLabs forum:

Experimental: default context menus for textcomponents/scrollbars


Constructor Summary
ContextMenuAuxLF()
           
 
Method Summary
 UIDefaults getDefaults()
           
 String getDescription()
           
 String getID()
           
 String getName()
           
 boolean isNativeLookAndFeel()
           
 boolean isSupportedLookAndFeel()
           
 
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, getDisabledIcon, getDisabledSelectedIcon, getSupportsWindowDecorations, initialize, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninitialize, uninstallBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextMenuAuxLF

public ContextMenuAuxLF()
Method Detail

getName

public String getName()
Specified by:
getName in class LookAndFeel

getID

public String getID()
Specified by:
getID in class LookAndFeel

getDescription

public String getDescription()
Specified by:
getDescription in class LookAndFeel

isNativeLookAndFeel

public boolean isNativeLookAndFeel()
Specified by:
isNativeLookAndFeel in class LookAndFeel

isSupportedLookAndFeel

public boolean isSupportedLookAndFeel()
Specified by:
isSupportedLookAndFeel in class LookAndFeel

getDefaults

public UIDefaults getDefaults()
Overrides:
getDefaults in class LookAndFeel

swingx
Version 2005-08-19