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