javax.swing
public class CellRendererPane extends Container implements Accessible
Nested Class Summary | |
---|---|
protected class | CellRendererPane.AccessibleCellRendererPane
Provides accessibility support for CellRendererPanes. |
Field Summary | |
---|---|
protected AccessibleContext | accessibleContext
accessibleContext |
Constructor Summary | |
---|---|
CellRendererPane()
Constructs a new CellRendererPane. |
Method Summary | |
---|---|
protected void | addImpl(Component c, Object constraints, int index)
Overridden to check if a component is already a child of this Container.
|
AccessibleContext | getAccessibleContext()
getAccessibleContext TODO |
void | invalidate()
Despite normal behaviour this does not cause the container
to be invalidated. |
void | paint(Graphics graphics)
Should not be called.
|
void | paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate)
Paints the specified component c on the {@link Graphics}
context graphics . |
void | paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h)
Paints the specified component c on the {@link Graphics}
context graphics . |
void | paintComponent(Graphics graphics, Component c, Container p, Rectangle r)
Paints the specified component c on the {@link Graphics}
context g . |
void | update(Graphics graphics)
Should not be called.
|
super.addImpl()
.
Parameters: c the component to add constraints not used here index not used here
Returns: AccessibleContext
Parameters: graphics not used here
c
on the {@link Graphics}
context graphics
. The Graphics context is tranlated to
(x,y) and the components bounds are set to (w,h). If
shouldValidate
is set to true, then the component is validated before painting.
Parameters: graphics the graphics context to paint on c the component to be painted p the parent of the component x the X coordinate of the upper left corner where c should
be painted y the Y coordinate of the upper left corner where c should
be painted w the width of the components drawing area h the height of the components drawing area shouldValidate if c
should be validated before
painting
c
on the {@link Graphics}
context graphics
. The Graphics context is tranlated to (x,y)
and the components bounds are set to (w,h). The component is not
validated before painting.
Parameters: graphics the graphics context to paint on c the component to be painted p the parent of the component x the X coordinate of the upper left corner where c should be painted y the Y coordinate of the upper left corner where c should be painted w the width of the components drawing area h the height of the components drawing area
c
on the {@link Graphics}
context g
. The Graphics context is tranlated to (r.x,r.y) and
the components bounds are set to (r.width,r.height).
The component is not
validated before painting.
Parameters: graphics the graphics context to paint on c the component to be painted p the component on which we paint r the bounding rectangle of c
Parameters: graphics not used here