- 所有超级接口:
-
SynthConstants
- 所有已知实现类:
-
SynthButtonUI
,SynthCheckBoxMenuItemUI
,SynthCheckBoxUI
,SynthColorChooserUI
,SynthComboBoxUI
,SynthDesktopIconUI
,SynthDesktopPaneUI
,SynthEditorPaneUI
,SynthFormattedTextFieldUI
,SynthInternalFrameUI
,SynthLabelUI
,SynthListUI
,SynthMenuBarUI
,SynthMenuItemUI
,SynthMenuUI
,SynthOptionPaneUI
,SynthPanelUI
,SynthPasswordFieldUI
,SynthPopupMenuUI
,SynthProgressBarUI
,SynthRadioButtonMenuItemUI
,SynthRadioButtonUI
,SynthRootPaneUI
,SynthScrollBarUI
,SynthScrollPaneUI
,SynthSeparatorUI
,SynthSliderUI
,SynthSpinnerUI
,SynthSplitPaneUI
,SynthTabbedPaneUI
,SynthTableHeaderUI
,SynthTableUI
,SynthTextAreaUI
,SynthTextFieldUI
,SynthTextPaneUI
,SynthToggleButtonUI
,SynthToolBarUI
,SynthToolTipUI
,SynthTreeUI
,SynthViewportUI
SynthUI 用于为特定组件获取 SynthContext。
- 自从:
- 1.7
-
Field Summary
Fields declared in interface javax.swing.plaf.synth.SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
-
Method Summary
Modifier and TypeMethodDescription返回指定组件的上下文。void
paintBorder
(SynthContext context, Graphics g, int x, int y, int w, int h) 绘制边框。
-
Method Details
-
getContext
返回指定组件的上下文。- 参数:
-
c
- 请求 SynthContext 的组件。 - 返回:
- 描述组件的 SynthContext。
-
paintBorder
绘制边框。- 参数:
-
context
- 组件上下文 -
g
- 要绘制的Graphics
-
x
- X 坐标 -
y
- Y 坐标 -
w
- 边框的宽度 -
h
- 边框的高度
-