|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager
public class BasicComboBoxUI.ComboBoxLayoutManager
A LayoutManager
used to position the sub-components of the
JComboBox
.
BasicComboBoxUI.createLayoutManager()
Constructor Summary | |
---|---|
BasicComboBoxUI.ComboBoxLayoutManager()
Creates a new ComboBoxLayoutManager object. |
Method Summary | |
---|---|
void |
addLayoutComponent(String name,
Component comp)
Adds a component to the layout. |
void |
layoutContainer(Container parent)
Arranges the components in the container. |
Dimension |
minimumLayoutSize(Container parent)
Returns the minimum layout size. |
Dimension |
preferredLayoutSize(Container parent)
Returns preferred layout size of the JComboBox. |
void |
removeLayoutComponent(Component comp)
Removes a component from the layout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicComboBoxUI.ComboBoxLayoutManager()
Method Detail |
---|
public void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
name
- the name to associate the component with (ignored).comp
- the component (ignored).public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
comp
- the component.public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
parent
- the Container for which the preferred size should be
calculated.
LayoutManager.minimumLayoutSize(Container)
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
parent
- the container.
LayoutManager.preferredLayoutSize(Container)
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
parent
- Container that should be layed out.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |