java.awt.LayoutManagerMetalComboBoxUI.MetalComboBoxLayoutManagerpublic class BasicComboBoxUI.ComboBoxLayoutManager extends Object implements java.awt.LayoutManager
BasicComboBoxUI.| Constructor | Description |
|---|---|
ComboBoxLayoutManager() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addLayoutComponent(String name,
java.awt.Component comp) |
If the layout manager uses a per-component string,
adds the component
comp to the layout,
associating it
with the string specified by name. |
void |
layoutContainer(java.awt.Container parent) |
Lays out the specified container.
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent) |
Calculates the minimum size dimensions for the specified
container, given the components it contains.
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent) |
Calculates the preferred size dimensions for the specified
container, given the components it contains.
|
void |
removeLayoutComponent(java.awt.Component comp) |
Removes the specified component from the layout.
|
public void addLayoutComponent(String name, java.awt.Component comp)
java.awt.LayoutManagercomp to the layout,
associating it
with the string specified by name.addLayoutComponent in interface java.awt.LayoutManagername - the string to be associated with the componentcomp - the component to be addedpublic void removeLayoutComponent(java.awt.Component comp)
java.awt.LayoutManagerremoveLayoutComponent in interface java.awt.LayoutManagercomp - the component to be removedpublic java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
java.awt.LayoutManagerpreferredLayoutSize in interface java.awt.LayoutManagerparent - the container to be laid outLayoutManager.minimumLayoutSize(java.awt.Container)public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
java.awt.LayoutManagerminimumLayoutSize in interface java.awt.LayoutManagerparent - the component to be laid outLayoutManager.preferredLayoutSize(java.awt.Container)public void layoutContainer(java.awt.Container parent)
java.awt.LayoutManagerlayoutContainer in interface java.awt.LayoutManagerparent - the container to be laid out Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.abuild.jdk9-71a766d4c180