JavaTM 2 Platform
Std. Ed. v1.3

インタフェース
javax.swing.Icon の使用

Icon を使用しているパッケージ
javax.swing すべてのプラットフォームで可能な限り同じように機能する、「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.border Swing コンポーネントの周囲に各種のボーダを描画するための、クラスおよびインタフェースを提供します。 
javax.swing.colorchooser このパッケージには、JColorChooser コンポーネントによって使われるクラスおよびインタフェースが含まれています。  
javax.swing.filechooser このパッケージには、JFileChooser コンポーネントによって使われるクラスおよびインタフェースが含まれています。  
javax.swing.plaf 1 つのインタフェースおよび多くの抽象クラスを提供しており、Swing は、プラグイン可能な Look & Feel 機能を実現するためにこれらのクラスを利用します。 
javax.swing.plaf.basic 基本 Look & Feel に従って作成されたユーザインタフェースオブジェクトを提供します。 
javax.swing.plaf.metal このパッケージは、Metal の Look & Feel に従って構築されるユーザインタフェースオブジェクトを提供します。  
javax.swing.text 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 
javax.swing.tree javax.swing.JTree を処理するためのクラスとインタフェースを提供します。 
 

javax.swing での Icon の使用
 

Icon を実装している javax.swing のクラス
 class ImageIcon
          アイコンをイメージから描画する Icon インタフェースの実装です。
 

Icon として宣言されている javax.swing のフィールド
protected  Icon JOptionPane.icon
          区画で使用されるアイコンです。
protected  Icon JInternalFrame.frameIcon
          フレームの左上隅に表示されるアイコンです。
 

Icon を返す javax.swing のメソッド
 Icon JTabbedPane.getIconAt(int index)
          index のタブのアイコンを返します。
 Icon JTabbedPane.getDisabledIconAt(int index)
          index のタブの使用不可のアイコンを返します。
 Icon AbstractButton.getIcon()
          デフォルトのアイコンを返します。
 Icon AbstractButton.getPressedIcon()
          押された状態のボタンのアイコンを返します。
 Icon AbstractButton.getSelectedIcon()
          選択された状態のボタンのアイコンを返します。
 Icon AbstractButton.getRolloverIcon()
          反転した状態のボタンのアイコンを返します。
 Icon AbstractButton.getRolloverSelectedIcon()
          反転して選択された状態のボタンのアイコンを返します。
 Icon AbstractButton.getDisabledIcon()
          無効な状態のボタンのアイコンを返します。
 Icon AbstractButton.getDisabledSelectedIcon()
          無効かつ選択状態のボタンのアイコンを返します。
 Icon JOptionPane.getIcon()
          この区画が表示するアイコンを返します。
 Icon UIDefaults.getIcon(Object key)
          key の値が Icon の場合はそれを返し、そうでない場合は null を返します。
 Icon JInternalFrame.getFrameIcon()
          フレームのタイトルバー (通常は左上隅) に表示されるイメージを返します。
 Icon JLabel.getIcon()
          ラベルに表示するグラフィックイメージ (グリフやアイコン) を返します。
 Icon JLabel.getDisabledIcon()
          disabledIcon プロパティの値を返します。
 Icon JFileChooser.getIcon(File f)
          このファイルまたはファイルの種類のアイコンを返します。
static Icon UIManager.getIcon(Object key)
          デフォルトテーブルからアイコンを返します。
 

Icon 型のパラメータを持つ javax.swing のメソッド
 void JTextPane.insertIcon(Icon g)
          現在選択されているコンテンツの置換後の内容としてドキュメントにアイコンを挿入します。
 void JTabbedPane.insertTab(String title, Icon icon, Component component, String tip, int index)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) で表される componentindex の位置に挿入します。
 void JTabbedPane.addTab(String title, Icon icon, Component component, String tip)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) によって表される component および tip を追加します。
 void JTabbedPane.addTab(String title, Icon icon, Component component)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) で表される component を追加します。
 void JTabbedPane.setIconAt(int index, Icon icon)
          index のアイコンを icon に設定します。
 void JTabbedPane.setDisabledIconAt(int index, Icon disabledIcon)
          index の無効なアイコンを icon に設定します。
 int JTabbedPane.indexOfTab(Icon icon)
          指定された icon を持つ最初のタブインデックスを返します。
 void AbstractButton.setIcon(Icon defaultIcon)
          ボタンのデフォルトのアイコンを設定します。
 void AbstractButton.setPressedIcon(Icon pressedIcon)
          押された状態のボタンのアイコンを設定します。
 void AbstractButton.setSelectedIcon(Icon selectedIcon)
          選択された状態のボタンのアイコンを設定します。
 void AbstractButton.setRolloverIcon(Icon rolloverIcon)
          反転した状態のボタンのアイコンを設定します。
 void AbstractButton.setRolloverSelectedIcon(Icon rolloverSelectedIcon)
          反転して選択された状態のボタンのアイコンを設定します。
 void AbstractButton.setDisabledIcon(Icon disabledIcon)
          無効な状態のボタンのアイコンを設定します。
 void AbstractButton.setDisabledSelectedIcon(Icon disabledSelectedIcon)
          無効かつ選択状態のボタンのアイコンを設定します。
protected  void AbstractButton.init(String text, Icon icon)
           
protected  void JMenuItem.init(String text, Icon icon)
          指定されたテキストおよびアイコンでメニュー項目を初期化します。
static Object JOptionPane.showInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)
          初期選択、指定可能な選択項目、およびそれ以外のすべてのオプションの指定が可能なブロッキングダイアログでユーザに入力を求めます。
static void JOptionPane.showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon)
          すべてのパラメータを指定して、メッセージを表示するためのダイアログを表示します。
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)
          指定されたアイコンを持つモーダルダイアログを表示します。
static int JOptionPane.showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
          指定されたアイコンを持つモーダルダイアログを表示します。
static void JOptionPane.showInternalMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon)
          すべてのパラメータを指定して、メッセージを表示するための内部ダイアログパネルを表示します。
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)
          指定されたアイコンを持つ内部ダイアログパネルを表示します。
static int JOptionPane.showInternalOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
          指定されたアイコンを持つ内部ダイアログパネルを表示します。
static Object JOptionPane.showInternalInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)
          初期選択、指定可能な選択項目、およびそれ以外のすべてのオプションの指定が可能なブロッキング内部ダイアログでユーザに入力を求めます。
 void JOptionPane.setIcon(Icon newIcon)
          表示するアイコンを設定します。
static MatteBorder BorderFactory.createMatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
          指定されたアイコンの複数のタイルで構成される飾り縁ボーダを作成します。
static String SwingUtilities.layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
static String SwingUtilities.layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
 void JInternalFrame.setFrameIcon(Icon icon)
          フレームのタイトルバー (通常は左上隅) に表示するイメージを設定します。
 void JLabel.setIcon(Icon icon)
          このコンポーネントが表示するアイコンを定義します。
 void JLabel.setDisabledIcon(Icon disabledIcon)
          この JLabel が無効にされている (JLabel.setEnabled(false) が実行されている) 場合に表示されるアイコンを設定します。
 

Icon 型のパラメータを持つ javax.swing のコンストラクタ
JMenuItem(Icon icon)
          アイコンのあるメニュー項目を作成します。
JMenuItem(String text, Icon icon)
          指定されたテキストおよびアイコンでメニュー項目を作成します。
JCheckBoxMenuItem(Icon icon)
          初期状態で選択されていない、アイコン付きのチェックボックスメニュー項目を生成します。
JCheckBoxMenuItem(String text, Icon icon)
          初期状態で選択されていない、指定されたテキストおよびアイコン付きのチェックボックスメニュー項目を生成します。
JCheckBoxMenuItem(String text, Icon icon, boolean b)
          指定されたテキスト、アイコン、および選択状態を持つチェックボックスメニュー項目を生成します。
JToggleButton(Icon icon)
          初期状態で選択解除されているトグルボタンを、イメージの指定あり、テキストの指定なしで作成します。
JToggleButton(Icon icon, boolean selected)
          トグルボタンを、イメージおよび選択状態の指定あり、テキストの指定なしで作成します。
JToggleButton(String text, Icon icon)
          初期状態で選択解除されているトグルボタンを、指定されたテキストおよびイメージで作成します。
JToggleButton(String text, Icon icon, boolean selected)
          トグルボタンを、指定されたテキスト、イメージ、および選択状態で作成します。
JCheckBox(Icon icon)
          初期状態で選択されていない、アイコン付きのチェックボックスを生成します。
JCheckBox(Icon icon, boolean selected)
          アイコン付きのチェックボックスを生成し、それが初期状態で選択されるかどうかを指定します。
JCheckBox(String text, Icon icon)
          初期状態で選択されていない、指定されたテキストおよびアイコン付きのチェックボックスを生成します。
JCheckBox(String text, Icon icon, boolean selected)
          テキストおよびアイコン付きのチェックボックスを生成し、それが初期状態で選択されるかどうかを指定します。
JOptionPane(Object message, int messageType, int optionType, Icon icon)
          指定されたメッセージタイプ、オプション、およびアイコンを使用して、メッセージを表示するための JOptionPane のインスタンスを生成します。
JOptionPane(Object message, int messageType, int optionType, Icon icon, Object[] options)
          指定されたメッセージタイプ、アイコン、およびオプションを使用して、メッセージを表示するための JOptionPane のインスタンスを生成します。
JOptionPane(Object message, int messageType, int optionType, Icon icon, Object[] options, Object initialValue)
          指定されたメッセージタイプ、アイコン、およびオプションを使い、初期状態で選択されているオプションを指定して、メッセージを表示するための JOptionPane のインスタンスを生成します。
JButton(Icon icon)
          アイコン付きのボタンを作成します。
JButton(String text, Icon icon)
          初期テキストおよびアイコン付きのボタンを作成します。
AbstractAction(String name, Icon icon)
          指定された説明文字列およびアイコンを使用して、Action オブジェクトを定義します。
JLabel(String text, Icon icon, int horizontalAlignment)
          JLabel のインスタンスを、指定されたテキスト、イメージ、および水平方向の配置方法で作成します。
JLabel(Icon image, int horizontalAlignment)
          JLabel のインスタンスを、指定されたイメージと水平方向の配置方法で作成します。
JLabel(Icon image)
          JLabel のインスタンスを、指定されたイメージで作成します。
JRadioButton(Icon icon)
          初期状態では選択解除されているラジオボタンを、イメージの指定あり、テキストの指定なしで作成します。
JRadioButton(Icon icon, boolean selected)
          ラジオボタンを、選択状態とイメージの指定あり、テキストの指定なしで作成します。
JRadioButton(String text, Icon icon)
          初期状態では選択解除のラジオボタンを、テキストとイメージの指定ありで作成します。
JRadioButton(String text, Icon icon, boolean selected)
          ラジオボタンを、テキスト、イメージ、および選択状態の指定ありで作成します。
JRadioButtonMenuItem(Icon icon)
          アイコンを指定して JRadioButtonMenuItem を作成します。
JRadioButtonMenuItem(String text, Icon icon)
          ラジオボタンメニュー項目を、Icon とテキストを指定して作成します。
JRadioButtonMenuItem(Icon icon, boolean selected)
          ラジオボタンメニュー項目を、イメージおよび選択状態を指定し、テキストを指定しないで作成します。
JRadioButtonMenuItem(String text, Icon icon, boolean selected)
          ラジオボタンメニュー項目を、テキスト、イメージ、および選択状態を指定して作成します。
 

javax.swing.border での Icon の使用
 

Icon として宣言されている javax.swing.border のフィールド
protected  Icon MatteBorder.tileIcon
           
 

Icon を返す javax.swing.border のメソッド
 Icon MatteBorder.getTileIcon()
          ボーダのタイリングに使用したカラーを返します。
 

Icon 型のパラメータを持つ javax.swing.border のコンストラクタ
MatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
          飾り縁ボーダを、指定されたインセットおよびタイルアイコンで作成します。
MatteBorder(Insets borderInsets, Icon tileIcon)
          飾り縁ボーダを、指定されたインセットおよびタイルアイコンで作成します。
MatteBorder(Icon tileIcon)
          飾り縁ボーダを、指定されたタイルアイコンで作成します。
 

javax.swing.colorchooser での Icon の使用
 

Icon を返す javax.swing.colorchooser のメソッド
abstract  Icon AbstractColorChooserPanel.getSmallDisplayIcon()
          パネルの大きな表示アイコンを返します。
abstract  Icon AbstractColorChooserPanel.getLargeDisplayIcon()
          パネルの小さな表示アイコンを返します。
 

javax.swing.filechooser での Icon の使用
 

Icon を返す javax.swing.filechooser のメソッド
 Icon FileView.getIcon(File f)
          JFileChooser でこのファイルを表すアイコンです。
 

javax.swing.plaf での Icon の使用
 

Icon を実装している javax.swing.plaf のクラス
 class IconUIResource
           
 

Icon 型のパラメータを持つ javax.swing.plaf のコンストラクタ
BorderUIResource.MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon)
           
BorderUIResource.MatteBorderUIResource(Icon tileIcon)
           
IconUIResource(Icon delegate)
          既存の Icon インスタンスをラップする UIResource アイコンオブジェクトを作成します。
 

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

Icon として宣言されている javax.swing.plaf.basic のフィールド
protected  Icon BasicMenuItemUI.arrowIcon
           
protected  Icon BasicMenuItemUI.checkIcon
           
protected  Icon BasicRadioButtonUI.icon
           
protected  Icon BasicInternalFrameTitlePane.maxIcon
           
protected  Icon BasicInternalFrameTitlePane.minIcon
           
protected  Icon BasicInternalFrameTitlePane.iconIcon
           
protected  Icon BasicInternalFrameTitlePane.closeIcon
           
protected  Icon BasicFileChooserUI.directoryIcon
           
protected  Icon BasicFileChooserUI.fileIcon
           
protected  Icon BasicFileChooserUI.computerIcon
           
protected  Icon BasicFileChooserUI.hardDriveIcon
           
protected  Icon BasicFileChooserUI.floppyDriveIcon
           
protected  Icon BasicFileChooserUI.newFolderIcon
           
protected  Icon BasicFileChooserUI.upFolderIcon
           
protected  Icon BasicFileChooserUI.homeFolderIcon
           
protected  Icon BasicFileChooserUI.listViewIcon
           
protected  Icon BasicFileChooserUI.detailsViewIcon
           
protected  Icon BasicTreeUI.collapsedIcon
           
protected  Icon BasicTreeUI.expandedIcon
           
 

Icon を返す javax.swing.plaf.basic のメソッド
 Icon BasicRadioButtonUI.getDefaultIcon()
           
static Icon BasicIconFactory.getMenuItemCheckIcon()
           
static Icon BasicIconFactory.getMenuItemArrowIcon()
           
static Icon BasicIconFactory.getMenuArrowIcon()
           
static Icon BasicIconFactory.getCheckBoxIcon()
           
static Icon BasicIconFactory.getRadioButtonIcon()
           
static Icon BasicIconFactory.getCheckBoxMenuItemIcon()
           
static Icon BasicIconFactory.getRadioButtonMenuItemIcon()
           
static Icon BasicIconFactory.createEmptyFrameIcon()
           
protected  Icon BasicOptionPaneUI.getIcon()
          レシーバが Look & Feel を提供している JOptionPane からアイコンを返すか、getDefaultIcon で返されたデフォルトアイコンを返します。
protected  Icon BasicOptionPaneUI.getIconForType(int messageType)
          渡されたメッセージタイプに使うアイコンを返します。
protected  Icon BasicTabbedPaneUI.getIconForTab(int tabIndex)
           
 Icon BasicFileChooserUI.BasicFileView.getCachedIcon(File f)
           
 Icon BasicFileChooserUI.BasicFileView.getIcon(File f)
           
 Icon BasicTreeUI.getExpandedIcon()
           
 Icon BasicTreeUI.getCollapsedIcon()
           
 

Icon 型のパラメータを持つ javax.swing.plaf.basic のメソッド
protected  Dimension BasicMenuItemUI.getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap)
           
protected  void BasicMenuItemUI.paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap)
           
protected  void BasicTabbedPaneUI.layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void BasicTabbedPaneUI.paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected)
           
 void BasicFileChooserUI.BasicFileView.cacheIcon(File f, Icon i)
           
protected  String BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
          SwingUtilities.layoutCompoundLabel() への呼び出しを転送します。
 void BasicTreeUI.setExpandedIcon(Icon newG)
           
 void BasicTreeUI.setCollapsedIcon(Icon newG)
           
protected  void BasicTreeUI.drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)
           
 

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

Icon を実装している javax.swing.plaf.metal のクラス
 class MetalCheckBoxIcon
          OrganicCheckBoxUI に使用する CheckboxIcon の実装です。
 class MetalComboBoxIcon
          MetalComboBox を示す水平線を描画するユーティリティクラスです。
static class MetalIconFactory.FileIcon16
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.FolderIcon16
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.PaletteCloseIcon
          Palette クローズのアイコンを定義します。
static class MetalIconFactory.TreeControlIcon
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.TreeFolderIcon
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.TreeLeafIcon
           
 

Icon として宣言されている javax.swing.plaf.metal のフィールド
protected  Icon MetalInternalFrameTitlePane.paletteCloseIcon
           
protected  Icon MetalComboBoxButton.comboIcon
           
protected static Icon MetalSliderUI.horizThumbIcon
           
protected static Icon MetalSliderUI.vertThumbIcon
           
 

Icon を返す javax.swing.plaf.metal のメソッド
 Icon MetalComboBoxButton.getComboIcon()
           
static Icon MetalIconFactory.getFileChooserDetailViewIcon()
           
static Icon MetalIconFactory.getFileChooserHomeFolderIcon()
           
static Icon MetalIconFactory.getFileChooserListViewIcon()
           
static Icon MetalIconFactory.getFileChooserNewFolderIcon()
           
static Icon MetalIconFactory.getFileChooserUpFolderIcon()
           
static Icon MetalIconFactory.getInternalFrameAltMaximizeIcon(int size)
           
static Icon MetalIconFactory.getInternalFrameCloseIcon(int size)
           
static Icon MetalIconFactory.getInternalFrameDefaultMenuIcon()
           
static Icon MetalIconFactory.getInternalFrameMaximizeIcon(int size)
           
static Icon MetalIconFactory.getInternalFrameMinimizeIcon(int size)
           
static Icon MetalIconFactory.getRadioButtonIcon()
           
static Icon MetalIconFactory.getCheckBoxIcon()
          チェックボックスアイコンを返します。
static Icon MetalIconFactory.getTreeComputerIcon()
           
static Icon MetalIconFactory.getTreeFloppyDriveIcon()
           
static Icon MetalIconFactory.getTreeFolderIcon()
           
static Icon MetalIconFactory.getTreeHardDriveIcon()
           
static Icon MetalIconFactory.getTreeLeafIcon()
           
static Icon MetalIconFactory.getTreeControlIcon(boolean isCollapsed)
           
static Icon MetalIconFactory.getMenuArrowIcon()
           
static Icon MetalIconFactory.getMenuItemCheckIcon()
           
static Icon MetalIconFactory.getMenuItemArrowIcon()
           
static Icon MetalIconFactory.getCheckBoxMenuItemIcon()
           
static Icon MetalIconFactory.getRadioButtonMenuItemIcon()
           
static Icon MetalIconFactory.getHorizontalSliderThumbIcon()
           
static Icon MetalIconFactory.getVerticalSliderThumbIcon()
           
 

Icon 型のパラメータを持つ javax.swing.plaf.metal のメソッド
 void MetalComboBoxButton.setComboIcon(Icon i)
           
 

Icon 型のパラメータを持つ javax.swing.plaf.metal のコンストラクタ
MetalComboBoxButton(JComboBox cb, Icon i, CellRendererPane pane, JList list)
           
MetalComboBoxButton(JComboBox cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList list)
           
 

javax.swing.text での Icon の使用
 

Icon を返す javax.swing.text のメソッド
static Icon StyleConstants.getIcon(AttributeSet a)
          属性リストからアイコンの設定を返します。
 

Icon 型のパラメータを持つ javax.swing.text のメソッド
static void StyleConstants.setIcon(MutableAttributeSet a, Icon c)
          アイコンを設定します。
 

javax.swing.tree での Icon の使用
 

Icon として宣言されている javax.swing.tree のフィールド
protected  Icon DefaultTreeCellRenderer.closedIcon
          展開されていない、葉以外のノードを表示するのに使うアイコンです。
protected  Icon DefaultTreeCellRenderer.leafIcon
          葉ノードを表示するのに使うアイコンです。
protected  Icon DefaultTreeCellRenderer.openIcon
          展開されている、葉以外のノードを表示するのに使うアイコンです。
protected  Icon DefaultTreeCellEditor.editingIcon
          編集時に使うアイコンです。
 

Icon を返す javax.swing.tree のメソッド
 Icon DefaultTreeCellRenderer.getDefaultOpenIcon()
          展開されている、葉以外のノードを表すのに使う、現在の葉のデフォルトアイコンを返します。
 Icon DefaultTreeCellRenderer.getDefaultClosedIcon()
          展開されている、葉以外のノードを表すのに使う、現在の葉のデフォルトアイコンを返します。
 Icon DefaultTreeCellRenderer.getDefaultLeafIcon()
          展開されている、葉以外のノードを表すのに使う、現在の葉のデフォルトアイコンを返します。
 Icon DefaultTreeCellRenderer.getOpenIcon()
          展開されている、葉以外のノードを表すのに使うアイコンを返します。
 Icon DefaultTreeCellRenderer.getClosedIcon()
          展開されていない、葉以外のノードを表すのに使うアイコンを返します。
 Icon DefaultTreeCellRenderer.getLeafIcon()
          葉ノードを表すのに使うアイコンを返します。
 

Icon 型のパラメータを持つ javax.swing.tree のメソッド
 void DefaultTreeCellRenderer.setOpenIcon(Icon newIcon)
          展開されている、葉以外のノードを表すのに使うアイコンを設定します。
 void DefaultTreeCellRenderer.setClosedIcon(Icon newIcon)
          展開されていない、葉以外のノードを表すのに使うアイコンを設定します。
 void DefaultTreeCellRenderer.setLeafIcon(Icon newIcon)
          葉ノードを表すのに使うアイコンを設定します。
 


JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.