javax.swing.plaf.basic
Class BasicPopupMenuSeparatorUI

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI 
      extended by javax.swing.plaf.SeparatorUI sample code for javax.swing.plaf.SeparatorUI definition code for javax.swing.plaf.SeparatorUI 
          extended by javax.swing.plaf.basic.BasicSeparatorUI sample code for javax.swing.plaf.basic.BasicSeparatorUI definition code for javax.swing.plaf.basic.BasicSeparatorUI 
              extended by javax.swing.plaf.basic.BasicPopupMenuSeparatorUI

public class BasicPopupMenuSeparatorUI
extends BasicSeparatorUI sample code for javax.swing.plaf.basic.BasicSeparatorUI definition code for javax.swing.plaf.basic.BasicSeparatorUI

A Basic L&F implementation of PopupMenuSeparatorUI. This implementation is a "combined" view/controller.


Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI sample code for javax.swing.plaf.basic.BasicSeparatorUI definition code for javax.swing.plaf.basic.BasicSeparatorUI
highlight sample code for javax.swing.plaf.basic.BasicSeparatorUI.highlight definition code for javax.swing.plaf.basic.BasicSeparatorUI.highlight , shadow sample code for javax.swing.plaf.basic.BasicSeparatorUI.shadow definition code for javax.swing.plaf.basic.BasicSeparatorUI.shadow
 
Constructor Summary
BasicPopupMenuSeparatorUI sample code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.BasicPopupMenuSeparatorUI() definition code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.BasicPopupMenuSeparatorUI() ()
           
 
Method Summary
static ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI createUI sample code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.createUI(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
           
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getPreferredSize sample code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.getPreferredSize(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Returns the specified component's preferred size appropriate for the look and feel.
 void paint sample code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.paint(java.awt.Graphics, javax.swing.JComponent) (Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g, JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Paints the specified component appropriate for the look and feel.
 
Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI sample code for javax.swing.plaf.basic.BasicSeparatorUI definition code for javax.swing.plaf.basic.BasicSeparatorUI
getMaximumSize sample code for javax.swing.plaf.basic.BasicSeparatorUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSeparatorUI.getMaximumSize(javax.swing.JComponent) , getMinimumSize sample code for javax.swing.plaf.basic.BasicSeparatorUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSeparatorUI.getMinimumSize(javax.swing.JComponent) , installDefaults sample code for javax.swing.plaf.basic.BasicSeparatorUI.installDefaults(javax.swing.JSeparator) definition code for javax.swing.plaf.basic.BasicSeparatorUI.installDefaults(javax.swing.JSeparator) , installListeners sample code for javax.swing.plaf.basic.BasicSeparatorUI.installListeners(javax.swing.JSeparator) definition code for javax.swing.plaf.basic.BasicSeparatorUI.installListeners(javax.swing.JSeparator) , installUI sample code for javax.swing.plaf.basic.BasicSeparatorUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSeparatorUI.installUI(javax.swing.JComponent) , uninstallDefaults sample code for javax.swing.plaf.basic.BasicSeparatorUI.uninstallDefaults(javax.swing.JSeparator) definition code for javax.swing.plaf.basic.BasicSeparatorUI.uninstallDefaults(javax.swing.JSeparator) , uninstallListeners sample code for javax.swing.plaf.basic.BasicSeparatorUI.uninstallListeners(javax.swing.JSeparator) definition code for javax.swing.plaf.basic.BasicSeparatorUI.uninstallListeners(javax.swing.JSeparator) , uninstallUI sample code for javax.swing.plaf.basic.BasicSeparatorUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSeparatorUI.uninstallUI(javax.swing.JComponent)
 
Methods inherited from class javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
contains sample code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) definition code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) , getAccessibleChild sample code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) definition code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) , getAccessibleChildrenCount sample code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) , update sample code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

BasicPopupMenuSeparatorUI sample code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI() definition code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI()

public BasicPopupMenuSeparatorUI()
Method Detail

createUI sample code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.createUI(javax.swing.JComponent)

public static ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI  createUI(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)

paint sample code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.paint(java.awt.Graphics, javax.swing.JComponent)

public void paint(Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g,
                  JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
Paints the specified component appropriate for the look and feel. This method is invoked from the ComponentUI.update method when the specified component is being painted. Subclasses should override this method and use the specified Graphics object to render the content of the component.

Overrides:
paint sample code for javax.swing.plaf.basic.BasicSeparatorUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSeparatorUI.paint(java.awt.Graphics, javax.swing.JComponent) in class BasicSeparatorUI sample code for javax.swing.plaf.basic.BasicSeparatorUI definition code for javax.swing.plaf.basic.BasicSeparatorUI
Parameters:
g - the Graphics context in which to paint
c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)

getPreferredSize sample code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicPopupMenuSeparatorUI.getPreferredSize(javax.swing.JComponent)

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getPreferredSize(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent)
Returns the specified component's preferred size appropriate for the look and feel. If null is returned, the preferred size will be calculated by the component's layout manager instead (this is the preferred approach for any component with a specific layout manager installed). The default implementation of this method returns null.

Overrides:
getPreferredSize sample code for javax.swing.plaf.basic.BasicSeparatorUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSeparatorUI.getPreferredSize(javax.swing.JComponent) in class BasicSeparatorUI sample code for javax.swing.plaf.basic.BasicSeparatorUI definition code for javax.swing.plaf.basic.BasicSeparatorUI
Parameters:
c - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
JComponent.getPreferredSize() sample code for javax.swing.JComponent.getPreferredSize() definition code for javax.swing.JComponent.getPreferredSize() , LayoutManager.preferredLayoutSize(java.awt.Container) sample code for java.awt.LayoutManager.preferredLayoutSize(java.awt.Container) definition code for java.awt.LayoutManager.preferredLayoutSize(java.awt.Container)