- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TreeUI
-
- javax.swing.plaf.basic.BasicTreeUI
-
- javax.swing.plaf.synth.SynthTreeUI
-
- すべての実装されたインタフェース:
PropertyChangeListener,EventListener,SynthConstants,SynthUI
public class SynthTreeUI extends BasicTreeUI implements PropertyChangeListener, SynthUI
JTreeのSynth L&F UIの委譲を提供します。- 導入されたバージョン:
- 1.7
-
-
ネストされたクラスのサマリー
-
クラスjavax.swing.plaf.basicで宣言されたネストされたクラス/インタフェース。BasicTreeUI
BasicTreeUI.CellEditorHandler, BasicTreeUI.ComponentHandler, BasicTreeUI.FocusHandler, BasicTreeUI.KeyHandler, BasicTreeUI.MouseHandler, BasicTreeUI.MouseInputHandler, BasicTreeUI.NodeDimensionsHandler, BasicTreeUI.PropertyChangeHandler, BasicTreeUI.SelectionModelPropertyChangeHandler, BasicTreeUI.TreeCancelEditingAction, BasicTreeUI.TreeExpansionHandler, BasicTreeUI.TreeHomeAction, BasicTreeUI.TreeIncrementAction, BasicTreeUI.TreeModelHandler, BasicTreeUI.TreePageAction, BasicTreeUI.TreeSelectionHandler, BasicTreeUI.TreeToggleAction, BasicTreeUI.TreeTraverseAction
-
-
フィールドのサマリー
-
クラスjavax.swing.plaf.basicで宣言されるフィールド。BasicTreeUI
cellEditor, collapsedIcon, createdCellEditor, createdRenderer, currentCellRenderer, depthOffset, drawingCache, editingComponent, editingPath, editingRow, editorHasDifferentSize, expandedIcon, largeModel, lastSelectedRow, leftChildIndent, nodeDimensions, preferredMinSize, preferredSize, rendererPane, rightChildIndent, stopEditingInCompleteEditing, totalChildIndent, tree, treeModel, treeSelectionModel, treeState, validCachedPreferredSize
-
インタフェースjavax.swing.plaf.synthで宣言されたフィールド。SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 SynthTreeUI()
-
メソッドのサマリー
すべてのメソッド 静的メソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 static ComponentUIcreateUI(JComponent x)指定されたコンポーネントの新しいUIオブジェクトを作成します。voidpaint(Graphics g, JComponent c)Look & Feelに従って、指定されたコンポーネントをペイントします。protected voidpaint(SynthContext context, Graphics g)指定されたコンポーネントをペイントします。voidupdate(Graphics g, JComponent c)このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。-
クラスjavax.swing.plaf.basicで宣言されたメソッド。BasicTreeUI
cancelEditing, checkForClickInExpandControl, completeEditing, completeEditing, completeUIInstall, completeUIUninstall, configureLayoutCache, createCellEditorListener, createCellRendererPane, createComponentListener, createDefaultCellEditor, createDefaultCellRenderer, createFocusListener, createKeyListener, createLayoutCache, createMouseListener, createNodeDimensions, createPropertyChangeListener, createSelectionModelPropertyChangeListener, createTreeExpansionListener, createTreeModelListener, createTreeSelectionListener, drawCentered, drawDashedHorizontalLine, drawDashedVerticalLine, ensureRowsAreVisible, getBaseline, getBaselineResizeBehavior, getCellEditor, getCellRenderer, getClosestPathForLocation, getCollapsedIcon, getDropLineRect, getEditingPath, getExpandedIcon, getHashColor, getHorizontalLegBuffer, getLastChildPath, getLeadSelectionRow, getLeftChildIndent, getMaximumSize, getMinimumSize, getModel, getPathBounds, getPathForRow, getPreferredMinSize, getPreferredSize, getPreferredSize, getRightChildIndent, getRowCount, getRowForPath, getRowHeight, getRowX, getSelectionModel, getShowsRootHandles, getVerticalLegBuffer, handleExpandControlClick, installComponents, installDefaults, installKeyboardActions, installListeners, isDropLine, isEditable, isEditing, isLargeModel, isLeaf, isLocationInExpandControl, isMultiSelectEvent, isRootVisible, isToggleEvent, isToggleSelectionEvent, paintDropLine, paintExpandControl, paintHorizontalLine, paintHorizontalPartOfLeg, paintRow, paintVerticalLine, paintVerticalPartOfLeg, pathWasCollapsed, pathWasExpanded, prepareForUIInstall, prepareForUIUninstall, selectPathForEvent, setCellEditor, setCellRenderer, setCollapsedIcon, setEditable, setExpandedIcon, setHashColor, setLargeModel, setLeftChildIndent, setModel, setPreferredMinSize, setRightChildIndent, setRootVisible, setRowHeight, setSelectionModel, setShowsRootHandles, shouldPaintExpandControl, startEditing, startEditingAtPath, stopEditing, toggleExpandState, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, updateCachedPreferredSize, updateCellEditor, updateDepthOffset, updateExpandedDescendants, updateLayoutCacheExpandedNodes, updateLeadSelectionRow, updateRenderer, updateSize
-
クラスjavax.swing.plafで宣言されたメソッド。ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, installUI, uninstallUI
-
クラスjava.langで宣言されたメソッド。オブジェクト
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
インタフェースjava.beansで宣言されたメソッド。PropertyChangeListener
propertyChange
-
インタフェースjavax.swing.plaf.synthで宣言されたメソッド。SynthUI
getContext, paintBorder
-
-
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent x)
指定されたコンポーネントの新しいUIオブジェクトを作成します。- パラメータ:
x- UIオブジェクトを作成するコンポーネント- 戻り値:
- UIオブジェクト
-
update
public void update(Graphics g, JComponent c)
このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。 このメソッドはコンポーネントのバックグラウンドをペイントし、paint(SynthContext,Graphics)メソッドを呼び出します。一般に、このメソッドはサブクラスによってオーバーライドする必要はありません。 すべてのLook & Feelの描画コードを
paintメソッドに入れるようにしてください。- オーバーライド:
update、クラスComponentUI- パラメータ:
g- ペイントに使用されるGraphicsオブジェクトc- ペイントされるコンポーネント- 関連項目:
paint(SynthContext,Graphics)
-
paint
public void paint(Graphics g, JComponent c)
Look & Feelに従って、指定されたコンポーネントをペイントします。このメソッドは、Synth Look & Feelで使用されません。 ペイントは
paint(SynthContext,Graphics)メソッドによって処理されます。- オーバーライド:
paint、クラスComponentUI- パラメータ:
g- ペイントに使用されるGraphicsオブジェクトc- ペイントされるコンポーネント- 関連項目:
paint(SynthContext,Graphics)
-
paint
protected void paint(SynthContext context, Graphics g)
指定されたコンポーネントをペイントします。- パラメータ:
context- ペイントされるコンポーネントのコンテキストg- ペイントに使用されるGraphicsオブジェクト- 関連項目:
update(Graphics,JComponent)
-
-