Uses of Class java.awt.Graphics

Uses in package javax.swing.border

Methods with parameter type java.awt.Graphics

void
AbstractBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Performs nothing, because the default implementation provided by this class is an invisible, zero-width border.
void
BevelBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border for a given component.
void
Border.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border for a given component.
void
CompoundBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the compound border by first painting the outside border, then painting the inside border tightly nested into the outside.
void
EmptyBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Performs nothing because an EmptyBorder does not paint any pixels.
void
EtchedBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border for a given component.
void
LineBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the line border around a given Component.
void
MatteBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border for a given component.
void
SoftBevelBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border for a given component.
void
TitledBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border and the title text.
void
BevelBorder.paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height)
Paints a lowered bevel border around a component.
void
BevelBorder.paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height)
Paints a raised bevel border around a component.

Uses in package javax.swing.plaf.metal

Methods with parameter type java.awt.Graphics

void
Draws the check in the CheckBox.
void
Paints the button.
void
void
Paints the JRadioButton.
void
The separator is made of two lines.
void
Paints the tool tip.
void
Paints the specified component appropriate for the look and feel.
void
MetalBorders.ButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the button border.
void
MetalBorders.Flush3DBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.
void
MetalBorders.InternalFrameBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.
void
MetalBorders.MenuBarBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the component.
void
MetalBorders.MenuItemBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the component.
void
MetalBorders.OptionDialogBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.
void
MetalBorders.PaletteBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.
void
MetalBorders.PopupMenuBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for component c using the Graphics context g with the dimension x, y, w, h.
void
MetalBorders.RolloverButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border.
void
MetalBorders.ScrollPaneBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border.
void
MetalBorders.TableHeaderBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border.
void
MetalBorders.TextFieldBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.
void
MetalBorders.ToggleButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the toggle button border.
void
MetalBorders.ToolBarBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.
void
MetalTabbedPaneUI.paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
Paints the border for a tab assuming that the tab position is at the bottom (SwingConstants.BOTTOM).
void
Paints the background of the button to indicate that it is in the "pressed" state.
void
Paints the button background when it is pressed/selected.
void
Paints the component.
void
Paints a representation of the current state of the internal frame.
void
MetalTabbedPaneUI.paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
Paints the lower edge of the content border.
void
MetalTabbedPaneUI.paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
Paints the left edge of the content border.
void
MetalTabbedPaneUI.paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
Paints the right edge of the content border.
void
MetalTabbedPaneUI.paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
Paints the upper edge of the content border.
void
Performs the painting for determinate progress bars.
void
MetalLabelUI.paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
Draws the text for a disabled label, using the color defined in the UIManager defaults with the key Label.disabledForeground.
void
Draws the focus rectangle for the slider.
void
Paints the focus rectangle for the JRadioButton.
void
Paints the focus rectangle around the button text and/or icon.
void
Draws the focus highlight around the text and icon.
void
MetalTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
This method paints the focus rectangle around the selected tab.
void
MetalTreeUI.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.
void
Paints the horizontal separators.
void
Paints the icon.
void
Paints the icon at the location (x, y).
void
Paints the icon at the location (x, y).
void
Paints the icon at the location (x, y).
void
Paints the icon using colors from the MetalLookAndFeel.
void
Paints the icon at the location (x, y).
void
Performs the painting for indeterminate progress bars.
void
MetalTabbedPaneUI.paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
Paints the border for a tab assuming that the tab position is at the left (SwingConstants.LEFT).
void
Paints the major ticks for a slider with a horizontal orientation.
void
Paints the major ticks for a slider with a vertical orientation.
void
void
Paints the minor ticks for a slider with a horizontal orientation.
void
Paints the minor ticks for a slider with a vertical orientation.
void
Draws the title pane in the palette style.
void
MetalTabbedPaneUI.paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
Paints the border for a tab assuming that the tab position is at the right (SwingConstants.RIGHT).
void
MetalTabbedPaneUI.paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
Paints the background for a tab.
void
MetalTabbedPaneUI.paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
Paints the border for a single tab.
void
Paints the button text.
void
Paints the text for the button.
void
Paints the thumb icon for the slider.
void
Paints the slider button of the ScrollBar.
void
MetalTabbedPaneUI.paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
Paints the border for a tab assuming that the tab position is at the top (SwingConstants.TOP).
void
Paints the track along which the thumb control moves.
void
Paints the track for the scrollbar.
void
Paints the vertical part of the leg.
void
If the property Button.gradient is set, then a gradient is painted as background, otherwise the normal superclass behaviour is called.
void
If the property MenuBar.gradient is set, then a gradient is painted as background, otherwise the normal superclass behaviour is called.
void
If the property ToggleButton.gradient is set, then a gradient is painted as background, otherwise the normal superclass behaviour is called.
void
Paints the background of the component if necessary and then calls paint(g, c).

Uses in package java.awt.peer

Methods with parameter type java.awt.Graphics

void
void

Methods with return type java.awt.Graphics

Graphics
Returns a Graphics object suitable for drawing on this component.

Uses in package java.awt

Classes derived from java.awt.Graphics

class
An abstract class defining a device independent two-dimensional vector graphics API.

Methods with parameter type java.awt.Graphics

LineMetrics
FontMetrics.getLineMetrics(char[] chars, int begin, int limit, Graphics g)
Returns a LineMetrics object constructed with the specified text and the FontRenderContext of the Graphics object when it is an instance of Graphics2D or a generic FontRenderContext with a null transform, not anti-aliased and not using fractional metrics.
LineMetrics
FontMetrics.getLineMetrics(String text, int begin, int limit, Graphics g)
Returns a LineMetrics object constructed with the specified text and the FontRenderContext of the Graphics object when it is an instance of Graphics2D or a generic FontRenderContext with a null transform, not anti-aliased and not using fractional metrics.
LineMetrics
Returns a LineMetrics object constructed with the specified text and the FontRenderContext of the Graphics object when it is an instance of Graphics2D or a generic FontRenderContext with a null transform, not anti-aliased and not using fractional metrics.
LineMetrics
FontMetrics.getLineMetrics(CharacterIterator ci, int begin, int limit, Graphics g)
Returns a LineMetrics object constructed with the specified text and the FontRenderContext of the Graphics object when it is an instance of Graphics2D or a generic FontRenderContext with a null transform, not anti-aliased and not using fractional metrics.
Rectangle2D
Returns the bounds of the largest character in a Graphics context.
Rectangle2D
FontMetrics.getStringBounds(char[] chars, int beginIndex, int limit, Graphics context)
Rectangle2D
FontMetrics.getStringBounds(String str, int beginIndex, int limit, Graphics context)
Rectangle2D
Rectangle2D
FontMetrics.getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context)
void
Repaints the canvas window.
void
Paints this component on the screen.
void
Paints this container.
void
Paints this entire component, including any sub-components.
void
Paints all of the components in this container.
void
Prints this component.
void
Prints this container.
void
Prints this component, including all sub-components.
void
Prints all of the components in this container.
void
Prints all of the components in this container.
void
Updates the canvas in response to a request to repaint() it.
void
Updates this component.
void
Updates this container.

Methods with return type java.awt.Graphics

Graphics
Returns a copy of this Graphics object.
Graphics
Graphics.create(int x, int y, int width, int height)
Returns a copy of this Graphics object.
Graphics
Retrieves a graphics object that can be used to draw into this strategy's image buffer.
Graphics
Retrieves a graphics object that can be used to draw into this strategy's image buffer.
Graphics
Returns a graphics object for this component.
Graphics
Returns a graphics context object for drawing an off-screen object.
Graphics
Returns a graphics context suitable for rendering the next page.

Uses in package javax.swing.plaf

Methods with parameter type java.awt.Graphics

void
Called by the JSplitPane after it has finished painting its children.
void
Paints the component according to the design guidelines of the look and feel.
void
BorderUIResource.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border around an enclosed component by calling the paintBorder method of the wrapped delegate.
void
IconUIResource.paintIcon(Component c, Graphics g, int x, int y)
Paints the icon by asking the delegate icon to paint itself.
void
Fills the specified component with its background color (unless the opaque property is false) before calling paint(Graphics,JComponent).

Uses in package java.awt.image

Methods with return type java.awt.Graphics

Graphics
Retrieves a graphics object that can be used to draw using this buffer strategy.
Graphics
Returns a graphics context object for drawing an off-screen object.
Graphics
Returns a Graphics2D object that can be used to draw onto this image.

Uses in package java.beans

Methods with parameter type java.awt.Graphics

void
The RAD tool calls this to paint the actual value of the property.
void
Paints this object.

Uses in package javax.swing.text.html

Methods with parameter type java.awt.Graphics

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
Paints using the given graphics configuration and shape.
void
Paints the image or one of the two image state icons.
void
ListView.paint(Graphics g, Shape allocation)
Paints the ListView.
void
Paints this view.
void
Paints the child with the specified index into the specified allocation.

Uses in package javax.swing.tree

Methods with parameter type java.awt.Graphics

void
Overrides Container.paint to paint the node's icon and use the selection color for the background.
void
Paints the value.

Uses in package javax.swing.plaf.basic

Methods with parameter type java.awt.Graphics

void
BasicGraphicsUtils.drawBezel(Graphics g, int x, int y, int width, int height, boolean isPressed, boolean isDefault, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
Draws a border that is suitable for buttons of the Basic look and feel.
void
BasicTreeUI.drawCentered(Component c, Graphics g, Icon icon, int x, int y)
Draws an icon at around a specific position
void
BasicTreeUI.drawDashedHorizontalLine(Graphics g, int y, int x1, int x2)
Draws a dashed horizontal line.
void
BasicGraphicsUtils.drawDashedRect(Graphics g, int x, int y, int width, int height)
Draws a rectangle, simulating a dotted stroke by painting only every second pixel along the one-pixel thick edge.
void
BasicTreeUI.drawDashedVerticalLine(Graphics g, int x, int y1, int y2)
Draws a dashed vertical line.
void
BasicGraphicsUtils.drawEtchedRect(Graphics g, int x, int y, int width, int height, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
Draws a rectangle that appears etched into the surface, given four colors that are used for drawing.
void
BasicGraphicsUtils.drawGroove(Graphics g, int x, int y, int width, int height, Color shadow, Color highlight)
Draws a rectangle that appears etched into the surface, given two colors that are used for drawing.
void
BasicGraphicsUtils.drawLoweredBezel(Graphics g, int x, int y, int width, int height, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
Draws a rectangle that appears lowered into the surface, given four colors that are used for drawing.
void
BasicGraphicsUtils.drawString(Graphics g, String text, int underlinedChar, int x, int y)
Draws a String at the given location, underlining the first occurence of a specified character.
void
BasicGraphicsUtils.drawStringUnderlineCharAt(Graphics g, String text, int underlinedIndex, int x, int y)
Draws a String at the given location, underlining the character at the specified index.
void
This method is called after the children of the JSplitPane are painted.
Point
BasicProgressBarUI.getStringPlacement(Graphics g, String progressString, int x, int y, int width, int height)
This method returns the point (the top left of the bounding box) where the text should be painted.
void
Paints the arrow button.
void
This method paints this Component.
void
Paints the divider by painting its border.
void
This method paints the DragWindow.
void
Paint the component, which is an AbstractButton, according to its current state.
void
Paints given menu item using specified graphics context
void
The method that paints the label according to its current state.
void
Paints the list by repeatedly calling paintCell(Graphics,int,Rectangle,ListCellRenderer,ListModel,ListSelectionModel,int) for each visible cell in the list.
void
Paints given menu item using specified graphics context
void
The Popup Menu Separator has two lines.
void
This method paints the progressBar.
void
Paints the RadioButton.
void
This method is called when the component is painted.
void
Paints the component according to the design guidelines of the look and feel.
void
The separator is made of two lines.
void
This method is used to paint the JSlider.
void
This method is called to paint the JSplitPane.
void
This method paints the JTabbedPane.
void
Repaint the table header.
void
Paint the associated table.
void
Paints the text component.
void
Paint the component, which is an AbstractButton, according to its current state.
void
This method does nothing as a Separator is just blank space.
void
This method paints the given JComponent with the given Graphics object.
void
Paints the specified component appropriate for the look and feel.
void
Paints the background of the text component.
void
Paints background of the menu item
void
BasicBorders.ButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the ButtonBorder around a given component.
void
BasicBorders.FieldBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the FieldBorder around a given component.
void
BasicBorders.MenuBarBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the MenuBarBorder around a given component.
void
BasicBorders.RadioButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the RadioButtonBorder around a given component.
void
BasicBorders.RolloverButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border around a rollover button.
void
BasicBorders.SplitPaneBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border around a JSplitPane.
void
BasicBorders.ToggleButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the ToggleButtonBorder around a given component.
void
Paints the background area of an AbstractButton in the pressed state.
void
BasicListUI.paintCell(Graphics g, int row, Rectangle bounds, ListCellRenderer rend, ListModel data, ListSelectionModel sel, int lead)
Paints a single cell in the list.
void
This method paints the TitlePane.
void
BasicTabbedPaneUI.paintContentBorder(Graphics g, int tabPlacement, int selectedIndex)
This method paints the border around the content area.
void
BasicTabbedPaneUI.paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
This method paints the bottom edge of the content border.
void
BasicTabbedPaneUI.paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
This method paints the left edge of the content border.
void
BasicTabbedPaneUI.paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
This method paints the right edge of the content border.
void
BasicTabbedPaneUI.paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
This method paints the top edge of the content border.
void
BasicComboBoxUI.paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)
Paints currently selected value in the main part of the combo box (part without popup).
void
Paints the background of part of the combo box, where currently selected value is displayed.
void
This method is called when repainting and the mouse is pressed in the track.
void
This method is called if the painting to be done is for a determinate progressBar.
void
BasicLabelUI.paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
Paints the text if the label is disabled.
void
BasicLabelUI.paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
Paints the text if the label is enabled.
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
This method is called during a repaint if the slider has focus.
void
Paints the focus indicator for JRadioButtons.
void
Paint any focus decoration this JComponent might have.
void
BasicTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
This method paints the focus rectangle around the selected tab.
void
This method paints the label on the horizontal slider at the value specified.
void
BasicTreeUI.paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)
Draws a horizontal line using the given graphic context
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.
void
BasicTabbedPaneUI.paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected)
This method paints the icon.
void
Paints the icon for the toggle button.
void
Paint the icon for this component.
void
This method is called when repainting and the mouse is pressed in the track.
void
This method is called if the painting to be done is for an indeterminate progressBar.
void
This method paints all the labels from the slider's label table.
void
This method paints a major tick for a horizontal slider at the given x value. x represents the x coordinate to paint at.
void
This method paints a major tick for a vertical slider at the given y value. y represents the y coordinate to paint at.
void
BasicMenuItemUI.paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap)
Paints specified menu item
void
This method paints a minor tick for a horizontal slider at the given x value. x represents the x coordinate to paint at.
void
This method paints a minor tick for a vertical slider at the given y value. y represents the y coordinate to paint at.
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.
void
This paints the text component while beeing sure that the model is not modified while painting.
void
BasicProgressBarUI.paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b)
This method paints the string for the progressBar.
void
BasicTabbedPaneUI.paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
This method paints an individual tab.
void
BasicTabbedPaneUI.paintTabArea(Graphics g, int tabPlacement, int selectedIndex)
This method paints the tab area.
void
BasicTabbedPaneUI.paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
This method paints the background for an individual tab.
void
BasicTabbedPaneUI.paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
This method paints the border for an individual tab.
void
BasicTabbedPaneUI.paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)
This method paints the text for the given tab.
void
Paints the "text" property of an AbstractButton.
void
Paints the "text" property of an AbstractButton.
void
BasicMenuItemUI.paintText(Graphics g, JMenuItem menuItem, Rectangle textRect, String text)
Paints label for the given menu item
void
This method paints a thumb.
void
This method paints the thumb.
void
This method is called during a repaint if the ticks are to be drawn.
void
This method paints the TitlePane's background.
void
This method is called during a repaint if the track is to be drawn.
void
This method paints the track.
void
BasicArrowButton.paintTriangle(Graphics g, int x, int y, int size, int direction, boolean isEnabled)
Paints a triangle with the given size, location and direction.
void
This method paints the label on the vertical slider at the value specified.
void
BasicTreeUI.paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)
Draws a vertical line using the given graphic context
void
Paints the vertical part of the leg.
void
This method calls paint.
void
Overridden for better control over background painting.

Uses in package java.awt.print

Methods with parameter type java.awt.Graphics

int
Printable.print(Graphics graphics, PageFormat format, int page_number)
This method prints the specified page to the specified graphics context in the specified format.

Uses in package javax.swing.plaf.multi

Methods with parameter type java.awt.Graphics

void
Calls the SplitPaneUI.finishedPaintingChildren(JSplitPane,Graphics) method for all the UI delegates managed by this MultiSplitPaneUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiButtonUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiColorChooserUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiComboBoxUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiDesktopIconUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiDesktopPaneUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiFileChooserUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiInternalFrameUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiLabelUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiListUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiMenuBarUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiMenuItemUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiOptionPaneUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiPanelUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiPopupMenuUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiProgressBarUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiRootPaneUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiScrollBarUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiScrollPaneUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiSeparatorUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiSliderUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiSpinnerUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiSplitPaneUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiTabbedPaneUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiTableHeaderUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiTableUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiTextUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiToolBarUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiToolTipUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiTreeUI.
void
Calls the paint(Graphics, JComponent) method for all the UI delegates managed by this MultiViewportUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiButtonUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiColorChooserUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiComboBoxUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiDesktopIconUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiDesktopPaneUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiFileChooserUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiInternalFrameUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiLabelUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiListUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiMenuBarUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiMenuItemUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiOptionPaneUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiPanelUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiPopupMenuUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiProgressBarUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiRootPaneUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiScrollBarUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiScrollPaneUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiSeparatorUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiSliderUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiSpinnerUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiSplitPaneUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiTabbedPaneUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiTableHeaderUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiTableUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiTextUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiToolBarUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiToolTipUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiTreeUI.
void
Calls the ComponentUI.update(Graphics,JComponent) method for all the UI delegates managed by this MultiViewportUI.

Uses in package javax.swing.colorchooser

Methods with parameter type java.awt.Graphics

void
This method paints the chooser panel.

Uses in package javax.swing.plaf.synth

Methods with parameter type java.awt.Graphics

void
SynthGraphicsUtils.drawLine(SynthContext ctx, Object paintKey, Graphics g, int x1, int y1, int x2, int y2)
Draws a line from (x1,y1) to (x2,y2).
void
SynthPainter.paintArrowButtonBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an arrow button.
void
SynthPainter.paintArrowButtonBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an arrow button.
void
SynthPainter.paintArrowButtonForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints the foreground of an arrow button.
void
SynthPainter.paintButtonBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a button.
void
SynthPainter.paintButtonBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a button.
void
SynthPainter.paintCheckBoxBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a check box.
void
SynthPainter.paintCheckBoxBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a check box.
void
SynthPainter.paintCheckBoxMenuItemBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a check box menu item.
void
SynthPainter.paintCheckBoxMenuItemBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a check box menu item.
void
SynthPainter.paintColorChooserBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a color chooser.
void
SynthPainter.paintColorChooserBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a color chooser.
void
SynthPainter.paintComboBoxBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a combo box.
void
SynthPainter.paintComboBoxBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a combo box.
void
SynthPainter.paintDesktopIconBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a desktop icon.
void
SynthPainter.paintDesktopIconBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a desktop icon.
void
SynthPainter.paintDesktopPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a desktop pane.
void
SynthPainter.paintDesktopPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a desktop pane.
void
SynthPainter.paintEditorPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an editor pane.
void
SynthPainter.paintEditorPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an editor pane.
void
SynthPainter.paintFileChooserBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a file chooser.
void
SynthPainter.paintFileChooserBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a file chooser.
void
SynthPainter.paintFormattedTextFieldBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a formatted text field.
void
SynthPainter.paintFormattedTextFieldBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a formatted text field.
void
SynthPainter.paintInternalFrameBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an internal frame.
void
SynthPainter.paintInternalFrameBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an internal frame.
void
Paints the background of an internal frame's title pane.
void
SynthPainter.paintInternalFrameTitlePaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an internal frame's title pane.
void
SynthPainter.paintLabelBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a label.
void
SynthPainter.paintLabelBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a label.
void
SynthPainter.paintListBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a list.
void
SynthPainter.paintListBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a list.
void
SynthPainter.paintMenuBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a menu.
void
SynthPainter.paintMenuBarBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a menu bar.
void
SynthPainter.paintMenuBarBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a menu bar.
void
SynthPainter.paintMenuBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a menu.
void
SynthPainter.paintMenuItemBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a menu item.
void
SynthPainter.paintMenuItemBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a menu item.
void
SynthPainter.paintOptionPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an option pane.
void
SynthPainter.paintOptionPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an option pane.
void
SynthPainter.paintPanelBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a panel.
void
SynthPainter.paintPanelBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a panel.
void
SynthPainter.paintPasswordFieldBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a password field.
void
SynthPainter.paintPasswordFieldBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a password field.
void
SynthPainter.paintPopupMenuBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a popup menu.
void
SynthPainter.paintPopupMenuBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a popup menu.
void
SynthPainter.paintProgressBarBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a progress bar.
void
SynthPainter.paintProgressBarBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a progress bar.
void
SynthPainter.paintProgressBarForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints the foreground of a progress bar.
void
SynthPainter.paintRadioButtonBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a radio button.
void
SynthPainter.paintRadioButtonBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a radio button.
void
SynthPainter.paintRadioButtonMenuItemBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a radio button menu item.
void
SynthPainter.paintRadioButtonMenuItemBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a radio button menu item.
void
SynthPainter.paintRootPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a root pane.
void
SynthPainter.paintRootPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a root pane.
void
SynthPainter.paintScrollBarBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a scrollbar.
void
SynthPainter.paintScrollBarBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a scrollbar.
void
SynthPainter.paintScrollBarThumbBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation)
Paints the background of a scrollbar's thumb.
void
SynthPainter.paintScrollBarThumbBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation)
Paints the border of a scrollbar's thumb.
void
SynthPainter.paintScrollBarTrackBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a scrollbar's track.
void
SynthPainter.paintScrollBarTrackBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a scrollbar's track.
void
SynthPainter.paintScrollPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a scroll pane.
void
SynthPainter.paintScrollPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a scroll pane.
void
SynthPainter.paintSeparatorBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a separator.
void
SynthPainter.paintSeparatorBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a separator.
void
SynthPainter.paintSeparatorForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints the foreground of a separator.
void
SynthPainter.paintSliderBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a slider.
void
SynthPainter.paintSliderBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a slider.
void
SynthPainter.paintSliderThumbBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation)
Paints the background of a slider's thumb.
void
SynthPainter.paintSliderThumbBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation)
Paints the border of a slider's thumb.
void
SynthPainter.paintSliderTrackBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a slider's track.
void
SynthPainter.paintSliderTrackBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a slider's track.
void
SynthPainter.paintSpinnerBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a spinner.
void
SynthPainter.paintSpinnerBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a spinner.
void
SynthPainter.paintSplitPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a split pane.
void
SynthPainter.paintSplitPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a split pane.
void
SynthPainter.paintSplitPaneDividerBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a split pane's divider.
void
SynthPainter.paintSplitPaneDividerForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints the foreground of a split pane's divider.
void
SynthPainter.paintSplitPaneDragDivider(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints a split pane's divider, when it is being dragged.
void
SynthPainter.paintTabbedPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a tabbed pane.
void
SynthPainter.paintTabbedPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a tabbed pane.
void
SynthPainter.paintTabbedPaneContentBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of the contents of a tabbed pane.
void
SynthPainter.paintTabbedPaneContentBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of the contents of a tabbed pane.
void
SynthPainter.paintTabbedPaneTabAreaBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of the tab area of a tabbed pane.
void
SynthPainter.paintTabbedPaneTabAreaBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of the tab area of a tabbed pane.
void
SynthPainter.paintTabbedPaneTabBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int index)
Paints the background of a tab of a tabbed pane.
void
SynthPainter.paintTabbedPaneTabBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int index)
Paints the border of a tab of a tabbed pane.
void
SynthPainter.paintTableBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a table.
void
SynthPainter.paintTableBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a table.
void
SynthPainter.paintTableHeaderBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a table's header.
void
SynthPainter.paintTableHeaderBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a table's header.
void
SynthGraphicsUtils.paintText(SynthContext ctx, Graphics g, String text, int x, int y, int mnemonicIndex)
Renders the specified text at the specified location.
void
SynthGraphicsUtils.paintText(SynthContext ctx, Graphics g, String text, Rectangle bounds, int mnemonicIndex)
Renders the specified text within the bounds.
void
SynthGraphicsUtils.paintText(SynthContext ctx, Graphics g, String text, Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex, int textOffset)
void
SynthPainter.paintTextAreaBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a text area.
void
SynthPainter.paintTextAreaBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a text area.
void
SynthPainter.paintTextFieldBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a text field.
void
SynthPainter.paintTextFieldBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a text field.
void
SynthPainter.paintTextPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a text pane.
void
SynthPainter.paintTextPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a text pane.
void
SynthPainter.paintToggleButtonBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a toggle button.
void
SynthPainter.paintToggleButtonBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a toggle button.
void
SynthPainter.paintToolBarBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a toolbar.
void
SynthPainter.paintToolBarBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a toolbar.
void
SynthPainter.paintToolBarContentBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of the contents of a toolbar.
void
SynthPainter.paintToolBarContentBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of the contents of a toolbar.
void
SynthPainter.paintToolBarDragWindowBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of the window of a detached toolbar.
void
SynthPainter.paintToolBarDragWindowBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of the window of a detached toolbar.
void
SynthPainter.paintToolTipBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a tool tip.
void
SynthPainter.paintToolTipBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a tool tip.
void
SynthPainter.paintTreeBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a tree.
void
SynthPainter.paintTreeBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a tree.
void
SynthPainter.paintTreeCellBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a cell in a tree.
void
SynthPainter.paintTreeCellBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a cell in a tree.
void
SynthPainter.paintTreeCellFocus(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the indicator for a tree cell which has the focus.
void
SynthPainter.paintViewportBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a viewport.
void
SynthPainter.paintViewportBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a viewport.

Uses in package javax.swing.text

Methods with parameter type java.awt.Graphics

int
PasswordView.drawEchoCharacter(Graphics g, int x, int y, char ch)
Draws one echo character at a given position.
void
WrappedPlainView.drawLine(int p0, int p1, Graphics g, int x, int y)
Draws a line of text, suppressing white space at the end and expanding tabs.
void
PlainView.drawLine(int lineIndex, Graphics g, int x, int y)
Draws a line of text.
int
PasswordView.drawSelectedText(Graphics g, int x, int y, int p0, int p1)
Draws selected text at a given position.
int
PlainView.drawSelectedText(Graphics g, int x, int y, int p0, int p1)
int
WrappedPlainView.drawSelectedText(Graphics g, int x, int y, int p0, int p1)
Renders the range of text as selected text.
int
Utilities.drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset)
Draws the given text segment.
int
PasswordView.drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
Draws unselected text at a given position.
int
PlainView.drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
Draws a chunk of unselected text.
int
WrappedPlainView.drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
Renders the range of text as normal unhighlighted text.
void
Paints this Caret to the specified Graphics context.
void
Paints this Caret using the specified Graphics context.
void
void
void
void
void
Paints the view.
void
Renders the Element that is associated with this View.
void
The real painting behavour is performed by normal component painting, triggered by the text component that hosts this view.
void
void
Renders the Element that is associated with this View.
void
Renders the Element that is associated with this View.
void
void
void
Renders the Element that is associated with this View.
void
GlyphView.GlyphPainter.paint(GlyphView view, Graphics g, Shape a, int p0, int p1)
Paints the glyphs.
void
BoxView.paintChild(Graphics g, Rectangle alloc, int index)
Paints the child View at the specified index.
void
Paints all child views.
Shape
Shape
LayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
void
DefaultHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
void
LayeredHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)

Methods with return type java.awt.Graphics

Graphics

Uses in package javax.swing

Classes derived from java.awt.Graphics

class
An extension of Graphics that can be used for debugging custom Swing widgets.

Constructors with parameter type java.awt.Graphics

Creates a DebugGraphics object.
Creates a DebugGraphics object.

Methods with parameter type java.awt.Graphics

Graphics
Prepares a graphics context for painting this object.
void
Should not be called.
void
Paint the component.
void
This method is overridden order to provide a reasonable painting mechanism for JLayeredPane.
void
Paint the component.
void
Paints the button's border, if the button's "borderPainted" property is true, by out calling to the button's look and feel class.
void
Paint the component's border.
void
Paints border of the menu bar, if its borderPainted property is set to true.
void
Paints the component's border, but only if isBorderPainted() returns true.
void
This method paints the border if the borderPainted property is true.
void
Paint the component's children.
void
This method overrides JComponent's paintChildren so the UI can be messaged when the children have finished painting.
void
Paint the component's body.
void
This method is overridden to allow for speedier painting while this JInternalFramme is being dragged.
void
CellRendererPane.paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h)
Paints the specified component c on the Graphics context graphics.
void
SwingUtilities.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
This method paints the given component at the given position and size.
void
CellRendererPane.paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate)
Paints the specified component c on the Graphics context graphics.
void
Paints the specified component c on the Graphics context g.
void
This method paints the given component in the given rectangle.
void
Icon.paintIcon(Component c, Graphics g, int x, int y)
Draws the icon at the location (x, y) on the specified graphics device.
void
ImageIcon.paintIcon(Component c, Graphics g, int x, int y)
Calls g.drawImage() on the backing Image using the set observer of this ImageIcon.
void
Prints this component to the given Graphics context.
void
Prints this component to the given Graphics context.
void
Print this component's border to the specified Graphics context.
void
Print this component's children to the specified Graphics context.
void
Prints this component to the specified Graphics context.
void
Should not be called.
void
Updates this container.
void
void
This method simply calls paint and returns.
void
Updates this container.
void
Updates this container.

Methods with return type java.awt.Graphics

Graphics
Creates a overrides Graphics.create to create a DebugGraphics object.
Graphics
DebugGraphics.create(int x, int y, int width, int height)
Creates a overrides Graphics.create to create a DebugGraphics object.
Graphics
Prepares a graphics context for painting this object.
Graphics
Returns the Graphics context for this component.