Java プラットフォーム 1.2

クラス
javax.swing.JLabel の使用

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

javax.swing における JLabel の使用方法
 

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

JLabel のパラメータを持つ javax.swing におけるコンストラクタ
JLabel.AccessibleJLabel.JLabel.AccessibleJLabel()
           
 

javax.swing.plaf.basic における JLabel の使用方法
 

javax.swing.plaf.basic における JLabel のサブクラス
 class BasicComboBoxRenderer
          ComboBox のレンダリングです。
static class BasicComboBoxRenderer.UIResource
          BasicComboBoxRenderer のサブクラスであり、UIResource の実装を提供します。
 

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


Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.