public static class BasicBorders.SplitPaneBorder extends Object implements Border, UIResource
| Modifier and Type | Field and Description |
|---|---|
protected Color |
highlight |
protected Color |
shadow |
| Constructor and Description |
|---|
SplitPaneBorder(Color highlight, Color shadow) |
| Modifier and Type | Method and Description |
|---|---|
Insets |
getBorderInsets(Component c)
返回边框的插入。
|
boolean |
isBorderOpaque()
返回边框是否不透明。
|
void |
paintBorder(Component c, Graphics g, int x, int y, int width, int height)
用指定的位置和大小绘制指定组件的边框。
|
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Border复制
paintBorder在界面
Border
c - 正在绘制边框的组件
g - 油漆图形
x - 绘画边框的x位置
y - 绘画边框的y位置
width - 绘画边框的宽度
height - 绘画边框的高度
public Insets getBorderInsets(Component c)
Border
getBorderInsets在接口
Border
c - 应用此边界插入值的组件
public boolean isBorderOpaque()
Border
isBorderOpaque在接口
Border
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.