Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.image |
Provides classes for creating and modifying images.
|
java.awt.print |
Provides classes and interfaces for a general printing API.
|
java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture.
|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.border |
Provides classes and interface for drawing
specialized borders around a Swing component.
|
javax.swing.colorchooser |
Contains classes and interfaces used by the
JColorChooser
component. |
javax.swing.plaf |
Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the
Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel.
|
javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is
delegated.
|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes
for creating HTML text editors. |
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
Modifier and Type | Class and Description |
---|---|
class |
Graphics2D
This
Graphics2D class extends the
Graphics class to provide more sophisticated
control over geometry, coordinate transformations, color management,
and text layout. |
Modifier and Type | Method and Description |
---|---|
abstract Graphics |
Graphics.create()
Creates a new
Graphics object that is
a copy of this Graphics object. |
Graphics |
Graphics.create(int x,
int y,
int width,
int height)
Creates a new
Graphics object based on this
Graphics object, but with a new translation and clip area. |
Graphics |
Component.FlipBufferStrategy.getDrawGraphics() |
Graphics |
Component.BltBufferStrategy.getDrawGraphics() |
abstract Graphics |
Image.getGraphics()
Creates a graphics context for drawing to an off-screen image.
|
abstract Graphics |
PrintJob.getGraphics()
Gets a Graphics object that will draw to the next page.
|
Graphics |
Component.getGraphics()
Creates a graphics context for this component.
|
Modifier and Type | Method and Description |
---|---|
LineMetrics |
FontMetrics.getLineMetrics(char[] chars,
int beginIndex,
int limit,
Graphics context)
Returns the
LineMetrics object for the specified
character array in the specified Graphics context. |
LineMetrics |
FontMetrics.getLineMetrics(CharacterIterator ci,
int beginIndex,
int limit,
Graphics context)
Returns the
LineMetrics object for the specified
CharacterIterator in the specified Graphics
context. |
LineMetrics |
FontMetrics.getLineMetrics(String str,
Graphics context)
|
LineMetrics |
FontMetrics.getLineMetrics(String str,
int beginIndex,
int limit,
Graphics context)
|
Rectangle2D |
FontMetrics.getMaxCharBounds(Graphics context)
Returns the bounds for the character with the maximum bounds
in the specified
Graphics context. |
Rectangle2D |
FontMetrics.getStringBounds(char[] chars,
int beginIndex,
int limit,
Graphics context)
Returns the bounds of the specified array of characters
in the specified
Graphics context. |
Rectangle2D |
FontMetrics.getStringBounds(CharacterIterator ci,
int beginIndex,
int limit,
Graphics context)
Returns the bounds of the characters indexed in the specified
CharacterIterator in the
specified Graphics context. |
Rectangle2D |
FontMetrics.getStringBounds(String str,
Graphics context)
Returns the bounds of the specified
String in the
specified Graphics context. |
Rectangle2D |
FontMetrics.getStringBounds(String str,
int beginIndex,
int limit,
Graphics context)
Returns the bounds of the specified
String in the
specified Graphics context. |
void |
Container.paint(Graphics g)
Paints the container.
|
void |
Canvas.paint(Graphics g)
Paints this canvas.
|
void |
Component.paint(Graphics g)
Paints this component.
|
void |
Window.paint(Graphics g)
Paints the container.
|
void |
Component.paintAll(Graphics g)
Paints this component and all of its subcomponents.
|
void |
Container.paintComponents(Graphics g)
Paints each of the components in this container.
|
void |
Container.print(Graphics g)
Prints the container.
|
void |
Component.print(Graphics g)
Prints this component.
|
void |
Component.printAll(Graphics g)
Prints this component and all of its subcomponents.
|
void |
ScrollPane.printComponents(Graphics g)
Prints the component in this scroll pane.
|
void |
Container.printComponents(Graphics g)
Prints each of the components in this container.
|
void |
Container.update(Graphics g)
Updates the container.
|
void |
Canvas.update(Graphics g)
Updates this canvas.
|
void |
Component.update(Graphics g)
Updates this component.
|
Modifier and Type | Method and Description |
---|---|
abstract Graphics |
BufferStrategy.getDrawGraphics()
Creates a graphics context for the drawing buffer.
|
Graphics |
VolatileImage.getGraphics()
This method returns a
Graphics2D , but is here
for backwards compatibility. |
Graphics |
BufferedImage.getGraphics()
This method returns a
Graphics2D , but is here
for backwards compatibility. |
Modifier and Type | Method and Description |
---|---|
int |
Printable.print(Graphics graphics,
PageFormat pageFormat,
int pageIndex)
Prints the page at the specified index into the specified
Graphics context in the specified
format. |
Modifier and Type | Method and Description |
---|---|
void |
PropertyEditorSupport.paintValue(Graphics gfx,
Rectangle box)
Paint a representation of the value into a given area of screen
real estate.
|
void |
PropertyEditor.paintValue(Graphics gfx,
Rectangle box)
Paint a representation of the value into a given area of screen
real estate.
|
Modifier and Type | Class and Description |
---|---|
class |
DebugGraphics
Graphics subclass supporting graphics debugging.
|
Modifier and Type | Method and Description |
---|---|
Graphics |
DebugGraphics.create()
Overrides
Graphics.create to return a DebugGraphics object. |
Graphics |
DebugGraphics.create(int x,
int y,
int width,
int height)
Overrides
Graphics.create to return a DebugGraphics object. |
protected Graphics |
JComponent.getComponentGraphics(Graphics g)
Returns the graphics object used to paint this component.
|
Graphics |
JComponent.getGraphics()
Returns this component's graphics context, which lets you draw
on a component.
|
Graphics |
JWindow.getGraphics()
Creates a graphics context for this component.
|
Graphics |
JDialog.getGraphics()
Creates a graphics context for this component.
|
Graphics |
JFrame.getGraphics()
Creates a graphics context for this component.
|
Graphics |
JApplet.getGraphics()
Creates a graphics context for this component.
|
Modifier and Type | Method and Description |
---|---|
protected Graphics |
JComponent.getComponentGraphics(Graphics g)
Returns the graphics object used to paint this component.
|
void |
JViewport.paint(Graphics g)
Depending on whether the
backingStore is enabled,
either paint the image through the backing store or paint
just the recently exposed part, using the backing store
to "blit" the remainder. |
void |
JComponent.paint(Graphics g)
Invoked by Swing to draw components.
|
void |
CellRendererPane.paint(Graphics g)
Shouldn't be called.
|
void |
JLayer.paint(Graphics g)
Delegates all painting to the
LayerUI object. |
void |
JLayeredPane.paint(Graphics g)
Paints this JLayeredPane within the specified graphics context.
|
protected void |
JComponent.paintBorder(Graphics g)
Paints the component's border.
|
protected void |
JMenuBar.paintBorder(Graphics g)
Paints the menubar's border if
BorderPainted
property is true. |
protected void |
AbstractButton.paintBorder(Graphics g)
Paint the button's border if
BorderPainted
property is true and the button has a border. |
protected void |
JToolBar.paintBorder(Graphics g)
Paints the tool bar's border if the
borderPainted property
is true . |
protected void |
JPopupMenu.paintBorder(Graphics g)
Paints the popup menu's border if the
borderPainted
property is true . |
protected void |
JProgressBar.paintBorder(Graphics g)
Paints the progress bar's border if the
borderPainted
property is true . |
protected void |
JSplitPane.paintChildren(Graphics g)
Subclassed to message the UI with
finishedPaintingChildren
after super has been messaged, as well as painting the border. |
protected void |
JComponent.paintChildren(Graphics g)
Paints this component's children.
|
protected void |
JComponent.paintComponent(Graphics g)
Calls the UI delegate's paint method, if the UI delegate
is non-
null . |
protected void |
JLayer.paintComponent(Graphics g)
This method is empty, because all painting is done by
JLayer.paint(Graphics) and
ComponentUI.update(Graphics, JComponent) methods |
protected void |
JInternalFrame.paintComponent(Graphics g)
Overridden to allow optimized painting when the
internal frame is being dragged.
|
protected void |
Box.paintComponent(Graphics g)
Paints this
Box . |
protected void |
Box.Filler.paintComponent(Graphics g)
Paints this
Filler . |
static void |
SwingUtilities.paintComponent(Graphics g,
Component c,
Container p,
int x,
int y,
int w,
int h)
Paints a component to the specified
Graphics . |
void |
CellRendererPane.paintComponent(Graphics g,
Component c,
Container p,
int x,
int y,
int w,
int h)
Calls this.paintComponent(g, c, p, x, y, w, h, false).
|
void |
CellRendererPane.paintComponent(Graphics g,
Component c,
Container p,
int x,
int y,
int w,
int h,
boolean shouldValidate)
Paint a cell renderer component c on graphics object g.
|
static void |
SwingUtilities.paintComponent(Graphics g,
Component c,
Container p,
Rectangle r)
Paints a component to the specified
Graphics . |
void |
CellRendererPane.paintComponent(Graphics g,
Component c,
Container p,
Rectangle r)
Calls this.paintComponent() with the rectangles x,y,width,height fields.
|
void |
ImageIcon.paintIcon(Component c,
Graphics g,
int x,
int y)
Paints the icon.
|
void |
Icon.paintIcon(Component c,
Graphics g,
int x,
int y)
Draw the icon at the specified location.
|
void |
JComponent.print(Graphics g)
Invoke this method to print the component to the specified
Graphics . |
void |
JComponent.printAll(Graphics g)
Invoke this method to print the component.
|
protected void |
JComponent.printBorder(Graphics g)
Prints the component's border.
|
protected void |
JComponent.printChildren(Graphics g)
Prints this component's children.
|
protected void |
JComponent.printComponent(Graphics g)
This is invoked during a printing operation.
|
void |
JComponent.update(Graphics g)
Calls
paint . |
void |
CellRendererPane.update(Graphics g)
Shouldn't be called.
|
void |
JWindow.update(Graphics g)
Calls
paint(g) . |
void |
JDialog.update(Graphics g)
Calls
paint(g) . |
void |
JFrame.update(Graphics g)
Just calls
paint(g) . |
void |
JApplet.update(Graphics g)
Just calls
paint(g) . |
Constructor and Description |
---|
DebugGraphics(Graphics graphics)
Constructs a debug graphics context from an existing graphics
context that supports slowed down drawing.
|
DebugGraphics(Graphics graphics,
JComponent component)
Constructs a debug graphics context from an existing graphics
context that slows down drawing for the specified component.
|
Modifier and Type | Method and Description |
---|---|
void |
MatteBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the matte border.
|
void |
CompoundBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the compound border by painting the outside border
with the specified position and size and then painting the
inside border at the specified position and size offset by
the insets of the outside border.
|
void |
Border.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the specified
position and size.
|
void |
AbstractBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
This default implementation does no painting.
|
void |
StrokeBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component
with the specified position and size.
|
void |
TitledBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the
specified position and size.
|
void |
EtchedBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the
specified position and size.
|
void |
SoftBevelBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the specified
position and size.
|
void |
LineBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the
specified position and size.
|
void |
BevelBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the specified
position and size.
|
void |
EmptyBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Does no drawing by default.
|
protected void |
BevelBorder.paintLoweredBevel(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
protected void |
BevelBorder.paintRaisedBevel(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractColorChooserPanel.paint(Graphics g)
Draws the panel.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SplitPaneUI.finishedPaintingChildren(JSplitPane jc,
Graphics g)
Messaged after the JSplitPane the receiver is providing the look
and feel for paints its children.
|
void |
LayerUI.paint(Graphics g,
JComponent c)
Paints the specified component.
|
void |
ComponentUI.paint(Graphics g,
JComponent c)
Paints the specified component appropriately for the look and feel.
|
void |
BorderUIResource.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
IconUIResource.paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
ComponentUI.update(Graphics g,
JComponent c)
Notifies this UI delegate that it is time to paint the specified
component.
|
Modifier and Type | Method and Description |
---|---|
static void |
BasicGraphicsUtils.drawBezel(Graphics g,
int x,
int y,
int w,
int h,
boolean isPressed,
boolean isDefault,
Color shadow,
Color darkShadow,
Color highlight,
Color lightHighlight) |
protected void |
BasicTreeUI.drawCentered(Component c,
Graphics graphics,
Icon icon,
int x,
int y) |
protected void |
BasicTreeUI.drawDashedHorizontalLine(Graphics g,
int y,
int x1,
int x2) |
static void |
BasicGraphicsUtils.drawDashedRect(Graphics g,
int x,
int y,
int width,
int height) |
protected void |
BasicTreeUI.drawDashedVerticalLine(Graphics g,
int x,
int y1,
int y2) |
static void |
BasicGraphicsUtils.drawEtchedRect(Graphics g,
int x,
int y,
int w,
int h,
Color shadow,
Color darkShadow,
Color highlight,
Color lightHighlight) |
static void |
BasicGraphicsUtils.drawGroove(Graphics g,
int x,
int y,
int w,
int h,
Color shadow,
Color highlight) |
static void |
BasicGraphicsUtils.drawLoweredBezel(Graphics g,
int x,
int y,
int w,
int h,
Color shadow,
Color darkShadow,
Color highlight,
Color lightHighlight) |
static void |
BasicGraphicsUtils.drawString(Graphics g,
String text,
int underlinedChar,
int x,
int y)
Draw a string with the graphics
g at location (x,y)
just like g.drawString would. |
static void |
BasicGraphicsUtils.drawStringUnderlineCharAt(Graphics g,
String text,
int underlinedIndex,
int x,
int y)
Draw a string with the graphics
g at location
(x , y )
just like g.drawString would. |
void |
BasicSplitPaneUI.finishedPaintingChildren(JSplitPane sp,
Graphics g)
Called when the specified split pane has finished painting
its children.
|
protected Point |
BasicProgressBarUI.getStringPlacement(Graphics g,
String progressString,
int x,
int y,
int width,
int height)
Designate the place where the progress string will be painted.
|
void |
BasicSplitPaneDivider.paint(Graphics g)
Paints the divider.
|
void |
BasicToolBarUI.DragWindow.paint(Graphics g) |
void |
BasicInternalFrameTitlePane.SystemMenuBar.paint(Graphics g) |
void |
BasicArrowButton.paint(Graphics g) |
void |
BasicTextUI.paint(Graphics g,
JComponent c)
Paints the interface.
|
void |
BasicScrollPaneUI.paint(Graphics g,
JComponent c) |
void |
BasicToolTipUI.paint(Graphics g,
JComponent c) |
void |
BasicTableUI.paint(Graphics g,
JComponent c)
Paint a representation of the
table instance
that was set in installUI(). |
void |
BasicSliderUI.paint(Graphics g,
JComponent c) |
void |
BasicTreeUI.paint(Graphics g,
JComponent c) |
void |
BasicPopupMenuSeparatorUI.paint(Graphics g,
JComponent c) |
void |
BasicLabelUI.paint(Graphics g,
JComponent c)
Paints the label text with the foreground color, if the label is opaque
then paints the entire background with the background color.
|
void |
BasicTableHeaderUI.paint(Graphics g,
JComponent c) |
void |
BasicButtonUI.paint(Graphics g,
JComponent c) |
void |
BasicRadioButtonUI.paint(Graphics g,
JComponent c)
paint the radio button
|
void |
BasicToggleButtonUI.paint(Graphics g,
JComponent c) |
void |
BasicToolBarSeparatorUI.paint(Graphics g,
JComponent c) |
void |
BasicComboBoxUI.paint(Graphics g,
JComponent c) |
void |
BasicScrollBarUI.paint(Graphics g,
JComponent c) |
void |
BasicMenuItemUI.paint(Graphics g,
JComponent c) |
void |
BasicSeparatorUI.paint(Graphics g,
JComponent c) |
void |
BasicDesktopPaneUI.paint(Graphics g,
JComponent c) |
void |
BasicProgressBarUI.paint(Graphics g,
JComponent c)
Delegates painting to one of two methods:
paintDeterminate or paintIndeterminate.
|
void |
BasicSplitPaneUI.paint(Graphics g,
JComponent jc) |
void |
BasicListUI.paint(Graphics g,
JComponent c)
Paint the rows that intersect the Graphics objects clipRect.
|
void |
BasicTabbedPaneUI.paint(Graphics g,
JComponent c) |
protected void |
BasicTextUI.paintBackground(Graphics g)
Paints a background for the view.
|
protected void |
BasicMenuItemUI.paintBackground(Graphics g,
JMenuItem menuItem,
Color bgColor)
Draws the background of the menu item.
|
void |
BasicBorders.RolloverButtonBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
BasicBorders.ButtonBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
BasicBorders.ToggleButtonBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
BasicBorders.RadioButtonBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
BasicBorders.MenuBarBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
BasicBorders.FieldBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
BasicBorders.SplitPaneBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
protected void |
BasicButtonUI.paintButtonPressed(Graphics g,
AbstractButton b) |
protected void |
BasicListUI.paintCell(Graphics g,
int row,
Rectangle rowBounds,
ListCellRenderer cellRenderer,
ListModel dataModel,
ListSelectionModel selModel,
int leadIndex)
Paint one List cell: compute the relevant state, get the "rubber stamp"
cell renderer component, and then use the CellRendererPane to paint it.
|
void |
BasicInternalFrameTitlePane.paintComponent(Graphics g) |
protected void |
BasicTabbedPaneUI.paintContentBorder(Graphics g,
int tabPlacement,
int selectedIndex) |
protected void |
BasicTabbedPaneUI.paintContentBorderBottomEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
BasicTabbedPaneUI.paintContentBorderLeftEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
BasicTabbedPaneUI.paintContentBorderRightEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
BasicTabbedPaneUI.paintContentBorderTopEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
void |
BasicComboBoxUI.paintCurrentValue(Graphics g,
Rectangle bounds,
boolean hasFocus)
Paints the currently selected item.
|
void |
BasicComboBoxUI.paintCurrentValueBackground(Graphics g,
Rectangle bounds,
boolean hasFocus)
Paints the background of the currently selected item.
|
protected void |
BasicScrollBarUI.paintDecreaseHighlight(Graphics g) |
protected void |
BasicProgressBarUI.paintDeterminate(Graphics g,
JComponent c)
All purpose paint method that should do the right thing for almost
all linear, determinate progress bars.
|
protected void |
BasicLabelUI.paintDisabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Paint clippedText at textX, textY with background.lighter() and then
shifted down and to the right by one pixel with background.darker().
|
protected void |
BasicToolBarUI.paintDragWindow(Graphics g)
Paints the contents of the window used for dragging.
|
protected void |
BasicTreeUI.paintDropLine(Graphics g)
Paints the drop line.
|
protected void |
BasicLabelUI.paintEnabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Paint clippedText at textX, textY with the labels foreground color.
|
protected void |
BasicTreeUI.paintExpandControl(Graphics g,
Rectangle clipBounds,
Insets insets,
Rectangle bounds,
TreePath path,
int row,
boolean isExpanded,
boolean hasBeenExpanded,
boolean isLeaf)
Paints the expand (toggle) part of a row.
|
void |
BasicSliderUI.paintFocus(Graphics g) |
protected void |
BasicButtonUI.paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect) |
protected void |
BasicRadioButtonUI.paintFocus(Graphics g,
Rectangle textRect,
Dimension size)
Paints focused radio button.
|
protected void |
BasicTabbedPaneUI.paintFocusIndicator(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected) |
protected void |
BasicSliderUI.paintHorizontalLabel(Graphics g,
int value,
Component label)
Called for every label in the label table.
|
protected void |
BasicTreeUI.paintHorizontalLine(Graphics g,
JComponent c,
int y,
int left,
int right)
Paints a horizontal line.
|
protected void |
BasicTreeUI.paintHorizontalPartOfLeg(Graphics g,
Rectangle clipBounds,
Insets insets,
Rectangle bounds,
TreePath path,
int row,
boolean isExpanded,
boolean hasBeenExpanded,
boolean isLeaf)
Paints the horizontal part of the leg.
|
protected void |
BasicToggleButtonUI.paintIcon(Graphics g,
AbstractButton b,
Rectangle iconRect) |
protected void |
BasicTabbedPaneUI.paintIcon(Graphics g,
int tabPlacement,
int tabIndex,
Icon icon,
Rectangle iconRect,
boolean isSelected) |
protected void |
BasicButtonUI.paintIcon(Graphics g,
JComponent c,
Rectangle iconRect) |
protected void |
BasicScrollBarUI.paintIncreaseHighlight(Graphics g) |
protected void |
BasicProgressBarUI.paintIndeterminate(Graphics g,
JComponent c)
All purpose paint method that should do the right thing for all
linear bouncing-box progress bars.
|
void |
BasicSliderUI.paintLabels(Graphics g) |
protected void |
BasicSliderUI.paintMajorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x) |
protected void |
BasicSliderUI.paintMajorTickForVertSlider(Graphics g,
Rectangle tickBounds,
int y) |
protected void |
BasicMenuItemUI.paintMenuItem(Graphics g,
JComponent c,
Icon checkIcon,
Icon arrowIcon,
Color background,
Color foreground,
int defaultTextIconGap) |
protected void |
BasicSliderUI.paintMinorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x) |
protected void |
BasicSliderUI.paintMinorTickForVertSlider(Graphics g,
Rectangle tickBounds,
int y) |
protected void |
BasicTreeUI.paintRow(Graphics g,
Rectangle clipBounds,
Insets insets,
Rectangle bounds,
TreePath path,
int row,
boolean isExpanded,
boolean hasBeenExpanded,
boolean isLeaf)
Paints the renderer part of a row.
|
protected void |
BasicTextUI.paintSafely(Graphics g)
Paints the interface safely with a guarantee that
the model won't change from the view of this thread.
|
protected void |
BasicProgressBarUI.paintString(Graphics g,
int x,
int y,
int width,
int height,
int amountFull,
Insets b) |
protected void |
BasicTabbedPaneUI.paintTab(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect) |
protected void |
BasicTabbedPaneUI.paintTabArea(Graphics g,
int tabPlacement,
int selectedIndex)
Paints the tabs in the tab area.
|
protected void |
BasicTabbedPaneUI.paintTabBackground(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected) |
protected void |
BasicTabbedPaneUI.paintTabBorder(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
this function draws the border around each tab
note that this function does now draw the background of the tab.
|
protected void |
BasicButtonUI.paintText(Graphics g,
AbstractButton b,
Rectangle textRect,
String text)
Method which renders the text of the current button.
|
protected void |
BasicTabbedPaneUI.paintText(Graphics g,
int tabPlacement,
Font font,
FontMetrics metrics,
int tabIndex,
String title,
Rectangle textRect,
boolean isSelected) |
protected void |
BasicButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
As of Java 2 platform v 1.4 this method should not be used or overriden.
|
protected void |
BasicMenuItemUI.paintText(Graphics g,
JMenuItem menuItem,
Rectangle textRect,
String text)
Renders the text of the current menu item.
|
void |
BasicSliderUI.paintThumb(Graphics g) |
protected void |
BasicScrollBarUI.paintThumb(Graphics g,
JComponent c,
Rectangle thumbBounds) |
void |
BasicSliderUI.paintTicks(Graphics g) |
protected void |
BasicInternalFrameTitlePane.paintTitleBackground(Graphics g)
Invoked from paintComponent.
|
void |
BasicSliderUI.paintTrack(Graphics g) |
protected void |
BasicScrollBarUI.paintTrack(Graphics g,
JComponent c,
Rectangle trackBounds) |
void |
BasicArrowButton.paintTriangle(Graphics g,
int x,
int y,
int size,
int direction,
boolean isEnabled)
Paints a triangle.
|
protected void |
BasicSliderUI.paintVerticalLabel(Graphics g,
int value,
Component label)
Called for every label in the label table.
|
protected void |
BasicTreeUI.paintVerticalLine(Graphics g,
JComponent c,
int x,
int top,
int bottom)
Paints a vertical line.
|
protected void |
BasicTreeUI.paintVerticalPartOfLeg(Graphics g,
Rectangle clipBounds,
Insets insets,
TreePath path)
Paints the vertical part of the leg.
|
void |
BasicTextUI.update(Graphics g,
JComponent c)
Superclass paints background in an uncontrollable way
(i.e.
|
void |
BasicMenuItemUI.update(Graphics g,
JComponent c)
We draw the background in paintMenuItem()
so override update (which fills the background of opaque
components by default) to just call paint().
|
Modifier and Type | Method and Description |
---|---|
protected void |
MetalCheckBoxIcon.drawCheck(Component c,
Graphics g,
int x,
int y) |
void |
MetalScrollButton.paint(Graphics g) |
void |
MetalRadioButtonUI.paint(Graphics g,
JComponent c) |
void |
MetalToolTipUI.paint(Graphics g,
JComponent c) |
void |
MetalTabbedPaneUI.paint(Graphics g,
JComponent c) |
void |
MetalComboBoxUI.paint(Graphics g,
JComponent c) |
void |
MetalTreeUI.paint(Graphics g,
JComponent c) |
void |
MetalSeparatorUI.paint(Graphics g,
JComponent c) |
void |
MetalPopupMenuSeparatorUI.paint(Graphics g,
JComponent c) |
void |
MetalBorders.Flush3DBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.ButtonBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.InternalFrameBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.PaletteBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.OptionDialogBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.MenuBarBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.MenuItemBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.PopupMenuBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.RolloverButtonBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.ToolBarBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.TextFieldBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.ScrollPaneBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.ToggleButtonBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
MetalBorders.TableHeaderBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
protected void |
MetalTabbedPaneUI.paintBottomTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected) |
protected void |
MetalToggleButtonUI.paintButtonPressed(Graphics g,
AbstractButton b) |
protected void |
MetalButtonUI.paintButtonPressed(Graphics g,
AbstractButton b) |
void |
MetalComboBoxButton.paintComponent(Graphics g) |
void |
MetalInternalFrameTitlePane.paintComponent(Graphics g) |
protected void |
MetalTabbedPaneUI.paintContentBorderBottomEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
MetalTabbedPaneUI.paintContentBorderLeftEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
MetalTabbedPaneUI.paintContentBorderRightEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
MetalTabbedPaneUI.paintContentBorderTopEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
void |
MetalComboBoxUI.paintCurrentValue(Graphics g,
Rectangle bounds,
boolean hasFocus)
If necessary paints the currently selected item.
|
void |
MetalComboBoxUI.paintCurrentValueBackground(Graphics g,
Rectangle bounds,
boolean hasFocus)
If necessary paints the background of the currently selected item.
|
void |
MetalProgressBarUI.paintDeterminate(Graphics g,
JComponent c)
Draws a bit of special highlighting on the progress bar.
|
protected void |
MetalLabelUI.paintDisabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Just paint the text gray (Label.disabledForeground) rather than
in the labels foreground color.
|
void |
MetalSliderUI.paintFocus(Graphics g) |
protected void |
MetalToggleButtonUI.paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect) |
protected void |
MetalButtonUI.paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect) |
protected void |
MetalRadioButtonUI.paintFocus(Graphics g,
Rectangle t,
Dimension d) |
protected void |
MetalTabbedPaneUI.paintFocusIndicator(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected) |
protected void |
MetalTreeUI.paintHorizontalPartOfLeg(Graphics g,
Rectangle clipBounds,
Insets insets,
Rectangle bounds,
TreePath path,
int row,
boolean isExpanded,
boolean hasBeenExpanded,
boolean isLeaf) |
protected void |
MetalTreeUI.paintHorizontalSeparators(Graphics g,
JComponent c) |
void |
MetalIconFactory.PaletteCloseIcon.paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
MetalIconFactory.FolderIcon16.paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
MetalIconFactory.FileIcon16.paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
MetalIconFactory.TreeControlIcon.paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
MetalCheckBoxIcon.paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
MetalComboBoxIcon.paintIcon(Component c,
Graphics g,
int x,
int y)
Paints the horizontal bars for the
|
protected void |
MetalToggleButtonUI.paintIcon(Graphics g,
AbstractButton b,
Rectangle iconRect)
Paints the appropriate icon of the button
b in the
space iconRect . |
void |
MetalProgressBarUI.paintIndeterminate(Graphics g,
JComponent c)
Draws a bit of special highlighting on the progress bar
and bouncing box.
|
protected void |
MetalTabbedPaneUI.paintLeftTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected) |
protected void |
MetalSliderUI.paintMajorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x) |
protected void |
MetalSliderUI.paintMajorTickForVertSlider(Graphics g,
Rectangle tickBounds,
int y) |
void |
MetalIconFactory.TreeControlIcon.paintMe(Component c,
Graphics g,
int x,
int y) |
protected void |
MetalSliderUI.paintMinorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x) |
protected void |
MetalSliderUI.paintMinorTickForVertSlider(Graphics g,
Rectangle tickBounds,
int y) |
void |
MetalInternalFrameTitlePane.paintPalette(Graphics g) |
protected void |
MetalTabbedPaneUI.paintRightTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected) |
protected void |
MetalTabbedPaneUI.paintTabBackground(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected) |
protected void |
MetalTabbedPaneUI.paintTabBorder(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected) |
protected void |
MetalToggleButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text) |
protected void |
MetalButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text) |
void |
MetalSliderUI.paintThumb(Graphics g) |
protected void |
MetalScrollBarUI.paintThumb(Graphics g,
JComponent c,
Rectangle thumbBounds) |
protected void |
MetalTabbedPaneUI.paintTopTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected) |
void |
MetalSliderUI.paintTrack(Graphics g) |
protected void |
MetalScrollBarUI.paintTrack(Graphics g,
JComponent c,
Rectangle trackBounds) |
protected void |
MetalTreeUI.paintVerticalPartOfLeg(Graphics g,
Rectangle clipBounds,
Insets insets,
TreePath path) |
void |
MetalTabbedPaneUI.update(Graphics g,
JComponent c) |
void |
MetalToggleButtonUI.update(Graphics g,
JComponent c)
If necessary paints the background of the component, then invokes
paint . |
void |
MetalButtonUI.update(Graphics g,
JComponent c)
If necessary paints the background of the component, then
invokes
paint . |
void |
MetalMenuBarUI.update(Graphics g,
JComponent c)
If necessary paints the background of the component, then
invokes
paint . |
void |
MetalToolBarUI.update(Graphics g,
JComponent c)
If necessary paints the background of the component, then invokes
paint . |
Modifier and Type | Method and Description |
---|---|
void |
MultiSplitPaneUI.finishedPaintingChildren(JSplitPane a,
Graphics b)
Invokes the
finishedPaintingChildren method on each UI handled by this object. |
void |
MultiSliderUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiTableUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiDesktopPaneUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiTableHeaderUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiSpinnerUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiFileChooserUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiOptionPaneUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiViewportUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiListUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiDesktopIconUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiButtonUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiToolBarUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiColorChooserUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiInternalFrameUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiToolTipUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiTabbedPaneUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiMenuBarUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiTreeUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiPanelUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiPopupMenuUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiScrollBarUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiScrollPaneUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiRootPaneUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiSplitPaneUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiProgressBarUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiSeparatorUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiComboBoxUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiTextUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiLabelUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiMenuItemUI.paint(Graphics a,
JComponent b)
Invokes the
paint method on each UI handled by this object. |
void |
MultiSliderUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiTableUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiDesktopPaneUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiTableHeaderUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiSpinnerUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiFileChooserUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiOptionPaneUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiViewportUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiListUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiDesktopIconUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiButtonUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiToolBarUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiColorChooserUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiInternalFrameUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiToolTipUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiTabbedPaneUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiMenuBarUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiTreeUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiPanelUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiPopupMenuUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiScrollBarUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiScrollPaneUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiRootPaneUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiSplitPaneUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiProgressBarUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiSeparatorUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiComboBoxUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiTextUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiLabelUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
void |
MultiMenuItemUI.update(Graphics a,
JComponent b)
Invokes the
update method on each UI handled by this object. |
Modifier and Type | Method and Description |
---|---|
protected void |
SynthTreeUI.drawCentered(Component c,
Graphics graphics,
Icon icon,
int x,
int y) |
void |
SynthGraphicsUtils.drawLine(SynthContext context,
Object paintKey,
Graphics g,
int x1,
int y1,
int x2,
int y2)
Draws a line between the two end points.
|
void |
SynthGraphicsUtils.drawLine(SynthContext context,
Object paintKey,
Graphics g,
int x1,
int y1,
int x2,
int y2,
Object styleKey)
Draws a line between the two end points.
|
void |
SynthSplitPaneUI.finishedPaintingChildren(JSplitPane jc,
Graphics g) |
void |
SynthSplitPaneUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthTabbedPaneUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthToolBarUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthScrollPaneUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthViewportUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthLabelUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthToolTipUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthOptionPaneUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthTableHeaderUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthSpinnerUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthSliderUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthMenuUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthComboBoxUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthTreeUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthProgressBarUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthDesktopPaneUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthSeparatorUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthDesktopIconUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthScrollBarUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthColorChooserUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthTableUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthButtonUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthInternalFrameUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthPanelUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthRootPaneUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthMenuItemUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthPopupMenuUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
void |
SynthMenuBarUI.paint(Graphics g,
JComponent c)
Paints the specified component according to the Look and Feel.
|
protected void |
SynthSplitPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTabbedPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthEditorPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthToolBarUI.paint(SynthContext context,
Graphics g)
Paints the toolbar.
|
protected void |
SynthScrollPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthViewportUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthLabelUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthToolTipUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthOptionPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTableHeaderUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthSpinnerUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthSliderUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthMenuUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTextFieldUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthComboBoxUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTreeUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthProgressBarUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthDesktopPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthSeparatorUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthDesktopIconUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTextAreaUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthScrollBarUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthColorChooserUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTableUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthButtonUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthInternalFrameUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthPanelUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthRootPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthMenuItemUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthPopupMenuUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthMenuBarUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
void |
SynthPainter.paintArrowButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an arrow button.
|
void |
SynthPainter.paintArrowButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an arrow button.
|
void |
SynthPainter.paintArrowButtonForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int direction)
Paints the foreground of an arrow button.
|
protected void |
SynthEditorPaneUI.paintBackground(Graphics g) |
protected void |
SynthTextFieldUI.paintBackground(Graphics g) |
protected void |
SynthTextAreaUI.paintBackground(Graphics g) |
void |
SynthTextPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthSplitPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthTabbedPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthEditorPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthToolBarUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthRadioButtonUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthScrollPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthViewportUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthLabelUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthToolTipUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthOptionPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthTableHeaderUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthSpinnerUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthSliderUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthPasswordFieldUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthCheckBoxMenuItemUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthMenuUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthTextFieldUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthComboBoxUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthTreeUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthProgressBarUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthDesktopPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthSeparatorUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthDesktopIconUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthListUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthTextAreaUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthFormattedTextFieldUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthToggleButtonUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthScrollBarUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthColorChooserUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthTableUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthCheckBoxUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthButtonUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthInternalFrameUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthPanelUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthRadioButtonMenuItemUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthRootPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthMenuItemUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthPopupMenuUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthMenuBarUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h) |
void |
SynthPainter.paintButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a button.
|
void |
SynthPainter.paintButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a button.
|
void |
SynthPainter.paintCheckBoxBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a check box.
|
void |
SynthPainter.paintCheckBoxBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a check box.
|
void |
SynthPainter.paintCheckBoxMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a check box menu item.
|
void |
SynthPainter.paintCheckBoxMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a check box menu item.
|
void |
SynthPainter.paintColorChooserBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a color chooser.
|
void |
SynthPainter.paintColorChooserBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a color chooser.
|
void |
SynthPainter.paintComboBoxBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a combo box.
|
void |
SynthPainter.paintComboBoxBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a combo box.
|
protected void |
SynthToolBarUI.paintContent(SynthContext context,
Graphics g,
Rectangle bounds)
Paints the toolbar content.
|
void |
SynthComboBoxUI.paintCurrentValue(Graphics g,
Rectangle bounds,
boolean hasFocus)
Paints the currently selected item.
|
void |
SynthPainter.paintDesktopIconBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a desktop icon.
|
void |
SynthPainter.paintDesktopIconBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a desktop icon.
|
void |
SynthPainter.paintDesktopPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a desktop pane.
|
void |
SynthPainter.paintDesktopPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a desktop pane.
|
protected void |
SynthToolBarUI.paintDragWindow(Graphics g) |
protected void |
SynthTreeUI.paintDropLine(Graphics g) |
void |
SynthPainter.paintEditorPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an editor pane.
|
void |
SynthPainter.paintEditorPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an editor pane.
|
protected void |
SynthTreeUI.paintExpandControl(Graphics g,
Rectangle clipBounds,
Insets insets,
Rectangle bounds,
TreePath path,
int row,
boolean isExpanded,
boolean hasBeenExpanded,
boolean isLeaf) |
void |
SynthPainter.paintFileChooserBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a file chooser.
|
void |
SynthPainter.paintFileChooserBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a file chooser.
|
void |
SynthPainter.paintFormattedTextFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a formatted text field.
|
void |
SynthPainter.paintFormattedTextFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a formatted text field.
|
protected void |
SynthTreeUI.paintHorizontalLine(Graphics g,
JComponent c,
int y,
int left,
int right) |
protected void |
SynthTreeUI.paintHorizontalPartOfLeg(Graphics g,
Rectangle clipBounds,
Insets insets,
Rectangle bounds,
TreePath path,
int row,
boolean isExpanded,
boolean hasBeenExpanded,
boolean isLeaf) |
void |
SynthPainter.paintInternalFrameBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an internal frame.
|
void |
SynthPainter.paintInternalFrameBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an internal frame.
|
void |
SynthPainter.paintInternalFrameTitlePaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an internal frame title pane.
|
void |
SynthPainter.paintInternalFrameTitlePaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an internal frame title pane.
|
void |
SynthPainter.paintLabelBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a label.
|
void |
SynthPainter.paintLabelBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a label.
|
void |
SynthPainter.paintListBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a list.
|
void |
SynthPainter.paintListBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a list.
|
void |
SynthPainter.paintMenuBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a menu.
|
void |
SynthPainter.paintMenuBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a menu bar.
|
void |
SynthPainter.paintMenuBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a menu bar.
|
void |
SynthPainter.paintMenuBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a menu.
|
void |
SynthPainter.paintMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a menu item.
|
void |
SynthPainter.paintMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a menu item.
|
void |
SynthPainter.paintOptionPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an option pane.
|
void |
SynthPainter.paintOptionPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an option pane.
|
void |
SynthPainter.paintPanelBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a panel.
|
void |
SynthPainter.paintPanelBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a panel.
|
void |
SynthPainter.paintPasswordFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a password field.
|
void |
SynthPainter.paintPasswordFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a password field.
|
void |
SynthPainter.paintPopupMenuBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a popup menu.
|
void |
SynthPainter.paintPopupMenuBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a popup menu.
|
void |
SynthPainter.paintProgressBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a progress bar.
|
void |
SynthPainter.paintProgressBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a progress bar.
|
void |
SynthPainter.paintProgressBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a progress bar.
|
void |
SynthPainter.paintProgressBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a progress bar.
|
void |
SynthPainter.paintProgressBarForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the foreground of a progress bar.
|
void |
SynthPainter.paintRadioButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a radio button.
|
void |
SynthPainter.paintRadioButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a radio button.
|
void |
SynthPainter.paintRadioButtonMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a radio button menu item.
|
void |
SynthPainter.paintRadioButtonMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a radio button menu item.
|
void |
SynthPainter.paintRootPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a root pane.
|
void |
SynthPainter.paintRootPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a root pane.
|
void |
SynthPainter.paintScrollBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a scrollbar.
|
void |
SynthPainter.paintScrollBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a scrollbar.
|
void |
SynthPainter.paintScrollBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a scrollbar.
|
void |
SynthPainter.paintScrollBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a scrollbar.
|
void |
SynthPainter.paintScrollBarThumbBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the thumb of a scrollbar.
|
void |
SynthPainter.paintScrollBarThumbBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the thumb of a scrollbar.
|
void |
SynthPainter.paintScrollBarTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the track of a scrollbar.
|
void |
SynthPainter.paintScrollBarTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the track of a scrollbar.
|
void |
SynthPainter.paintScrollBarTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the track of a scrollbar.
|
void |
SynthPainter.paintScrollBarTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the track of a scrollbar.
|
void |
SynthPainter.paintScrollPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a scroll pane.
|
void |
SynthPainter.paintScrollPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a scroll pane.
|
void |
SynthPainter.paintSeparatorBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a separator.
|
void |
SynthPainter.paintSeparatorBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a separator.
|
void |
SynthPainter.paintSeparatorBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a separator.
|
void |
SynthPainter.paintSeparatorBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a separator.
|
void |
SynthPainter.paintSeparatorForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the foreground of a separator.
|
void |
SynthPainter.paintSliderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a slider.
|
void |
SynthPainter.paintSliderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a slider.
|
void |
SynthPainter.paintSliderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a slider.
|
void |
SynthPainter.paintSliderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a slider.
|
void |
SynthPainter.paintSliderThumbBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the thumb of a slider.
|
void |
SynthPainter.paintSliderThumbBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the thumb of a slider.
|
void |
SynthPainter.paintSliderTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the track of a slider.
|
void |
SynthPainter.paintSliderTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the track of a slider.
|
void |
SynthPainter.paintSliderTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the track of a slider.
|
void |
SynthPainter.paintSliderTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the track of a slider.
|
void |
SynthPainter.paintSpinnerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a spinner.
|
void |
SynthPainter.paintSpinnerBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a spinner.
|
void |
SynthPainter.paintSplitPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a split pane.
|
void |
SynthPainter.paintSplitPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a split pane.
|
void |
SynthPainter.paintSplitPaneDividerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the divider of a split pane.
|
void |
SynthPainter.paintSplitPaneDividerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the divider of a split pane.
|
void |
SynthPainter.paintSplitPaneDividerForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the foreground of the divider of a split pane.
|
void |
SynthPainter.paintSplitPaneDragDivider(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the divider, when the user is dragging the divider, of a
split pane.
|
protected void |
SynthTabbedPaneUI.paintTabArea(Graphics g,
int tabPlacement,
int selectedIndex) |
void |
SynthPainter.paintTabbedPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the area that contains the content of the
selected tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the area that contains the content of the
selected tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the area behind the tabs of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the area behind the tabs of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the area behind the tabs of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the area behind the tabs of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex)
Paints the background of a tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex,
int orientation)
Paints the background of a tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex)
Paints the border of a tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex,
int orientation)
Paints the border of a tab of a tabbed pane.
|
void |
SynthPainter.paintTableBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a table.
|
void |
SynthPainter.paintTableBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a table.
|
void |
SynthPainter.paintTableHeaderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the header of a table.
|
void |
SynthPainter.paintTableHeaderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the header of a table.
|
protected void |
SynthProgressBarUI.paintText(SynthContext context,
Graphics g,
String title)
Paints the component's text.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex,
int textOffset)
Paints an icon and text.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
int x,
int y,
int mnemonicIndex)
Paints text at the specified location.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
Rectangle bounds,
int mnemonicIndex)
Paints text at the specified location.
|
void |
SynthPainter.paintTextAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a text area.
|
void |
SynthPainter.paintTextAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a text area.
|
void |
SynthPainter.paintTextFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a text field.
|
void |
SynthPainter.paintTextFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a text field.
|
void |
SynthPainter.paintTextPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a text pane.
|
void |
SynthPainter.paintTextPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a text pane.
|
protected void |
SynthSliderUI.paintThumb(SynthContext context,
Graphics g,
Rectangle thumbBounds)
Paints the slider thumb.
|
protected void |
SynthScrollBarUI.paintThumb(SynthContext context,
Graphics g,
Rectangle thumbBounds)
Paints the scrollbar thumb.
|
void |
SynthPainter.paintToggleButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a toggle button.
|
void |
SynthPainter.paintToggleButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a toggle button.
|
void |
SynthPainter.paintToolBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a tool bar.
|
void |
SynthPainter.paintToolBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a tool bar.
|
void |
SynthPainter.paintToolBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a tool bar.
|
void |
SynthPainter.paintToolBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a tool bar.
|
void |
SynthPainter.paintToolBarContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the tool bar's content area.
|
void |
SynthPainter.paintToolBarContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the tool bar's content area.
|
void |
SynthPainter.paintToolBarContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the content area of a tool bar.
|
void |
SynthPainter.paintToolBarContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the content area of a tool bar.
|
void |
SynthPainter.paintToolBarDragWindowBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the window containing the tool bar when it
has been detached from its primary frame.
|
void |
SynthPainter.paintToolBarDragWindowBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the window containing the tool bar when it
has been detached from its primary frame.
|
void |
SynthPainter.paintToolBarDragWindowBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the window containing the tool bar when it
has been detached from it's primary frame.
|
void |
SynthPainter.paintToolBarDragWindowBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the window containing the tool bar when it
has been detached from it's primary frame.
|
void |
SynthPainter.paintToolTipBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a tool tip.
|
void |
SynthPainter.paintToolTipBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a tool tip.
|
protected void |
SynthSliderUI.paintTrack(SynthContext context,
Graphics g,
Rectangle trackBounds)
Paints the slider track.
|
protected void |
SynthScrollBarUI.paintTrack(SynthContext context,
Graphics g,
Rectangle trackBounds)
Paints the scrollbar track.
|
void |
SynthPainter.paintTreeBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a tree.
|
void |
SynthPainter.paintTreeBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a tree.
|
void |
SynthPainter.paintTreeCellBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the row containing a cell in a tree.
|
void |
SynthPainter.paintTreeCellBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the row containing a cell in a tree.
|
void |
SynthPainter.paintTreeCellFocus(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the focus indicator for a cell in a tree when it has focus.
|
protected void |
SynthTreeUI.paintVerticalLine(Graphics g,
JComponent c,
int x,
int top,
int bottom) |
protected void |
SynthTreeUI.paintVerticalPartOfLeg(Graphics g,
Rectangle clipBounds,
Insets insets,
TreePath path) |
void |
SynthPainter.paintViewportBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the viewport.
|
void |
SynthPainter.paintViewportBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a viewport.
|
void |
SynthSplitPaneUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthTabbedPaneUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthEditorPaneUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthToolBarUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthScrollPaneUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthViewportUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthLabelUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthToolTipUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthOptionPaneUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthTableHeaderUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthSpinnerUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthSliderUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthMenuUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthTextFieldUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthComboBoxUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthTreeUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthProgressBarUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthDesktopPaneUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthSeparatorUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthDesktopIconUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthListUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthTextAreaUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthScrollBarUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthColorChooserUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthTableUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthButtonUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthInternalFrameUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthPanelUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthRootPaneUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthMenuItemUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthPopupMenuUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
void |
SynthMenuBarUI.update(Graphics g,
JComponent c)
Notifies this UI delegate to repaint the specified component.
|
Modifier and Type | Method and Description |
---|---|
Graphics |
View.getGraphics()
Fetch a
Graphics for rendering. |
Modifier and Type | Method and Description |
---|---|
protected int |
PasswordView.drawEchoCharacter(Graphics g,
int x,
int y,
char c)
Renders the echo character, or whatever graphic should be used
to display the password characters.
|
protected void |
PlainView.drawLine(int lineIndex,
Graphics g,
int x,
int y)
Renders a line of text, suppressing whitespace at the end
and expanding any tabs.
|
protected void |
WrappedPlainView.drawLine(int p0,
int p1,
Graphics g,
int x,
int y)
Renders a line of text, suppressing whitespace at the end
and expanding any tabs.
|
protected int |
PlainView.drawSelectedText(Graphics g,
int x,
int y,
int p0,
int p1)
Renders the given range in the model as selected text.
|
protected int |
PasswordView.drawSelectedText(Graphics g,
int x,
int y,
int p0,
int p1)
Renders the given range in the model as selected text.
|
protected int |
WrappedPlainView.drawSelectedText(Graphics g,
int x,
int y,
int p0,
int p1)
Renders the given range in the model as selected text.
|
static int |
Utilities.drawTabbedText(Segment s,
int x,
int y,
Graphics g,
TabExpander e,
int startOffset)
Draws the given text, expanding any tabs that are contained
using the given tab expansion technique.
|
protected int |
PlainView.drawUnselectedText(Graphics g,
int x,
int y,
int p0,
int p1)
Renders the given range in the model as normal unselected
text.
|
protected int |
PasswordView.drawUnselectedText(Graphics g,
int x,
int y,
int p0,
int p1)
Renders the given range in the model as normal unselected
text.
|
protected int |
WrappedPlainView.drawUnselectedText(Graphics g,
int x,
int y,
int p0,
int p1)
Renders the given range in the model as normal unselected
text.
|
abstract void |
GlyphView.GlyphPainter.paint(GlyphView v,
Graphics g,
Shape a,
int p0,
int p1)
Paint the glyphs representing the given range.
|
void |
DefaultCaret.paint(Graphics g)
Renders the caret as a vertical line.
|
void |
Highlighter.paint(Graphics g)
Renders the highlights.
|
void |
DefaultHighlighter.paint(Graphics g)
Renders the highlights.
|
void |
Caret.paint(Graphics g)
Renders the caret.
|
void |
Highlighter.HighlightPainter.paint(Graphics g,
int p0,
int p1,
Shape bounds,
JTextComponent c)
Renders the highlight.
|
void |
DefaultHighlighter.DefaultHighlightPainter.paint(Graphics g,
int offs0,
int offs1,
Shape bounds,
JTextComponent c)
Paints a highlight.
|
void |
ComponentView.paint(Graphics g,
Shape a)
The real paint behavior occurs naturally from the association
that the component has with its parent container (the same
container hosting this view).
|
void |
IconView.paint(Graphics g,
Shape a)
Paints the icon.
|
void |
FieldView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that surface.
|
abstract void |
View.paint(Graphics g,
Shape allocation)
Renders using the given rendering surface and area on that
surface.
|
void |
AsyncBoxView.paint(Graphics g,
Shape alloc)
Render the view using the given allocation and
rendering surface.
|
void |
BoxView.paint(Graphics g,
Shape allocation)
Renders the
BoxView using the given
rendering surface and area
on that surface. |
void |
GlyphView.paint(Graphics g,
Shape a)
Renders a portion of a text style run.
|
void |
PlainView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that surface.
|
void |
ParagraphView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that
surface.
|
void |
WrappedPlainView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area
on that surface.
|
protected void |
BoxView.paintChild(Graphics g,
Rectangle alloc,
int index)
Paints a child.
|
void |
AsyncBoxView.ChildLocator.paintChildren(Graphics g)
Paint the children that intersect the clip area.
|
abstract Shape |
LayeredHighlighter.LayerPainter.paintLayer(Graphics g,
int p0,
int p1,
Shape viewBounds,
JTextComponent editor,
View view) |
Shape |
DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g,
int offs0,
int offs1,
Shape bounds,
JTextComponent c,
View view)
Paints a portion of a highlight.
|
abstract void |
LayeredHighlighter.paintLayeredHighlights(Graphics g,
int p0,
int p1,
Shape viewBounds,
JTextComponent editor,
View view)
When leaf Views (such as LabelView) are rendering they should
call into this method.
|
void |
DefaultHighlighter.paintLayeredHighlights(Graphics g,
int p0,
int p1,
Shape viewBounds,
JTextComponent editor,
View view)
When leaf Views (such as LabelView) are rendering they should
call into this method.
|
Modifier and Type | Method and Description |
---|---|
void |
StyleSheet.BoxPainter.paint(Graphics g,
float x,
float y,
float w,
float h,
View v)
Paints the CSS box according to the attributes
given.
|
void |
StyleSheet.ListPainter.paint(Graphics g,
float x,
float y,
float w,
float h,
View v,
int item)
Paints the CSS list decoration according to the
attributes given.
|
void |
ImageView.paint(Graphics g,
Shape a)
Paints the View.
|
void |
BlockView.paint(Graphics g,
Shape allocation)
Renders using the given rendering surface and area on that
surface.
|
void |
ListView.paint(Graphics g,
Shape allocation)
Renders using the given rendering surface and area on that
surface.
|
void |
ParagraphView.paint(Graphics g,
Shape a)
Renders using the given rendering surface and area on that
surface.
|
protected void |
ListView.paintChild(Graphics g,
Rectangle alloc,
int index)
Paints one of the children; called by paint().
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultTreeCellRenderer.paint(Graphics g)
Paints the value.
|
void |
DefaultTreeCellEditor.EditorContainer.paint(Graphics g)
Overrides
Container.paint to paint the node's
icon and use the selection color for the background. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.