public class BasicToolBarSeparatorUI extends BasicSeparatorUI
highlight, shadow| Constructor and Description |
|---|
BasicToolBarSeparatorUI() |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates a new UI delegate for the given JComponent.
|
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
This method returns the maximum size of the JComponent.
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
This method returns the minimum size of the JComponent.
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
This method returns the preferred size of the JComponent.
|
protected void |
installDefaults(javax.swing.JSeparator s)
This method installs the defaults that are given by the Basic L&F.
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
This method does nothing as a Separator is just blank space.
|
installListeners, installUI, uninstallDefaults, uninstallListeners, uninstallUIpublic BasicToolBarSeparatorUI()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c - The JComponent to create a delegate for.protected void installDefaults(javax.swing.JSeparator s)
installDefaults in class BasicSeparatorUIs - The Separator that is being installed.public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint in class BasicSeparatorUIg - The Graphics object to paint withc - The JComponent to paint.public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class BasicSeparatorUIc - The JComponent to measure.public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize in class BasicSeparatorUIc - The JComponent to measure.public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize in class BasicSeparatorUIc - The JComponent to measure.