public class BorderUIResource extends Object implements Border, UIResource, Serializable
修飾子と型 | クラス | 説明 |
---|---|---|
static class |
BorderUIResource.BevelBorderUIResource |
|
static class |
BorderUIResource.CompoundBorderUIResource |
|
static class |
BorderUIResource.EmptyBorderUIResource |
|
static class |
BorderUIResource.EtchedBorderUIResource |
|
static class |
BorderUIResource.LineBorderUIResource |
|
static class |
BorderUIResource.MatteBorderUIResource |
|
static class |
BorderUIResource.TitledBorderUIResource |
コンストラクタ | 説明 |
---|---|
BorderUIResource(Border delegate) |
既存のBorderインスタンスをラップする、UIResourceのボーダー・オブジェクトを作成します。
|
修飾子と型 | メソッド | 説明 |
---|---|---|
static Border |
getBlackLineBorderUIResource() |
|
Insets |
getBorderInsets(Component c) |
ボーダーのイン・セットを返します。
|
static Border |
getEtchedBorderUIResource() |
|
static Border |
getLoweredBevelBorderUIResource() |
|
static Border |
getRaisedBevelBorderUIResource() |
|
boolean |
isBorderOpaque() |
ボーダーが不透明かどうかを返します。
|
void |
paintBorder(Component c, Graphics g, int x, int y, int width, int height) |
指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
|
public BorderUIResource(Border delegate)
delegate
- ラップされるボーダーpublic static Border getEtchedBorderUIResource()
public static Border getLoweredBevelBorderUIResource()
public static Border getRaisedBevelBorderUIResource()
public static Border getBlackLineBorderUIResource()
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
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。