-
- All Superinterfaces:
-
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
public interface SynthUI extends SynthConstants
SynthUI用于获取特定组件的SynthContext。- 从以下版本开始:
- 1.7
-
-
Field Summary
-
Fields inherited from interface javax.swing.plaf.synth.SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 SynthContext
getContext(JComponent c)
返回指定组件的上下文。void
paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
画边框
-
-
-
方法详细信息
-
getContext
SynthContext getContext(JComponent c)
返回指定组件的上下文。- 参数
-
c
- 组件请求SynthContext。 - 结果
- SynthContext描述组件。
-
paintBorder
void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
画边框- 参数
-
context
- 组件上下文 -
g
-Graphics
上画 -
x
- X坐标 -
y
- Y坐标 -
w
- 边框的宽度 -
h
- 边框的高度
-
-