public abstract class SynthPainter extends Object
SynthPainter
用于
JComponent
s绘画部分。至少每
JComponent
两漆方法:一为边界,一为背景。一些
JComponent
s有不止一个
Region
,因此更多的油漆方法。
从SynthStyle.getPainter(javax.swing.plaf.synth.SynthContext)
法得到的SynthPainter
。
你通常会提供一个SynthPainter
通过合成器的file格式。下面的示例注册所有JButton
s将渲染图像myImage.png
画家:
<风格id =“按钮”> < imagepainter路径=“myimage。png”sourceinsets =“2 2 2 2paintcenter =“true”=“真”/>伸展 <镶上=“2”=“2”底部左=“2”=“2” />< /样式> <绑定风格=“按钮式”=“区”键=“按钮” /> 风格id>
SynthPainter
是抽象的就不画,所有的方法都是空的。虽然这些方法都式抛出一个异常,子类可以认为有效的参数传递,如果不是他们能把NullPointerException
或IllegalArgumentException
响应参数无效。
Constructor and Description |
---|
SynthPainter() |
Modifier and Type | Method and Description |
---|---|
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)
描绘一条拇指的背景。
|
void |
paintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
描绘一条拇指边境。
|
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)
绘制滑块的拇指背景。
|
void |
paintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
绘制滑块的拇指的边框。
|
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)
描绘了一个旋转的背景。
|
void |
paintSpinnerBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
描绘了一个旋转的边界。
|
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)
描绘了一个视口的边界。
|
public void paintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
JScrollBar
。
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintArrowButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
JScrollBar
。
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
X坐标区域的油漆
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction)
JScrollBar
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintCheckBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintCheckBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintColorChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintComboBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintComboBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别z- 00000 db3-2294-4c9f-825a-42b102b885b6和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintDesktopIconBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintDesktopPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintEditorPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintFileChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
X坐标区域的油漆
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintInternalFrameBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintLabelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
X坐标区域的油漆
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintLabelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintListBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintListBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintMenuBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintMenuBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintOptionPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintPanelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintPanelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintPasswordFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintPopupMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintPopupMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
X坐标区域的油漆
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintRadioButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintRootPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintRootPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
orientation
的使用方向,一个
JScrollBar.HORIZONTAL
或
JScrollBar.VERTICAL
public void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
orientation
的使用方向,一个
JScrollBar.HORIZONTAL
或
JScrollBar.VERTICAL
public void paintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
JScrollPane
可见。
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
orientation
的使用方向,一个
JScrollBar.HORIZONTAL
或
JScrollBar.VERTICAL
public void paintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
JScrollPane
可见。
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
orientation
的使用方向,一个
JScrollBar.HORIZONTAL
或
JScrollBar.VERTICAL
public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
orientation
的使用方向,一个
JScrollBar.HORIZONTAL
或
JScrollBar.VERTICAL
public void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
orientation
的使用方向,一个
JScrollBar.HORIZONTAL
或
JScrollBar.VERTICAL
public void paintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintScrollPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintSpinnerBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintSplitPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTabbedPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTableHeaderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTableBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintTableBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
-面积高度油漆
public void paintTextAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTextAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTextPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintTextPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
X坐标区域的油漆
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToggleButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的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
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintToolTipBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
-面积高度油漆
public void paintTreeBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
-面积宽油漆
h
高度区域的油漆
public void paintTreeBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTreeCellBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTreeCellBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintTreeCellFocus(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintViewportBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
public void paintViewportBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- synthcontext识别
JComponent
和
Region
涂料
g
-
Graphics
涂料
x
地区的X坐标系涂料
y
- y的面积坐标涂料
w
宽区域的油漆
h
高度区域的油漆
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.