JavaTM Platform
Standard Ed. 6

クラス
javax.swing.JLabel の使用

JLabel を使用しているパッケージ
javax.swing すべてのプラットフォームで可能なかぎり同じように機能する「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.plaf.basic 基本 Look & Feel に従って構築されたユーザーインタフェースオブジェクトを提供します。 
javax.swing.plaf.metal デフォルトの Look & Feel である Java Look & Feel (コード名は Metal) に従って作成されたユーザーインタフェースオブジェクトを提供します。 
javax.swing.table javax.swing.JTable を処理するためのクラスおよびインタフェースを提供します。 
javax.swing.tree javax.swing.JTree を処理するためのクラスとインタフェースを提供します。 
 

javax.swing での JLabel の使用
 

javax.swing での JLabel のサブクラス
 class DefaultListCellRenderer
          リスト内の項目を描画します。
static class DefaultListCellRenderer.UIResource
          UIResource を実装する DefaultListCellRenderer のサブクラスです。
 

javax.swing.plaf.basic での JLabel の使用
 

javax.swing.plaf.basic での JLabel のサブクラス
 class BasicComboBoxRenderer
          ComboBox のレンダリングです。
static class BasicComboBoxRenderer.UIResource
          UIResource を実装する BasicComboBoxRenderer のサブクラスです。
 

JLabel 型のパラメータを持つ javax.swing.plaf.basic のメソッド
protected  void BasicLabelUI.installComponents(JLabel c)
           
protected  void BasicLabelUI.installDefaults(JLabel c)
           
protected  void BasicLabelUI.installKeyboardActions(JLabel l)
           
protected  void BasicLabelUI.installListeners(JLabel c)
           
protected  String BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
          SwingUtilities.layoutCompoundLabel() への呼び出しを転送します。
protected  void BasicLabelUI.paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
          clippedText を textX、textY の位置に background.lighter() でペイントします。
protected  void BasicLabelUI.paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
          clippedText を textX、textY の位置に、ラベルのフォアグラウンドカラーでペイントします。
protected  void BasicLabelUI.uninstallComponents(JLabel c)
           
protected  void BasicLabelUI.uninstallDefaults(JLabel c)
           
protected  void BasicLabelUI.uninstallKeyboardActions(JLabel c)
           
protected  void BasicLabelUI.uninstallListeners(JLabel c)
           
 

javax.swing.plaf.metal での JLabel の使用
 

javax.swing.plaf.metal での JLabel のサブクラス
protected  class MetalFileChooserUI.FileRenderer
           
 class MetalFileChooserUI.FilterComboBoxRenderer
          各種のサイズおよびスタイルを描画します。
 

JLabel 型のパラメータを持つ javax.swing.plaf.metal のメソッド
protected  void MetalLabelUI.paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
          テキストをそれぞれのラベルのフォアグラウンドカラーではなく、グレー (Label.disabledForeground) を使ってペイントします。
 

javax.swing.table での JLabel の使用
 

javax.swing.table での JLabel のサブクラス
 class DefaultTableCellRenderer
          JTable で各セルを描画 (表示) するための標準クラスです。
static class DefaultTableCellRenderer.UIResource
          UIResource を実装する DefaultTableCellRenderer のサブクラスです。
 

javax.swing.tree での JLabel の使用
 

javax.swing.tree での JLabel のサブクラス
 class DefaultTreeCellRenderer
          ツリーのエントリを表示します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。