public static class BasicBorders.MenuBarBorder extends AbstractBorder implements UIResource
コンストラクタ | 説明 |
---|---|
MenuBarBorder(Color shadow, Color highlight) |
修飾子と型 | メソッド | 説明 |
---|---|---|
Insets |
getBorderInsets(Component c, Insets insets) |
インセット・パラメータを、このBorderの現在のイン・セットで初期化し直します。
|
void |
paintBorder(Component c, Graphics g, int x, int y, int width, int height) |
このデフォルト実装では、ペイントを行いません。
|
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
AbstractBorder
paintBorder
、インタフェースBorder
paintBorder
、クラスAbstractBorder
c
- このボーダーがペイントされるコンポーネントg
- ペイントのグラフィックスx
- ペイントされるボーダーのx座標y
- ペイントされるボーダーのy座標width
- ペイントされるボーダーの幅height
- ペイントされるボーダーの高さpublic Insets getBorderInsets(Component c, Insets insets)
AbstractBorder
getBorderInsets
、クラスAbstractBorder
c
- このボーダーのイン・セットの値を適用するコンポーネントinsets
- 初期化し直されるオブジェクトinsets
オブジェクト バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。