java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
org.gtk.java.swing.plaf.gtk.GtkToggleButtonUI
- public class GtkToggleButtonUI
- extends javax.swing.plaf.basic.BasicToggleButtonUI
| Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, getDefaultTextIconGap, getPreferredSize, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gtkToggleButtonUI
private static final GtkToggleButtonUI gtkToggleButtonUI
selectColor
protected java.awt.Color selectColor
highlight
protected java.awt.Color highlight
defaults_initialized
private boolean defaults_initialized
GtkToggleButtonUI
public GtkToggleButtonUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
- Description copied from class:
javax.swing.plaf.basic.BasicButtonUI
- Factory method to create an instance of BasicButtonUI for a given
javax.swing.JComponent, which should be an javax.swing.AbstractButton.
createButtonListener
protected javax.swing.plaf.basic.BasicButtonListener createButtonListener(javax.swing.AbstractButton b)
- Description copied from class:
javax.swing.plaf.basic.BasicButtonUI
- Creates and returns a new instance of javax.swing.plaf.basic.BasicButtonListener. This
method provides a hook to make it easy for subclasses to install a
different listener.
installDefaults
public void installDefaults(javax.swing.AbstractButton b)
- Description copied from class:
javax.swing.plaf.basic.BasicButtonUI
- Installs the default settings.
uninstallDefaults
protected void uninstallDefaults(javax.swing.AbstractButton b)
- Description copied from class:
javax.swing.plaf.basic.BasicButtonUI
- Removes the defaults added by BasicButtonUI.installDefaults(AbstractButton)>
BasicButtonUI.installDefaults(AbstractButton) 55 .
getSelectColor
protected java.awt.Color getSelectColor()
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicToggleButtonUI
- Paint the component, which is an javax.swing.AbstractButton, according to
its current state.
paintButtonPressed
protected void paintButtonPressed(java.awt.Graphics g,
javax.swing.AbstractButton b)
- Description copied from class:
javax.swing.plaf.basic.BasicButtonUI
- Paints the background area of an javax.swing.AbstractButton in the pressed
state. This means filling the supplied area with a darker than normal
background.
fillContentArea
protected void fillContentArea(java.awt.Graphics g,
javax.swing.AbstractButton b,
java.awt.Color fillColor)