Methods' 詳細(に述べる)s |
isNodeExpanded
- Description
- Returns true if Node is 現在/一般に 拡大するd.
- Parameter Node
- the XTreeNode 明示するing the node to check.
- Returns
- 誤った if Node or at least one of its parent nodes are 崩壊(する)d,
true if Node and all of its parent nodes are 拡大するd.
- Throws
- ::com::sun::星/主役にする::lang::IllegalArgumentException
if Node is not a valid node of the corresponding XTreeDataModel.
|
|
isNodeCollapsed
- Description
- Returns true if Node is 現在/一般に 崩壊(する)d.
- Parameter Node
- the XTreeNode 明示するing the node to check
- Returns
- true if Node or at least one of its parent nodes are 崩壊(する)d,
誤った if Node and all of its parent nodes are 拡大するd
- Throws
- ::com::sun::星/主役にする::lang::IllegalArgumentException
if Node is not a valid node of the corresponding XTreeDataModel.
|
|
makeNodeVisible
- Description
- 確実にするs that Node is 現在/一般に 明白な.
This 含むs 拡大するing all parent nodes and scroll the 支配(する)/統制する so this
node is 明白な in the 支配(する)/統制するs 陳列する,発揮する area.
- Parameter Node
- the XTreeNode 明示するing the node to make 明白な.
- Throws
- ::com::sun::星/主役にする::lang::IllegalArgumentException
if Node is not a valid node of the corresponding XTreeDataModel.
- Throws
- ExpandVetoException
if Nodecan't be made 明白な since at least one of the parent nodes are
崩壊(する)d and 拡大するing failed because at least one of the 登録(する)d
XTreeExpansionListener raised a ExpandVetoException.
|
|
isNodeVisible
- Description
- Returns true if Node is 現在/一般に 明白な.
明白な means it is either the root or all of its parents are 拡大するd.
- Returns
- true if Node is 明白な, さもなければ 誤った
- Throws
- ::com::sun::星/主役にする::lang::IllegalArgumentException
if Node is not a valid node of the corresponding XTreeDataModel.
|
|
expandNode
- Description
- 確実にするs that Node is 拡大するd and 明白な.
If Node is a leaf node, this will have no 影響.
- Parameter Node
- the XTreeNode identifying a node.
- Throws
- ::com::sun::星/主役にする::lang::IllegalArgumentException
if Node is not a valid node of the corresponding XTreeDataModel.
- Throws
- ExpandVetoException
if 拡大するing Node failed because at least one of the 登録(する)d
XTreeExpansionListener raised a ExpandVetoException.
|
|
collapseNode
- Description
- 確実にするs that Node is 崩壊(する)d.
- Parameter Node
- the XTreeNode identifying a node
- Throws
- ::com::sun::星/主役にする::lang::IllegalArgumentException
if Node is not a valid node of the corresponding XTreeDataModel.
- Throws
- ExpandVetoException
if 崩壊(する)ing Node failed because at least one of the 登録(する)d
XTreeExpansionListener raised a ExpandVetoException.
|
|
addTreeExpansionListener
- Description
- 追加するs a listener for ::TreeExpansion events.
- Parameter Listener
- a XTreeExpansionListener that will be 通知するd when a tree
node is 拡大するd or 崩壊(する)d.
|
|
removeTreeExpansionListener
- Description
- 除去するs a listener for ::TreeExpansion events.
- Parameter Listener
- the XTreeExpansionListener to 除去する.
|
|
getNodeForLocation
XTreeNode |
getNodeForLocation( |
[in] long |
x, |
| [in] long |
y ); |
- Description
- Returns the node at the 明示するd 場所.
- Parameter x
- an integer giving the number of pixels horizontally from the left 辛勝する/優位 of the 支配(する)/統制するs 陳列する,発揮する area
- Parameter y
- an integer giving the number of pixels vertically from the 最高の,を越す 辛勝する/優位 of the 支配(する)/統制するs 陳列する,発揮する area
- Returns
- the XTreeNode for the node at that 場所, or 0 if there is no node at the given position
|
|
getClosestNodeForLocation
XTreeNode |
getClosestNodeForLocation( |
[in] long |
x, |
| [in] long |
y ); |
- Description
- Returns the node that is closest to x,y.
If no nodes are 現在/一般に viewable, or there is no model, returns null,
さもなければ it always returns a valid node. To 実験(する) if the node is 正確に/まさに
at x, y, use getNodeForLocation().
- Parameter x
- an integer giving the number of pixels horizontally from the left 辛勝する/優位 of the 支配(する)/統制するs 陳列する,発揮する area
@para y
an integer giving the number of pixels vertically from the 最高の,を越す 辛勝する/優位 of the 支配(する)/統制するs 陳列する,発揮する area
- Returns
- the XTreeNode for the node closest to that 場所, null if nothing is viewable or there is no model
|
|
getNodeRect
- Description
- returns the rectangle 占領するd by the visual 代表 of the given node
- Parameter Node
- the node whose geometry should be 得るd
- Throws
- ::com::sun::星/主役にする::lang::IllegalArgumentException
if the given node is NULL, or does not belong to the tree's data model
|
|
isEditing
- Description
- Returns true if one of tree's nodes is 存在 現在/一般に edited.
The node that is 存在 edited can be 得るd using XSelectionSupplier::getSelection().
- Returns
- true if the 使用者 is 現在/一般に editing a node
|
|
stopEditing
- Description
- Ends the 現在の editing 開会/開廷/会期.
All 登録(する)d XTreeEditListener are 通知するd if an editing 開会/開廷/会期 was in 進歩
Has no 影響 if the tree isn't 存在 edited.
- Returns
- true if editing was in 進歩 and is now stopped, 誤った if editing was not in 進歩
|
|
cancelEditing
- Description
- 取り消すs the 現在の editing 開会/開廷/会期.
Has no 影響 if the tree isn't 存在 edited.
|
|
startEditingAtNode
- Description
- Selects Node and 始めるs editing.
If TreeControlModel::Editable is 誤った or if there are no
登録(する)d XTreeEditListener, this call has no 影響.
Calling this method also 確実にするs that Node will become 明白な.
- Parameter Node
- the XTreeNode identifying a node.
- Throws
- ::com::sun::星/主役にする::lang::IllegalArgumentException
if Node is not a valid node of the corresponding XTreeDataModel.
|
|
addTreeEditListener
|
removeTreeEditListener
|
Copyright © 2013, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.