java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SeparatorUI
javax.swing.plaf.basic.BasicSeparatorUI
org.gtk.java.swing.plaf.gtk.GtkSeparatorUI
- Direct Known Subclasses:
- GtkPopupMenuSeparatorUI
- public class GtkSeparatorUI
- extends javax.swing.plaf.basic.BasicSeparatorUI
- Version:
- 1.16 08/28/98
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mediumShadow
protected static java.awt.Color mediumShadow
lightShadow
protected static java.awt.Color lightShadow
GtkSeparatorUI
public GtkSeparatorUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- Creates a new UI delegate for the given JComponent.
installUI
public void installUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- This method installs the UI for the given JComponent.
This can include installing defaults, listeners, and
initializing any instance data.
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- Uninstalls the UI for the given JComponent. This
method reverses what was done when installing
the UI on the JComponent.
installDefaults
protected void installDefaults(javax.swing.JSeparator s)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- This method installs the defaults that are given by
the Basic Look and Feel.
uninstallDefaults
protected void uninstallDefaults(javax.swing.JSeparator s)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- This method removes the defaults that were given
by the Basic Look and Feel.
installListeners
protected void installListeners(javax.swing.JSeparator s)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- This method installs any listeners that need
to be attached to the JSeparator or any of its
components.
uninstallListeners
protected void uninstallListeners(javax.swing.JSeparator s)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- This method uninstalls any listeners that
were installed during the install UI process.
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- The separator is made of two lines. The top line will be
the shadow color (or left line if it's vertical). The bottom
or right line will be the highlight color. The two lines will
be centered inside the bounds box. If the separator is horizontal,
then it will be vertically centered, or if it's vertical, it will
be horizontally centered.
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- This method returns the preferred size of the
JComponent.
getMinimumSize
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- This method returns the minimum size of the
JComponent.
getMaximumSize
public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicSeparatorUI
- This method returns the maximum size of the
JComponent.