javax.swing.plaf.basic
Class BasicToggleButtonUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.ButtonUI
              |
              +--javax.swing.plaf.basic.BasicButtonUI
                    |
                    +--javax.swing.plaf.basic.BasicToggleButtonUI
Direct Known Subclasses:
BasicRadioButtonUI, MetalToggleButtonUI
public class BasicToggleButtonUI
extends BasicButtonUI

BasicToggleButton implementation

 

Field Summary

 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 

 

Constructor Summary

BasicToggleButtonUI()
    
 

 

Method Summary

static ComponentUI createUI(JComponent b)
    Returns an instance of the UI delegate for the specified component.
protected  String getPropertyPrefix()
    
protected  int getTextShiftOffset()
    Overriden so that the text will not be rendered as shifted for Toggle buttons and subclasses.
 void paint(Graphics g, JComponent c)
    Paints the specified component appropriate for the look and feel.
protected  void paintIcon(Graphics g, AbstractButton b, Rectangle iconRect)
    
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus,