APIdia Launch Partner
Top Fields Constructors Methods
javax.swing.plaf.nimbus

pack-priv final Class TabbedPaneTabPainter

extends AbstractRegionPainter
Class Inheritance
Imports
java.awt.*, java.awt.geom.*, java.awt.image.*, javax.swing.*, .Painter

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Color
private Object[]
private AbstractRegionPainter.PaintContext
private Ellipse2D
private Path2D
private Rectangle2D
private RoundRectangle2D
private int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Paint
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
private Path2D
protected void
doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys)

Implements abstract javax.swing.plaf.nimbus.AbstractRegionPainter.doPaint.

Actually performs the painting operation.

protected final AbstractRegionPainter.PaintContext
getPaintContext()

Implements abstract javax.swing.plaf.nimbus.AbstractRegionPainter.getPaintContext.

Gets the PaintContext for this painting operation.

private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
Inherited from javax.swing.plaf.nimbus.AbstractRegionPainter:
configureGraphicsdecodeAnchorXdecodeAnchorYdecodeColordecodeColordecodeGradientdecodeRadialGradientdecodeXdecodeYgetComponentColorgetExtendedCacheKeyspaint

Field Detail

BACKGROUND_DISABLEDback to summary
pack-priv static final int BACKGROUND_DISABLED
BACKGROUND_ENABLEDback to summary
pack-priv static final int BACKGROUND_ENABLED
BACKGROUND_ENABLED_MOUSEOVERback to summary
pack-priv static final int BACKGROUND_ENABLED_MOUSEOVER
BACKGROUND_ENABLED_PRESSEDback to summary
pack-priv static final int BACKGROUND_ENABLED_PRESSED
BACKGROUND_SELECTEDback to summary
pack-priv static final int BACKGROUND_SELECTED
BACKGROUND_SELECTED_DISABLEDback to summary
pack-priv static final int BACKGROUND_SELECTED_DISABLED
BACKGROUND_SELECTED_FOCUSEDback to summary
pack-priv static final int BACKGROUND_SELECTED_FOCUSED
BACKGROUND_SELECTED_MOUSEOVERback to summary
pack-priv static final int BACKGROUND_SELECTED_MOUSEOVER
BACKGROUND_SELECTED_MOUSEOVER_FOCUSEDback to summary
pack-priv static final int BACKGROUND_SELECTED_MOUSEOVER_FOCUSED
BACKGROUND_SELECTED_PRESSEDback to summary
pack-priv static final int BACKGROUND_SELECTED_PRESSED
BACKGROUND_SELECTED_PRESSED_FOCUSEDback to summary
pack-priv static final int BACKGROUND_SELECTED_PRESSED_FOCUSED
color1back to summary
private Color color1
color10back to summary
private Color color10
color11back to summary
private Color color11
color12back to summary
private Color color12
color13back to summary
private Color color13
color14back to summary
private Color color14
color15back to summary
private Color color15
color16back to summary
private Color color16
color17back to summary
private Color color17
color18back to summary
private Color color18
color19back to summary
private Color color19
color2back to summary
private Color color2
color20back to summary
private Color color20
color21back to summary
private Color color21
color22back to summary
private Color color22
color23back to summary
private Color color23
color24back to summary
private Color color24
color25back to summary
private Color color25
color26back to summary
private Color color26
color27back to summary
private Color color27
color28back to summary
private Color color28
color29back to summary
private Color color29
color3back to summary
private Color color3
color30back to summary
private Color color30
color31back to summary
private Color color31
color32back to summary
private Color color32
color33back to summary
private Color color33
color34back to summary
private Color color34
color35back to summary
private Color color35
color36back to summary
private Color color36
color37back to summary
private Color color37
color4back to summary
private Color color4
color5back to summary
private Color color5
color6back to summary
private Color color6
color7back to summary
private Color color7
color8back to summary
private Color color8
color9back to summary
private Color color9
componentColorsback to summary
private Object[] componentColors
ctxback to summary
private AbstractRegionPainter.PaintContext ctx

Hides javax.swing.plaf.nimbus.AbstractRegionPainter.ctx.

ellipseback to summary
private Ellipse2D ellipse
pathback to summary
private Path2D path
rectback to summary
private Rectangle2D rect
roundRectback to summary
private RoundRectangle2D roundRect
stateback to summary
private int state

Constructor Detail

TabbedPaneTabPainterback to summary
public TabbedPaneTabPainter(AbstractRegionPainter.PaintContext ctx, int state)

Method Detail

decodeGradient1back to summary
private Paint decodeGradient1(Shape s)
decodeGradient10back to summary
private Paint decodeGradient10(Shape s)
decodeGradient11back to summary
private Paint decodeGradient11(Shape s)
decodeGradient12back to summary
private Paint decodeGradient12(Shape s)
decodeGradient13back to summary
private Paint decodeGradient13(Shape s)
decodeGradient14back to summary
private Paint decodeGradient14(Shape s)
decodeGradient2back to summary
private Paint decodeGradient2(Shape s)
decodeGradient3back to summary
private Paint decodeGradient3(Shape s)
decodeGradient4back to summary
private Paint decodeGradient4(Shape s)
decodeGradient5back to summary
private Paint decodeGradient5(Shape s)
decodeGradient6back to summary
private Paint decodeGradient6(Shape s)
decodeGradient7back to summary
private Paint decodeGradient7(Shape s)
decodeGradient8back to summary
private Paint decodeGradient8(Shape s)
decodeGradient9back to summary
private Paint decodeGradient9(Shape s)
decodePath1back to summary
private Path2D decodePath1()
decodePath10back to summary
private Path2D decodePath10()
decodePath11back to summary
private Path2D decodePath11()
decodePath12back to summary
private Path2D decodePath12()
decodePath13back to summary
private Path2D decodePath13()
decodePath14back to summary
private Path2D decodePath14()
decodePath2back to summary
private Path2D decodePath2()
decodePath3back to summary
private Path2D decodePath3()
decodePath4back to summary
private Path2D decodePath4()
decodePath5back to summary
private Path2D decodePath5()
decodePath6back to summary
private Path2D decodePath6()
decodePath7back to summary
private Path2D decodePath7()
decodePath8back to summary
private Path2D decodePath8()
decodePath9back to summary
private Path2D decodePath9()
doPaintback to summary
protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys)

Implements abstract javax.swing.plaf.nimbus.AbstractRegionPainter.doPaint.

Doc from javax.swing.plaf.nimbus.AbstractRegionPainter.doPaint.

Actually performs the painting operation. Subclasses must implement this method. The graphics object passed may represent the actual surface being rendered to, or it may be an intermediate buffer. It has also been pre-translated. Simply render the component as if it were located at 0, 0 and had a width of width and a height of height. For performance reasons, you may want to read the clip from the Graphics2D object and only render within that space.

Annotations
@Override
getPaintContextback to summary
protected final AbstractRegionPainter.PaintContext getPaintContext()

Implements abstract javax.swing.plaf.nimbus.AbstractRegionPainter.getPaintContext.

Doc from javax.swing.plaf.nimbus.AbstractRegionPainter.getPaintContext.

Gets the PaintContext for this painting operation. This method is called on every paint, and so should be fast and produce no garbage. The PaintContext contains information such as cache hints. It also contains data necessary for decoding points at runtime, such as the stretching insets, the canvas size at which the encoded points were defined, and whether the stretching insets are inverted.

This method allows for subclasses to package the painting of different states with possibly different canvas sizes, etc, into one AbstractRegionPainter implementation.

Annotations
@Override
paintBackgroundDisabledback to summary
private void paintBackgroundDisabled(Graphics2D g)
paintBackgroundEnabledback to summary
private void paintBackgroundEnabled(Graphics2D g)
paintBackgroundEnabledAndMouseOverback to summary
private void paintBackgroundEnabledAndMouseOver(Graphics2D g)
paintBackgroundEnabledAndPressedback to summary
private void paintBackgroundEnabledAndPressed(Graphics2D g)
paintBackgroundSelectedback to summary
private void paintBackgroundSelected(Graphics2D g)
paintBackgroundSelectedAndDisabledback to summary
private void paintBackgroundSelectedAndDisabled(Graphics2D g)
paintBackgroundSelectedAndFocusedback to summary
private void paintBackgroundSelectedAndFocused(Graphics2D g)
paintBackgroundSelectedAndMouseOverback to summary
private void paintBackgroundSelectedAndMouseOver(Graphics2D g)
paintBackgroundSelectedAndMouseOverAndFocusedback to summary
private void paintBackgroundSelectedAndMouseOverAndFocused(Graphics2D g)
paintBackgroundSelectedAndPressedback to summary
private void paintBackgroundSelectedAndPressed(Graphics2D g)
paintBackgroundSelectedAndPressedAndFocusedback to summary
private void paintBackgroundSelectedAndPressedAndFocused(Graphics2D g)