public final class ThemedSegmentedControlUI
extends javax.swing.plaf.PanelUI
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
protected void |
paintBackground(java.awt.Graphics2D g,
SegmentedControl c) |
protected void |
paintFocusBorder(java.awt.Graphics2D g,
SegmentedControl c)
Paint focus around the whole SegmentedControl.
|
protected void |
paintSegmentFocusBorder(java.awt.Graphics2D g,
SegmentedControl c)
Paint focus around an individual segment.
|
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class javax.swing.plaf.ComponentUI
protected void paintBackground(java.awt.Graphics2D g, SegmentedControl c)
protected void paintFocusBorder(java.awt.Graphics2D g, SegmentedControl c)
g
- c
- protected void paintSegmentFocusBorder(java.awt.Graphics2D g, SegmentedControl c)
g
- c
- public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)