Java プラットフォーム 1.2

インタフェース
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 Basic 仕様 Look & Feel に従って作成されたユーザインタフェースオブジェクトを提供します。 
javax.swing.plaf.metal このパッケージは、Metal の Look & Feel に従って構築されるユーザインタフェースオブジェクトを提供します。  
javax.swing.text 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 
javax.swing.tree java.awt.swing.JTree を処理するためのクラスとインタフェースを提供します。 
 

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

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

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

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

Icon のパラメータを持つ javax.swing におけるメソッド
 void JTextPane.insertIcon(Icon g)
          現在選択されているコンテンツの置換後の内容としてドキュメントにアイコンを挿入します。
 void JLabel.setIcon(Icon icon)
          このコンポーネントが表示するアイコンを定義します。
 void JLabel.setDisabledIcon(Icon disabledIcon)
          この JLabel が無効にされている (JLabel.setEnabled(false) が実行されている) 場合に表示されるアイコンを設定します。
static MatteBorder BorderFactory.createMatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
          指定されたアイコンの複数のタイルで構成される飾り縁ボーダを作成します。
 void JInternalFrame.setFrameIcon(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)
          メニュー項目を指定されたテキストおよびアイコンで初期化します。
protected  void JRadioButtonMenuItem.init(String text, Icon icon)
          指定されたテキストとアイコンで、JRadioButtonMenuItem を初期化します。
protected  void JCheckBoxMenuItem.init(String text, Icon icon)
           
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)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
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)
          表示するアイコンを設定します。
 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 を持つ最初のタブインデックスを返します。
 

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

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

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

Icon のパラメータを持つ javax.swing.border におけるコンストラクタ
MatteBorder.MatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
          飾り縁ボーダを、指定されたインセットおよびタイルアイコンで作成します。
MatteBorder.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 におけるメソッド
abstract  Icon FileView.getIcon(File f)
          JFileChooser でこのファイルを表すアイコンです。
 

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

Icon を実装する javax.swing.plaf におけるクラス
 class IconUIResource
           
 

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

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

Icon として宣言される javax.swing.plaf.basic におけるフィールド
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 BasicMenuItemUI.arrowIcon
           
protected  Icon BasicMenuItemUI.checkIcon
           
protected  Icon BasicInternalFrameTitlePane.maxIcon
           
protected  Icon BasicInternalFrameTitlePane.minIcon
           
protected  Icon BasicInternalFrameTitlePane.iconIcon
           
protected  Icon BasicInternalFrameTitlePane.closeIcon
           
protected  Icon BasicRadioButtonUI.icon
           
protected  Icon BasicTreeUI.collapsedIcon
           
protected  Icon BasicTreeUI.expandedIcon
           
 

Icon を返す javax.swing.plaf.basic におけるメソッド
protected  Icon BasicOptionPaneUI.getIcon()
          レシーバが Look & Feel を提供している JOptionPane からアイコンを返すか、getDefaultIcon で返されたデフォルトアイコンを返します。
protected  Icon BasicOptionPaneUI.getIconForType(int messageType)
          渡された型用に使うアイコンを返します。
 Icon BasicFileChooserUI.BasicFileView.getCachedIcon(File f)
           
 Icon BasicFileChooserUI.BasicFileView.getIcon(File f)
           
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 BasicTabbedPaneUI.getIconForTab(int tabIndex)
           
 Icon BasicRadioButtonUI.getDefaultIcon()
           
 Icon BasicTreeUI.getExpandedIcon()
           
 Icon BasicTreeUI.getCollapsedIcon()
           
 

Icon のパラメータを持つ javax.swing.plaf.basic におけるメソッド
 void BasicFileChooserUI.BasicFileView.cacheIcon(File f, Icon i)
           
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 BasicTreeUI.setExpandedIcon(Icon newG)
           
 void BasicTreeUI.setCollapsedIcon(Icon newG)
           
protected  void BasicTreeUI.drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)
           
protected  String BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
          SwingUtilities.layoutCompoundLabel() への呼び出しを転送します。
 

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.TreeControlIcon
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.TreeFolderIcon
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.TreeLeafIcon
           
 

Icon として宣言される javax.swing.plaf.metal におけるフィールド
protected static Icon MetalSliderUI.horizThumbIcon
           
protected static Icon MetalSliderUI.vertThumbIcon
           
protected  Icon MetalComboBoxButton.comboIcon
           
 

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.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.MetalComboBoxButton(JComboBox cb, Icon i, CellRendererPane pane, JList list)
           
MetalComboBoxButton.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 DefaultTreeCellEditor.editingIcon
          編集時に使うアイコンです。
protected  Icon DefaultTreeCellRenderer.closedIcon
          展開されていない、葉以外のノードを表示するのに使うアイコンです。
protected  Icon DefaultTreeCellRenderer.leafIcon
          葉ノードを表示するのに使うアイコンです。
protected  Icon DefaultTreeCellRenderer.openIcon
          展開されている、葉以外のノードを表示するのに使うアイコンです。
 

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)
          葉ノードを表すのに使うアイコンを設定します。
 


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.