|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.tree.DefaultTreeCellEditor.EditorContainer
public class DefaultTreeCellEditor.EditorContainer
Container responsible for placing the editingComponent.
| Nested Class Summary |
|---|
| 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 |
| Field Summary |
|---|
| 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 Summary | |
|---|---|
DefaultTreeCellEditor.EditorContainer()
Constructs an EditorContainer object. |
|
| Method Summary | |
|---|---|
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 Containerg - 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 ContainerLayoutManager.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 ContainerDimension 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. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the .