|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.plaf.synth.SynthPainter
public abstract class SynthPainter
SynthPainter 用于绘制 JComponent 的某些部分。每个 JComponent 至少有两个绘制方法:一个用于边框,另一个用于背景。有些 JComponent 有多个 Region,因此具有更多的绘制方法。
SynthPainter 的实例可通过 SynthStyle.getPainter(javax.swing.plaf.synth.SynthContext) 方法获取。
通常,可以通过 Synth 的 file 格式提供一个 SynthPainter。以下示例为所有将呈现图像 myImage.png 的 JButton 注册一个 painter:
<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 来响应无效参数。
| 构造方法摘要 | |
|---|---|
SynthPainter()
|
|
| 方法摘要 | |
|---|---|
void |
paintArrowButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制箭头按钮的背景。 |
void |
paintArrowButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制箭头按钮的边框。 |
void |
paintArrowButtonForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int direction)
绘制箭头按钮的前景。 |
void |
paintButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制按钮的背景。 |
void |
paintButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制按钮的边框。 |
void |
paintCheckBoxBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制复选框的背景。 |
void |
paintCheckBoxBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制复选框的边框。 |
void |
paintCheckBoxMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制复选框菜单项的背景。 |
void |
paintCheckBoxMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制复选框菜单项的边框。 |
void |
paintColorChooserBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制颜色选择器的背景。 |
void |
paintColorChooserBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制颜色选择器的边框。 |
void |
paintComboBoxBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制组合框的背景。 |
void |
paintComboBoxBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制组合框的边框。 |
void |
paintDesktopIconBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制桌面图标的背景。 |
void |
paintDesktopIconBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制桌面图标的边框。 |
void |
paintDesktopPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制桌面窗格的背景。 |
void |
paintDesktopPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制桌面窗格的边框。 |
void |
paintEditorPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制编辑器窗格的背景。 |
void |
paintEditorPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制编辑器窗格的边框。 |
void |
paintFileChooserBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制文件选择器的背景。 |
void |
paintFileChooserBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制文件选择器的边框。 |
void |
paintFormattedTextFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制已格式化文本字段的背景。 |
void |
paintFormattedTextFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制已格式化文本字段的边框。 |
void |
paintInternalFrameBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制内部窗体的背景。 |
void |
paintInternalFrameBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制内部窗体的边框。 |
void |
paintInternalFrameTitlePaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制内部窗体标题窗格的背景。 |
void |
paintInternalFrameTitlePaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制内部窗体标题窗格的边框。 |
void |
paintLabelBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制标签的背景。 |
void |
paintLabelBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制标签的边框。 |
void |
paintListBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制列表的背景。 |
void |
paintListBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制列表的边框。 |
void |
paintMenuBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制菜单的背景。 |
void |
paintMenuBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制菜单栏的背景。 |
void |
paintMenuBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制菜单栏的边框。 |
void |
paintMenuBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制菜单的边框。 |
void |
paintMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制菜单项的背景。 |
void |
paintMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制菜单项的边框。 |
void |
paintOptionPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制选项窗格的背景。 |
void |
paintOptionPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制选项窗格的边框。 |
void |
paintPanelBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制面板的背景。 |
void |
paintPanelBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制面板的边框。 |
void |
paintPasswordFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制密码字段的背景。 |
void |
paintPasswordFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制密码字段的边框。 |
void |
paintPopupMenuBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制弹出菜单的背景。 |
void |
paintPopupMenuBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制弹出菜单的边框。 |
void |
paintProgressBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制进度条的背景。 |
void |
paintProgressBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制进度条的背景。 |
void |
paintProgressBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制进度条的边框。 |
void |
paintProgressBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制进度条的边框。 |
void |
paintProgressBarForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制进度条的前景。 |
void |
paintRadioButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制单选钮的背景。 |
void |
paintRadioButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制单选钮的边框。 |
void |
paintRadioButtonMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制单选钮菜单项的背景。 |
void |
paintRadioButtonMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制单选钮菜单项的边框。 |
void |
paintRootPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制根窗体的背景。 |
void |
paintRootPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制根窗体的边框。 |
void |
paintScrollBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滚动条的背景。 |
void |
paintScrollBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滚动条的背景。 |
void |
paintScrollBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滚动条的边框。 |
void |
paintScrollBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滚动条的边框。 |
void |
paintScrollBarThumbBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滚动条的 thumb 的背景。 |
void |
paintScrollBarThumbBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滚动条的 thumb 的边框。 |
void |
paintScrollBarTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滚动条滑道的背景。 |
void |
paintScrollBarTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滚动条滑道的背景。 |
void |
paintScrollBarTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滚动条滑道的边框。 |
void |
paintScrollBarTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滚动条滑道的边框。 |
void |
paintScrollPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滚动窗格的背景。 |
void |
paintScrollPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滚动窗格的边框。 |
void |
paintSeparatorBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制分隔符的背景。 |
void |
paintSeparatorBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制分隔符的背景。 |
void |
paintSeparatorBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制分隔符的边框。 |
void |
paintSeparatorBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制分隔符的边框。 |
void |
paintSeparatorForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制分隔符的前景。 |
void |
paintSliderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滑块的背景。 |
void |
paintSliderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滑块的背景。 |
void |
paintSliderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滑块的边框。 |
void |
paintSliderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滑块的边框。 |
void |
paintSliderThumbBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滑块的 thumb 的背景。 |
void |
paintSliderThumbBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滑块的 thumb 的边框。 |
void |
paintSliderTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滑块的滑道的背景。 |
void |
paintSliderTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滑块的滑道的背景。 |
void |
paintSliderTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制滑块的滑道的边框。 |
void |
paintSliderTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制滑块的滑道的边框。 |
void |
paintSpinnerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制 spinner 的背景。 |
void |
paintSpinnerBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制 spinner 的边框。 |
void |
paintSplitPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制分隔窗格的背景。 |
void |
paintSplitPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制分隔窗格的边框。 |
void |
paintSplitPaneDividerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制分隔窗格的分隔栏的背景。 |
void |
paintSplitPaneDividerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制分隔窗格的分隔栏的背景。 |
void |
paintSplitPaneDividerForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制分隔窗格的分隔栏的前景。 |
void |
paintSplitPaneDragDivider(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
当用户拖动分隔符时,绘制分隔窗格的分隔栏。 |
void |
paintTabbedPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制选项卡窗格的背景。 |
void |
paintTabbedPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制选项卡窗格的边框。 |
void |
paintTabbedPaneContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制包含选项卡窗格中所选选项卡内容的区域的背景。 |
void |
paintTabbedPaneContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制包含选项卡窗格中所选选项卡内容的区域的边框。 |
void |
paintTabbedPaneTabAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制选项卡窗格的选项卡背后区域的背景。 |
void |
paintTabbedPaneTabAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制选项卡窗格的选项卡背后区域的背景。 |
void |
paintTabbedPaneTabAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制选项卡窗格的选项卡背后区域的边框。 |
void |
paintTabbedPaneTabAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制选项卡窗格的选项卡背后区域的边框。 |
void |
paintTabbedPaneTabBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex)
绘制选项卡窗格的选项卡的背景。 |
void |
paintTabbedPaneTabBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex,
int orientation)
绘制选项卡窗格的选项卡的背景。 |
void |
paintTabbedPaneTabBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex)
绘制选项卡窗格的选项卡的边框。 |
void |
paintTabbedPaneTabBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex,
int orientation)
绘制选项卡窗格的选项卡的边框。 |
void |
paintTableBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制表的背景。 |
void |
paintTableBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制表的边框。 |
void |
paintTableHeaderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制表标题的背景。 |
void |
paintTableHeaderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制表标题的边框。 |
void |
paintTextAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制文本区域的背景。 |
void |
paintTextAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制文本区域的边框。 |
void |
paintTextFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制文本字段的背景。 |
void |
paintTextFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制文本字段的边框。 |
void |
paintTextPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制文本窗格的背景。 |
void |
paintTextPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制文本窗格的边框。 |
void |
paintToggleButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制切换按钮的背景。 |
void |
paintToggleButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制切换按钮的边框。 |
void |
paintToolBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制工具栏的背景。 |
void |
paintToolBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制工具栏的背景。 |
void |
paintToolBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制工具栏的边框。 |
void |
paintToolBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制工具栏的边框。 |
void |
paintToolBarContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制工具栏内容区的背景。 |
void |
paintToolBarContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制工具栏内容区的背景。 |
void |
paintToolBarContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制工具栏内容区的边框。 |
void |
paintToolBarContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制工具栏内容区的边框。 |
void |
paintToolBarDragWindowBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制工具栏从主窗体中脱离出来时包含它的窗口的背景。 |
void |
paintToolBarDragWindowBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制工具栏从主窗体中脱离出来时包含它的窗口的背景。 |
void |
paintToolBarDragWindowBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制工具栏从主窗体中脱离出来时包含它的窗口的边框。 |
void |
paintToolBarDragWindowBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
绘制工具栏从主窗体中脱离出来时包含它的窗口的边框。 |
void |
paintToolTipBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制工具提示的背景。 |
void |
paintToolTipBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制工具提示的边框。 |
void |
paintTreeBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制树的背景。 |
void |
paintTreeBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制树的边框。 |
void |
paintTreeCellBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制包含树中某个单元格的行的背景。 |
void |
paintTreeCellBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制包含树中某个单元格的行的边框。 |
void |
paintTreeCellFocus(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
当树中某个单元格拥有焦点时,绘制该单元格的焦点指示器。 |
void |
paintViewportBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制视口的背景。 |
void |
paintViewportBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
绘制视口的边框。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public SynthPainter()
| 方法详细信息 |
|---|
public void paintArrowButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
JScrollBar 之类的组件创建。
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintArrowButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
JScrollBar 之类的组件创建。
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintArrowButtonForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int direction)
JScrollBar 之类的组件创建。
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度direction - SwingConstants.NORTH、SwingConstants.SOUTH、SwingConstants.EAST 或 SwingConstants.WEST 之一
public void paintButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintCheckBoxMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintCheckBoxMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintCheckBoxBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintCheckBoxBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintColorChooserBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintColorChooserBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintComboBoxBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintComboBoxBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintDesktopIconBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintDesktopIconBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintDesktopPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintDesktopPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintEditorPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintEditorPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintFileChooserBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintFileChooserBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintFormattedTextFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintFormattedTextFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintInternalFrameTitlePaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintInternalFrameTitlePaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintInternalFrameBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintInternalFrameBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintLabelBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintLabelBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintListBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintListBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintMenuBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintMenuBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintMenuBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintMenuBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintOptionPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintOptionPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintPanelBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintPanelBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintPasswordFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintPasswordFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintPopupMenuBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintPopupMenuBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintProgressBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintProgressBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JProgressBar.HORIZONTAL 或 JProgressBar.VERTICAL
public void paintProgressBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintProgressBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JProgressBar.HORIZONTAL 或 JProgressBar.VERTICAL
public void paintProgressBarForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - 为 JProgressBar.HORIZONTAL 或 JProgressBar.VERTICAL 之一
public void paintRadioButtonMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintRadioButtonMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintRadioButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintRadioButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintRootPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintRootPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintScrollBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintScrollBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JScrollBar 的方向,JScrollBar.HORIZONTAL 或
JScrollBar.VERTICAL
public void paintScrollBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintScrollBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JScrollBar 的方向,JScrollBar.HORIZONTAL 或
JScrollBar.VERTICAL
public void paintScrollBarThumbBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
JScrollPane 中的可见程度的图形指示。
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JScrollBar 的方向,JScrollBar.HORIZONTAL 或 JScrollBar.VERTICAL
public void paintScrollBarThumbBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
JScrollPane 中的可见程度的图形指示。
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JScrollBar 的方向,JScrollBar.HORIZONTAL 或 JScrollBar.VERTICAL
public void paintScrollBarTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintScrollBarTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JScrollBar 的方向,JScrollBar.HORIZONTAL 或
JScrollBar.VERTICAL
public void paintScrollBarTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintScrollBarTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JScrollBar 的方向,JScrollBar.HORIZONTAL 或
JScrollBar.VERTICAL
public void paintScrollPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintScrollPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSeparatorBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSeparatorBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSeparator.HORIZONTAL 或
JSeparator.VERTICAL
public void paintSeparatorBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSeparatorBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSeparator.HORIZONTAL 或
JSeparator.VERTICAL
public void paintSeparatorForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSeparator.HORIZONTAL 或 JSeparator.VERTICAL
public void paintSliderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSliderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSlider.HORIZONTAL 或
JSlider.VERTICAL
public void paintSliderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSliderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSlider.HORIZONTAL 或
JSlider.VERTICAL
public void paintSliderThumbBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSlider.HORIZONTAL 或 JSlider.VERTICAL
public void paintSliderThumbBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSlider.HORIZONTAL 或 JSlider.VERTICAL
public void paintSliderTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSliderTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSlider.HORIZONTAL 或
JSlider.VERTICAL
public void paintSliderTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSliderTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSlider.HORIZONTAL 或
JSlider.VERTICAL
public void paintSpinnerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSpinnerBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSplitPaneDividerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSplitPaneDividerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSplitPane.HORIZONTAL_SPLIT 或
JSplitPane.VERTICAL_SPLIT
public void paintSplitPaneDividerForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSplitPane.HORIZONTAL_SPLIT 或 JSplitPane.VERTICAL_SPLIT
public void paintSplitPaneDragDivider(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JSplitPane.HORIZONTAL_SPLIT 或 JSplitPane.VERTICAL_SPLIT
public void paintSplitPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintSplitPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTabbedPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTabbedPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTabbedPaneTabAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTabbedPaneTabAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JTabbedPane.TOP、JTabbedPane.LEFT、JTabbedPane.BOTTOM、或 JTabbedPane.RIGHT 之一
public void paintTabbedPaneTabAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTabbedPaneTabAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JTabbedPane.TOP、JTabbedPane.LEFT、JTabbedPane.BOTTOM、或 JTabbedPane.RIGHT 之一
public void paintTabbedPaneTabBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度tabIndex - 要绘制选项卡的索引。
public void paintTabbedPaneTabBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度tabIndex - 要绘制选项卡的索引。orientation - JTabbedPane.TOP、JTabbedPane.LEFT、JTabbedPane.BOTTOM、或 JTabbedPane.RIGHT 之一
public void paintTabbedPaneTabBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度tabIndex - 要绘制选项卡的索引。
public void paintTabbedPaneTabBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度tabIndex - 要绘制选项卡的索引。orientation - JTabbedPane.TOP、JTabbedPane.LEFT、JTabbedPane.BOTTOM、或 JTabbedPane.RIGHT 之一
public void paintTabbedPaneContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTabbedPaneContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTableHeaderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTableHeaderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTableBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTableBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTextAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTextAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTextPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTextPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTextFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTextFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToggleButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToggleButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToolBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToolBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JToolBar.HORIZONTAL 或
JToolBar.VERTICAL
public void paintToolBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToolBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JToolBar.HORIZONTAL 或
JToolBar.VERTICAL
public void paintToolBarContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToolBarContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JToolBar.HORIZONTAL 或
JToolBar.VERTICAL
public void paintToolBarContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToolBarContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JToolBar.HORIZONTAL 或
JToolBar.VERTICAL
public void paintToolBarDragWindowBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToolBarDragWindowBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JToolBar.HORIZONTAL 或
JToolBar.VERTICAL
public void paintToolBarDragWindowBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToolBarDragWindowBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度orientation - JToolBar.HORIZONTAL 或
JToolBar.VERTICAL
public void paintToolTipBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintToolTipBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTreeBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTreeBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTreeCellBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTreeCellBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintTreeCellFocus(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintViewportBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
public void paintViewportBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
context - 标识要绘制的 JComponent 和 Region 的 SynthContextg - 要绘制的 Graphicsx - 要绘制区域的 X 坐标y - 要绘制区域的 Y 坐标w - 要绘制区域的宽度h - 要绘制区域的高度
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。