Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.tree.DefaultTreeCellEditor.EditorContainer
public class DefaultTreeCellEditor.EditorContainer extends Container
Container responsible for placing the editingComponent
.
Modifier and Type | Class and Description |
---|
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Modifier and Type | Field and Description |
---|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor and Description |
---|
DefaultTreeCellEditor.EditorContainer()
Constructs an EditorContainer object. |
Modifier and Type | Method and Description |
---|---|
void |
doLayout()
Lays out this Container . |
void |
EditorContainer()
|
Dimension |
getPreferredSize()
Returns the preferred size for the Container . |
void |
paint(Graphics g)
Overrides Container.paint to paint the node's
icon and use the selection color for the background. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultTreeCellEditor.EditorContainer()
EditorContainer
object.
Method Detail |
---|
public void EditorContainer()
public void paint(Graphics g)
Container.paint
to paint the node's
icon and use the selection color for the background.
paint
in class Container
g
- the specified Graphics windowComponent.update(Graphics)
public void doLayout()
Container
. If editing,
the editor will be placed at
offset
in the x direction and 0 for y.
doLayout
in class Container
LayoutManager.layoutContainer(java.awt.Container)
,
Container.setLayout(java.awt.LayoutManager)
,
Container.validate()
public Dimension getPreferredSize()
Container
.
This will be at least preferred size of the editor plus
offset
.
getPreferredSize
in class Container
Dimension
containing the preferred
size for the Container
; if
editingComponent
is null
the
Dimension
returned is 0, 0Container.getMinimumSize()
,
Container.getMaximumSize()
,
Container.getLayout()
,
LayoutManager.preferredLayoutSize(Container)
,
Component.getPreferredSize()
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.