java.lang.Object
javax.swing.plaf.synth.SynthPainter
SynthPainter 用于绘制 JComponent s 的部分。每个 JComponent 至少有两种绘制方法:一种用于边框,一种用于背景。有些 JComponent 有多个 Region ,因此有更多的绘制方法。
SynthPainter 的实例是从 SynthStyle.getPainter(javax.swing.plaf.synth.SynthContext) 方法获得的。
您通常通过 Synth 的 file 格式提供 SynthPainter。以下示例为将渲染图像 myImage.png 的所有 JButton 注册一个绘制器:
<style id="buttonStyle">
<imagePainter path="myImage.png" sourceInsets="2 2 2 2"
paintCenter="true" stretch="true"/>
<insets top="2" bottom="2" left="2" right="2"/>
</style>
<bind style="buttonStyle" type="REGION" key="button"/>
SynthPainter 就其不绘制而言是抽象的,所有方法都是空的。虽然这些方法都没有类型化以引发异常,但子类可以假定传入了有效参数,如果没有,它们可以抛出 NullPointerException 或 IllegalArgumentException 以响应无效参数。
- 自从:
- 1.5
-
构造方法总结
构造方法 -
方法总结
修饰符和类型方法描述voidpaintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制箭头按钮的背景。voidpaintArrowButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制箭头按钮的边框。voidpaintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction) 绘制箭头按钮的前景。voidpaintButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制按钮的背景。voidpaintButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制按钮的边框。voidpaintCheckBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制复选框的背景。voidpaintCheckBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制复选框的边框。voidpaintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制复选框菜单项的背景。voidpaintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制复选框菜单项的边框。voidpaintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制颜色选择器的背景。voidpaintColorChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制颜色选择器的边框。voidpaintComboBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制组合框的背景。voidpaintComboBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制组合框的边框。voidpaintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制桌面图标的背景。voidpaintDesktopIconBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制桌面图标的边框。voidpaintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制桌面窗格的背景。voidpaintDesktopPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制桌面窗格的背景。voidpaintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制编辑器窗格的背景。voidpaintEditorPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制编辑器窗格的边框。voidpaintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文件选择器的背景。voidpaintFileChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文件选择器的边框。voidpaintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制格式化文本字段的背景。voidpaintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制格式化文本字段的边框。voidpaintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制内部框架的背景。voidpaintInternalFrameBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制内部框架的边框。voidpaintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制内部框架标题窗格的背景。voidpaintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制内部框架标题窗格的边框。voidpaintLabelBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制标签的背景。voidpaintLabelBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制标签的边框。voidpaintListBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制列表的背景。voidpaintListBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制列表的边框。voidpaintMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制菜单的背景。voidpaintMenuBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制菜单栏的背景。voidpaintMenuBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制菜单栏的边框。voidpaintMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制菜单的边框。voidpaintMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制菜单项的背景。voidpaintMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制菜单项的边框。voidpaintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制选项窗格的背景。voidpaintOptionPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制选项窗格的边框。voidpaintPanelBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制面板的背景。voidpaintPanelBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制面板的边框。voidpaintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制密码字段的背景。voidpaintPasswordFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制密码字段的边框。voidpaintPopupMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制弹出菜单的背景。voidpaintPopupMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制弹出菜单的边框。voidpaintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制进度条的背景。voidpaintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制进度条的背景。voidpaintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制进度条的边框。voidpaintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制进度条的边框。voidpaintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制进度条的前景。负责提供进度条的进度指示。voidpaintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制单选按钮的背景。voidpaintRadioButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制单选按钮的边框。voidpaintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制单选按钮菜单项的背景。voidpaintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制单选按钮菜单项的边框。voidpaintRootPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制根窗格的背景。voidpaintRootPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制根窗格的边框。voidpaintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滚动条的背景。voidpaintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条的背景。voidpaintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滚动条的边框。voidpaintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条的边框。voidpaintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条拇指的背景。voidpaintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条拇指的边框。voidpaintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滚动条轨道的背景。voidpaintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条轨道的背景。voidpaintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滚动条轨道的边界。voidpaintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条轨道的边界。voidpaintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滚动窗格的背景。voidpaintScrollPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滚动窗格的边框。voidpaintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制分隔符的背景。voidpaintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制分隔符的背景。voidpaintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制分隔符的边框。voidpaintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制分隔符的边框。voidpaintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制分隔符的前景。voidpaintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滑块的背景。voidpaintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块的背景。voidpaintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滑块的边框。voidpaintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块的边框。voidpaintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块拇指的背景。voidpaintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块滑块的边框。voidpaintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滑块轨道的背景。voidpaintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块轨道的背景。voidpaintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滑块轨道的边界。voidpaintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块轨道的边界。voidpaintSpinnerBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制微调器的背景。voidpaintSpinnerBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制微调器的边框。voidpaintSplitPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制拆分窗格的背景。voidpaintSplitPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制拆分窗格的边框。voidpaintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制拆分窗格分隔线的背景。voidpaintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制拆分窗格分隔线的背景。voidpaintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制拆分窗格分隔线的前景。voidpaintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 当用户拖动拆分窗格的分隔线时,绘制分隔线。voidpaintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制选项卡式窗格的背景。voidpaintTabbedPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制选项卡式窗格的边框。voidpaintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制包含选项卡式窗格的选定选项卡内容的区域的背景。voidpaintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制包含选项卡式窗格的选定选项卡内容的区域的边框。voidpaintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制选项卡式窗格的选项卡后面区域的背景。voidpaintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制选项卡式窗格的选项卡后面区域的背景。voidpaintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制选项卡式窗格选项卡后面区域的边框。voidpaintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制选项卡式窗格选项卡后面区域的边框。voidpaintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) 绘制选项卡式窗格的选项卡的背景。voidpaintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) 绘制选项卡式窗格的选项卡的背景。voidpaintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) 绘制选项卡式窗格的选项卡边框。voidpaintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) 绘制选项卡式窗格的选项卡边框。voidpaintTableBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制表格的背景。voidpaintTableBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制表格的边框。voidpaintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制表格标题的背景。voidpaintTableHeaderBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制表格标题的边框。voidpaintTextAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文本区域的背景。voidpaintTextAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文本区域的边框。voidpaintTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文本字段的背景。voidpaintTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文本字段的边框。voidpaintTextPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文本窗格的背景。voidpaintTextPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文本窗格的边框。voidpaintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制切换按钮的背景。voidpaintToggleButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制切换按钮的边框。voidpaintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制工具栏的背景。voidpaintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制工具栏的背景。voidpaintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制工具栏的边框。voidpaintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制工具栏的边框。voidpaintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制工具栏内容区域的背景。voidpaintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制工具栏内容区域的背景。voidpaintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制工具栏内容区域的边框。voidpaintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制工具栏内容区域的边框。voidpaintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 当工具栏与其主框架分离时,绘制包含工具栏的窗口的背景。voidpaintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 当工具栏与其主框架分离时,绘制包含工具栏的窗口的背景。voidpaintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 当工具栏从其主框架分离时,绘制包含工具栏的窗口的边框。voidpaintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 当工具栏从其主框架分离时,绘制包含工具栏的窗口的边框。voidpaintToolTipBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制工具提示的背景。voidpaintToolTipBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制工具提示的边框。voidpaintTreeBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制树的背景。voidpaintTreeBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制树的边界。voidpaintTreeCellBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制包含树中单元格的行的背景。voidpaintTreeCellBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制包含树中单元格的行的边框。voidpaintTreeCellFocus(SynthContext context, Graphics g, int x, int y, int w, int h) 当树中的单元格具有焦点时,绘制其焦点指示器。voidpaintViewportBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制视口的背景。voidpaintViewportBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制视口的边框。
-
构造方法详细信息
-
SynthPainter
protected SynthPainter()子类调用的构造方法。
-
-
方法详情
-
paintArrowButtonBackground
public void paintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制箭头按钮的背景。箭头按钮由某些组件创建,例如JScrollBar。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintArrowButtonBorder
绘制箭头按钮的边框。箭头按钮由某些组件创建,例如JScrollBar。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintArrowButtonForeground
public void paintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction) 绘制箭头按钮的前景。此方法负责绘制方向的图形表示,通常是箭头。箭头按钮由某些组件创建,例如JScrollBar- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度direction- SwingConstants.NORTH、SwingConstants.SOUTH SwingConstants.EAST 或 SwingConstants.WEST 之一
-
paintButtonBackground
绘制按钮的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintButtonBorder
绘制按钮的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintCheckBoxMenuItemBackground
public void paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制复选框菜单项的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintCheckBoxMenuItemBorder
public void paintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制复选框菜单项的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintCheckBoxBackground
绘制复选框的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintCheckBoxBorder
绘制复选框的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintColorChooserBackground
public void paintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制颜色选择器的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintColorChooserBorder
绘制颜色选择器的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintComboBoxBackground
绘制组合框的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintComboBoxBorder
绘制组合框的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintDesktopIconBackground
public void paintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制桌面图标的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintDesktopIconBorder
绘制桌面图标的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintDesktopPaneBackground
public void paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制桌面窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintDesktopPaneBorder
绘制桌面窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintEditorPaneBackground
绘制编辑器窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintEditorPaneBorder
绘制编辑器窗格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintFileChooserBackground
public void paintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制文件选择器的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintFileChooserBorder
绘制文件选择器的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintFormattedTextFieldBackground
public void paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制格式化文本字段的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintFormattedTextFieldBorder
public void paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制格式化文本字段的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintInternalFrameTitlePaneBackground
public void paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制内部框架标题窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintInternalFrameTitlePaneBorder
public void paintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制内部框架标题窗格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintInternalFrameBackground
public void paintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制内部框架的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintInternalFrameBorder
绘制内部框架的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintLabelBackground
绘制标签的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintLabelBorder
绘制标签的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintListBackground
绘制列表的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintListBorder
绘制列表的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintMenuBarBackground
绘制菜单栏的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintMenuBarBorder
绘制菜单栏的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintMenuItemBackground
绘制菜单项的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintMenuItemBorder
绘制菜单项的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintMenuBackground
绘制菜单的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintMenuBorder
绘制菜单的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintOptionPaneBackground
绘制选项窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintOptionPaneBorder
绘制选项窗格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintPanelBackground
绘制面板的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintPanelBorder
绘制面板的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintPasswordFieldBackground
public void paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制密码字段的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintPasswordFieldBorder
绘制密码字段的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintPopupMenuBackground
绘制弹出菜单的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintPopupMenuBorder
绘制弹出菜单的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintProgressBarBackground
public void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制进度条的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintProgressBarBackground
public void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制进度条的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JProgressBar.HORIZONTAL或JProgressBar.VERTICAL之一- 自从:
- 1.6
-
paintProgressBarBorder
绘制进度条的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintProgressBarBorder
public void paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制进度条的边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JProgressBar.HORIZONTAL或JProgressBar.VERTICAL之一- 自从:
- 1.6
-
paintProgressBarForeground
public void paintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制进度条的前景。负责提供进度条的进度指示。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JProgressBar.HORIZONTAL或JProgressBar.VERTICAL之一
-
paintRadioButtonMenuItemBackground
public void paintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制单选按钮菜单项的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintRadioButtonMenuItemBorder
public void paintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制单选按钮菜单项的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintRadioButtonBackground
public void paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制单选按钮的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintRadioButtonBorder
绘制单选按钮的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintRootPaneBackground
绘制根窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintRootPaneBorder
绘制根窗格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintScrollBarBackground
绘制滚动条的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintScrollBarBackground
public void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation- JScrollBar 的方向,JScrollBar.HORIZONTAL或JScrollBar.VERTICAL之一- 自从:
- 1.6
-
paintScrollBarBorder
绘制滚动条的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintScrollBarBorder
public void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条的边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation- JScrollBar 的方向,JScrollBar.HORIZONTAL或JScrollBar.VERTICAL之一- 自从:
- 1.6
-
paintScrollBarThumbBackground
public void paintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条拇指的背景。缩略图提供了关于JScrollPane中有多少组件可见的图形指示。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation- JScrollBar 的方向,JScrollBar.HORIZONTAL或JScrollBar.VERTICAL之一
-
paintScrollBarThumbBorder
public void paintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条拇指的边框。缩略图提供了关于JScrollPane中有多少组件可见的图形指示。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation- JScrollBar 的方向,JScrollBar.HORIZONTAL或JScrollBar.VERTICAL之一
-
paintScrollBarTrackBackground
public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滚动条轨道的背景。轨道包含拇指。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintScrollBarTrackBackground
public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条轨道的背景。轨道包含拇指。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation- JScrollBar 的方向,JScrollBar.HORIZONTAL或JScrollBar.VERTICAL之一- 自从:
- 1.6
-
paintScrollBarTrackBorder
绘制滚动条轨道的边界。轨道包含拇指。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintScrollBarTrackBorder
public void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滚动条轨道的边界。轨道包含拇指。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation- JScrollBar 的方向,JScrollBar.HORIZONTAL或JScrollBar.VERTICAL之一- 自从:
- 1.6
-
paintScrollPaneBackground
绘制滚动窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintScrollPaneBorder
绘制滚动窗格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSeparatorBackground
绘制分隔符的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSeparatorBackground
public void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制分隔符的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSeparator.HORIZONTAL或JSeparator.VERTICAL之一- 自从:
- 1.6
-
paintSeparatorBorder
绘制分隔符的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSeparatorBorder
public void paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制分隔符的边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSeparator.HORIZONTAL或JSeparator.VERTICAL之一- 自从:
- 1.6
-
paintSeparatorForeground
public void paintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制分隔符的前景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSeparator.HORIZONTAL或JSeparator.VERTICAL之一
-
paintSliderBackground
绘制滑块的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSliderBackground
public void paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSlider.HORIZONTAL或JSlider.VERTICAL之一- 自从:
- 1.6
-
paintSliderBorder
绘制滑块的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSliderBorder
public void paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块的边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSlider.HORIZONTAL或JSlider.VERTICAL之一- 自从:
- 1.6
-
paintSliderThumbBackground
public void paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块拇指的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSlider.HORIZONTAL或JSlider.VERTICAL之一
-
paintSliderThumbBorder
public void paintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块滑块的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSlider.HORIZONTAL或JSlider.VERTICAL之一
-
paintSliderTrackBackground
public void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制滑块轨道的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSliderTrackBackground
public void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块轨道的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSlider.HORIZONTAL或JSlider.VERTICAL之一- 自从:
- 1.6
-
paintSliderTrackBorder
绘制滑块轨道的边界。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSliderTrackBorder
public void paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制滑块轨道的边界。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSlider.HORIZONTAL或JSlider.VERTICAL之一- 自从:
- 1.6
-
paintSpinnerBackground
绘制微调器的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSpinnerBorder
绘制微调器的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSplitPaneDividerBackground
public void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制拆分窗格分隔线的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSplitPaneDividerBackground
public void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制拆分窗格分隔线的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSplitPane.HORIZONTAL_SPLIT或JSplitPane.VERTICAL_SPLIT之一- 自从:
- 1.6
-
paintSplitPaneDividerForeground
public void paintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制拆分窗格分隔线的前景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSplitPane.HORIZONTAL_SPLIT或JSplitPane.VERTICAL_SPLIT之一
-
paintSplitPaneDragDivider
public void paintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 当用户拖动拆分窗格的分隔线时,绘制分隔线。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JSplitPane.HORIZONTAL_SPLIT或JSplitPane.VERTICAL_SPLIT之一
-
paintSplitPaneBackground
绘制拆分窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintSplitPaneBorder
绘制拆分窗格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTabbedPaneBackground
绘制选项卡式窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTabbedPaneBorder
绘制选项卡式窗格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTabbedPaneTabAreaBackground
public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制选项卡式窗格的选项卡后面区域的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTabbedPaneTabAreaBackground
public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制选项卡式窗格的选项卡后面区域的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JTabbedPane.TOP、JTabbedPane.LEFT、JTabbedPane.BOTTOM或JTabbedPane.RIGHT之一- 自从:
- 1.6
-
paintTabbedPaneTabAreaBorder
public void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制选项卡式窗格选项卡后面区域的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTabbedPaneTabAreaBorder
public void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制选项卡式窗格选项卡后面区域的边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JTabbedPane.TOP、JTabbedPane.LEFT、JTabbedPane.BOTTOM或JTabbedPane.RIGHT之一- 自从:
- 1.6
-
paintTabbedPaneTabBackground
public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) 绘制选项卡式窗格的选项卡的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度tabIndex- 正在绘制的选项卡的索引。
-
paintTabbedPaneTabBackground
public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) 绘制选项卡式窗格的选项卡的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度tabIndex- 正在绘制的选项卡的索引。orientation-JTabbedPane.TOP、JTabbedPane.LEFT、JTabbedPane.BOTTOM或JTabbedPane.RIGHT之一- 自从:
- 1.6
-
paintTabbedPaneTabBorder
public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) 绘制选项卡式窗格的选项卡边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度tabIndex- 正在绘制的选项卡的索引。
-
paintTabbedPaneTabBorder
public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) 绘制选项卡式窗格的选项卡边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度tabIndex- 正在绘制的选项卡的索引。orientation-JTabbedPane.TOP、JTabbedPane.LEFT、JTabbedPane.BOTTOM或JTabbedPane.RIGHT之一- 自从:
- 1.6
-
paintTabbedPaneContentBackground
public void paintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制包含选项卡式窗格的选定选项卡内容的区域的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTabbedPaneContentBorder
public void paintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制包含选项卡式窗格的选定选项卡内容的区域的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTableHeaderBackground
public void paintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制表格标题的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTableHeaderBorder
绘制表格标题的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTableBackground
绘制表格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTableBorder
绘制表格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTextAreaBackground
绘制文本区域的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTextAreaBorder
绘制文本区域的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTextPaneBackground
绘制文本窗格的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTextPaneBorder
绘制文本窗格的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTextFieldBackground
绘制文本字段的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTextFieldBorder
绘制文本字段的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToggleButtonBackground
public void paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制切换按钮的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToggleButtonBorder
绘制切换按钮的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToolBarBackground
绘制工具栏的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToolBarBackground
public void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制工具栏的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JToolBar.HORIZONTAL或JToolBar.VERTICAL之一- 自从:
- 1.6
-
paintToolBarBorder
绘制工具栏的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToolBarBorder
public void paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制工具栏的边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JToolBar.HORIZONTAL或JToolBar.VERTICAL之一- 自从:
- 1.6
-
paintToolBarContentBackground
public void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制工具栏内容区域的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToolBarContentBackground
public void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制工具栏内容区域的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JToolBar.HORIZONTAL或JToolBar.VERTICAL之一- 自从:
- 1.6
-
paintToolBarContentBorder
绘制工具栏内容区域的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToolBarContentBorder
public void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 绘制工具栏内容区域的边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JToolBar.HORIZONTAL或JToolBar.VERTICAL之一- 自从:
- 1.6
-
paintToolBarDragWindowBackground
public void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h) 当工具栏与其主框架分离时,绘制包含工具栏的窗口的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToolBarDragWindowBackground
public void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 当工具栏与其主框架分离时,绘制包含工具栏的窗口的背景。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JToolBar.HORIZONTAL或JToolBar.VERTICAL之一- 自从:
- 1.6
-
paintToolBarDragWindowBorder
public void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h) 当工具栏从其主框架分离时,绘制包含工具栏的窗口的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToolBarDragWindowBorder
public void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) 当工具栏从其主框架分离时,绘制包含工具栏的窗口的边框。此实现调用没有方向的同名方法。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度orientation-JToolBar.HORIZONTAL或JToolBar.VERTICAL之一- 自从:
- 1.6
-
paintToolTipBackground
绘制工具提示的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintToolTipBorder
绘制工具提示的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTreeBackground
绘制树的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTreeBorder
绘制树的边界。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTreeCellBackground
绘制包含树中单元格的行的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTreeCellBorder
绘制包含树中单元格的行的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintTreeCellFocus
当树中的单元格具有焦点时,绘制其焦点指示器。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintViewportBackground
绘制视口的背景。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-
paintViewportBorder
绘制视口的边框。- 参数:
context- SynthContext 标识要绘制的JComponent和Regiong-Graphics画到x- 绘制区域的 X 坐标y- 绘制区域的 Y 坐标w- 绘制区域的宽度h- 要绘制的区域的高度
-