JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.tree
クラス DefaultTreeCellEditor.EditorContainer

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.tree.DefaultTreeCellEditor.EditorContainer
すべての実装インタフェース:
ImageObserver, MenuContainer, Serializable
含まれているクラス:
DefaultTreeCellEditor

public class DefaultTreeCellEditor.EditorContainer
extends Container

editingComponent の配置を扱うコンテナです。

関連項目:
直列化された形式

クラス java.awt.Container から継承した内部クラス
Container.AccessibleAWTContainer
 
クラス java.awt.Component から継承した内部クラス
Component.AccessibleAWTComponent
 
クラス java.awt.Component から継承したフィールド
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
インタフェース java.awt.image.ImageObserver から継承したフィールド
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
コンストラクタの概要
DefaultTreeCellEditor.EditorContainer()
          EditorContainer オブジェクトを生成します。
 
メソッドの概要
 void doLayout()
          このコンテナを配置します。
 void EditorContainer()
           
 Dimension getPreferredSize()
          コンテナの望ましいサイズを返します。
 void paint(Graphics g)
          Container.paint をオーバーライドして、ノードのアイコンを描画し、バックグラウンドカラーに選択色を使用します。
 
クラス java.awt.Container から継承したメソッド
add, add, add, add, add, addContainerListener, addImpl, addNotify, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate, validateTree
 
クラス java.awt.Component から継承したメソッド
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleContext, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

DefaultTreeCellEditor.EditorContainer

public DefaultTreeCellEditor.EditorContainer()
EditorContainer オブジェクトを生成します。
メソッドの詳細

EditorContainer

public void EditorContainer()

paint

public void paint(Graphics g)
Container.paint をオーバーライドして、ノードのアイコンを描画し、バックグラウンドカラーに選択色を使用します。
オーバーライド:
クラス Container 内の paint
クラス java.awt.Container からコピーされたタグ:
パラメータ:
g - 指定された Graphics ウィンドウ
関連項目:
Component.update(java.awt.Graphics)

doLayout

public void doLayout()
このコンテナを配置します。編集中であれば、エディタは x 軸のオフセット、y 軸の 0 に配置されます。
オーバーライド:
クラス Container 内の doLayout
クラス java.awt.Container からコピーされたタグ:
関連項目:
LayoutManager.layoutContainer(java.awt.Container), Container.setLayout(java.awt.LayoutManager), Container.validate()

getPreferredSize

public Dimension getPreferredSize()
コンテナの望ましいサイズを返します。これは、オフセットで表したエディタの望ましいサイズになります。
オーバーライド:
クラス Container 内の getPreferredSize
クラス java.awt.Container からコピーされたタグ:
戻り値:
このコンテナの推奨サイズを表す Dimension のインスタンス
関連項目:
Container.getMinimumSize(), Container.getLayout(), LayoutManager.preferredLayoutSize(java.awt.Container), Component.getPreferredSize()

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.