This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing.plaf.basic
class BasicSeparatorUI

java.lang.Object extended by javax.swing.plaf.ComponentUI extended by javax.swing.plaf.SeparatorUI extended by javax.swing.plaf.basic.BasicSeparatorUI
Direct Known Subclasses:
BasicPopupMenuSeparatorUI, BasicToolBarSeparatorUI, MetalSeparatorUI

public class BasicSeparatorUI
extends SeparatorUI

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


Field Summary
protected Color highlight
          
protected Color shadow
          
 
Constructor Summary

          
 
Method Summary
static ComponentUI

          
 Dimension

          Returns the specified component's maximum size appropriate for the look and feel.
 Dimension

          Returns the specified component's minimum size appropriate for the look and feel.
 Dimension

          Returns the specified component's preferred size appropriate for the look and feel.
protected void

          
protected void

          
 void

          Configures the specified component appropriate for the look and feel.
 void

          Paints the specified component appropriate for the look and feel.
protected void

          
protected void

          
 void

          Reverses configuration which was done on the specified component during installUI.
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

highlight

protected Color highlight

shadow

protected Color shadow
Constructor Detail

BasicSeparatorUI

public BasicSeparatorUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Parameters:
c

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class ComponentUI
Parameters:
c

getMinimumSize

public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class ComponentUI
Parameters:
c

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI
Parameters:
c

installDefaults

protected void installDefaults(JSeparator s)
Parameters:
s

installListeners

protected void installListeners(JSeparator s)
Parameters:
s

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI
Parameters:
c

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class ComponentUI
Parameters:
g
c

uninstallDefaults

protected void uninstallDefaults(JSeparator s)
Parameters:
s

uninstallListeners

protected void uninstallListeners(JSeparator s)
Parameters:
s

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI
Parameters:
c


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.