public class RadioButtonMenuItemPainter<E extends javax.swing.JMenuItem,U extends WebRadioButtonMenuItemUI> extends AbstractMenuItemPainter<E,U> implements IRadioButtonMenuItemPainter<E,U>
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Color |
checkColor
Style settings.
|
protected static javax.swing.ImageIcon |
radioCheckIcon |
protected static javax.swing.ImageIcon |
radioIcon
Used icons.
|
acceleratorBg, acceleratorDisabledFg, acceleratorFg, acceleratorFont, acceleratorGap, alignTextToMenuIcons, buttonModelChangeListener, disabledFg, iconAlignment, selectedBottomBg, selectedTopBgcomponent, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
RadioButtonMenuItemPainter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
paintBackground(java.awt.Graphics2D g2d,
boolean selected)
Paints menu item background.
|
protected void |
paintIcon(java.awt.Graphics2D g2d,
int x,
int y,
int w,
int h,
boolean selected)
Paints menu item icon.
|
fillCorner, getPreferredSize, getSelectedBounds, install, paint, paintAcceleratorText, paintText, setAcceleratorFont, uninstalladdPainterListener, b, borderChange, getBorders, getCompleteBorder, i, i, i, installPropertyChangeListener, isOpaque, isSectionPainter, isSettingsUpdateAllowed, orientationChange, p, propertyChange, removePainterListener, repaint, repaint, repaint, revalidate, saveOrientation, uninstallPropertyChangeListener, updateAll, updateBorder, updateOpacity, updateOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPainterListener, getBorders, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstallprotected static final javax.swing.ImageIcon radioIcon
protected static final javax.swing.ImageIcon radioCheckIcon
protected java.awt.Color checkColor
protected void paintBackground(java.awt.Graphics2D g2d,
boolean selected)
AbstractMenuItemPainterpaintBackground in class AbstractMenuItemPainter<E extends javax.swing.JMenuItem,U extends WebRadioButtonMenuItemUI>g2d - graphics contextselected - whether menu item is selected or notprotected void paintIcon(java.awt.Graphics2D g2d,
int x,
int y,
int w,
int h,
boolean selected)
AbstractMenuItemPainterpaintIcon in class AbstractMenuItemPainter<E extends javax.swing.JMenuItem,U extends WebRadioButtonMenuItemUI>g2d - graphics contextx - icon placeholder X coordinatey - icon placeholder Y coordinatew - icon placeholder widthh - icon placeholder heightselected - whether menu item is selected or not