|
JSR 217 (Maintenance Release) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Container | |
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components. |
javax.microedition.xlet | Provides interfaces used by applications and the application manager to communicate. |
Uses of Container in java.awt |
Subclasses of Container in java.awt | |
class |
Frame
A Frame is a top-level window with a title and a border. |
class |
Window
A Window object is a top-level window with no borders and no
menubar. |
Methods in java.awt that return Container | |
Container |
Window.getFocusCycleRootAncestor()
Always returns null because Windows have no ancestors; they
represent the top of the Component hierarchy. |
Container |
KeyboardFocusManager.getCurrentFocusCycleRoot()
Returns the current focus cycle root, if the current focus cycle root is in the same context as the calling thread. |
Container |
Component.getParent()
Gets the parent of this component. |
Container |
Component.getFocusCycleRootAncestor()
Returns the Container which is the focus cycle root of this Component's focus traversal cycle. |
Methods in java.awt with parameters of type Container | |
Dimension |
LayoutManager.preferredLayoutSize(Container parent)
Calculates the preferred size dimensions for the specified container, given the components it contains. |
Dimension |
LayoutManager.minimumLayoutSize(Container parent)
Calculates the minimum size dimensions for the specified container, given the components it contains. |
void |
LayoutManager.layoutContainer(Container parent)
Lays out the specified container. |
Dimension |
LayoutManager2.maximumLayoutSize(Container target)
Calculates the maximum size dimensions for the specified container, given the components it contains. |
float |
LayoutManager2.getLayoutAlignmentX(Container target)
Returns the alignment along the x axis. |
float |
LayoutManager2.getLayoutAlignmentY(Container target)
Returns the alignment along the y axis. |
void |
LayoutManager2.invalidateLayout(Container target)
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
Dimension |
GridLayout.preferredLayoutSize(Container parent)
Determines the preferred size of the container argument using this grid layout. |
Dimension |
GridLayout.minimumLayoutSize(Container parent)
Determines the minimum size of the container argument using this grid layout. |
void |
GridLayout.layoutContainer(Container parent)
Lays out the specified container using this layout. |
Dimension |
GridBagLayout.preferredLayoutSize(Container parent)
Determines the preferred size of the parent
container using this grid bag layout. |
Dimension |
GridBagLayout.minimumLayoutSize(Container parent)
Determines the minimum size of the parent container
using this grid bag layout. |
Dimension |
GridBagLayout.maximumLayoutSize(Container target)
Returns the maximum dimensions for this layout given the components in the specified target container. |
float |
GridBagLayout.getLayoutAlignmentX(Container parent)
Returns the alignment along the x axis. |
float |
GridBagLayout.getLayoutAlignmentY(Container parent)
Returns the alignment along the y axis. |
void |
GridBagLayout.invalidateLayout(Container target)
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
void |
GridBagLayout.layoutContainer(Container parent)
Lays out the specified container using this grid bag layout. |
protected void |
GridBagLayout.arrangeGrid(Container parent)
Lays out the grid. |
protected void |
GridBagLayout.ArrangeGrid(Container parent)
This method is obsolete and supplied for backwards compatability only; new code should call arrangeGrid instead. |
abstract void |
KeyboardFocusManager.downFocusCycle(Container aContainer)
Moves the focus down one focus traversal cycle. |
abstract Component |
FocusTraversalPolicy.getComponentAfter(Container focusCycleRoot,
Component aComponent)
Returns the Component that should receive the focus after aComponent. |
abstract Component |
FocusTraversalPolicy.getComponentBefore(Container focusCycleRoot,
Component aComponent)
Returns the Component that should receive the focus before aComponent. |
abstract Component |
FocusTraversalPolicy.getFirstComponent(Container focusCycleRoot)
Returns the first Component in the traversal cycle. |
abstract Component |
FocusTraversalPolicy.getLastComponent(Container focusCycleRoot)
Returns the last Component in the traversal cycle. |
abstract Component |
FocusTraversalPolicy.getDefaultComponent(Container focusCycleRoot)
Returns the default Component to focus. |
Component |
ContainerOrderFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot,
Component aComponent)
Returns the Component that should receive the focus after aComponent. |
Component |
ContainerOrderFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot,
Component aComponent)
Returns the Component that should receive the focus before aComponent. |
Component |
ContainerOrderFocusTraversalPolicy.getFirstComponent(Container focusCycleRoot)
Returns the first Component in the traversal cycle. |
Component |
ContainerOrderFocusTraversalPolicy.getLastComponent(Container focusCycleRoot)
Returns the last Component in the traversal cycle. |
Component |
ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container focusCycleRoot)
Returns the default Component to focus. |
boolean |
Component.isFocusCycleRoot(Container container)
Returns whether the specified Container is the focus cycle root of this Component's focus traversal cycle. |
boolean |
Container.isFocusCycleRoot(Container container)
Returns whether the specified Container is the focus cycle root of this Container's focus traversal cycle. |
Dimension |
CardLayout.preferredLayoutSize(Container parent)
Determines the preferred size of the container argument using this card layout. |
Dimension |
CardLayout.minimumLayoutSize(Container parent)
Calculates the minimum size for the specified panel. |
Dimension |
CardLayout.maximumLayoutSize(Container target)
Returns the maximum dimensions for this layout given the components in the specified target container. |
float |
CardLayout.getLayoutAlignmentX(Container parent)
Returns the alignment along the x axis. |
float |
CardLayout.getLayoutAlignmentY(Container parent)
Returns the alignment along the y axis. |
void |
CardLayout.invalidateLayout(Container target)
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
void |
CardLayout.layoutContainer(Container parent)
Lays out the specified container using this card layout. |
void |
CardLayout.first(Container parent)
Flips to the first card of the container. |
void |
CardLayout.next(Container parent)
Flips to the next card of the specified container. |
void |
CardLayout.previous(Container parent)
Flips to the previous card of the specified container. |
void |
CardLayout.last(Container parent)
Flips to the last card of the container. |
void |
CardLayout.show(Container parent,
String name)
Flips to the component that was added to this layout with the specified name , using addLayoutComponent . |
Dimension |
BorderLayout.minimumLayoutSize(Container target)
Determines the minimum size of the target container
using this layout manager. |
Dimension |
BorderLayout.preferredLayoutSize(Container target)
Determines the preferred size of the target
container using this layout manager, based on the components
in the container. |
Dimension |
BorderLayout.maximumLayoutSize(Container target)
Returns the maximum dimensions for this layout given the components in the specified target container. |
float |
BorderLayout.getLayoutAlignmentX(Container parent)
Returns the alignment along the x axis. |
float |
BorderLayout.getLayoutAlignmentY(Container parent)
Returns the alignment along the y axis. |
void |
BorderLayout.invalidateLayout(Container target)
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
void |
BorderLayout.layoutContainer(Container target)
Lays out the container argument using this border layout. |
Dimension |
FlowLayout.preferredLayoutSize(Container target)
Returns the preferred dimensions for this layout given the visible components in the specified target container. |
Dimension |
FlowLayout.minimumLayoutSize(Container target)
Returns the minimum dimensions needed to layout the visible components contained in the specified target container. |
void |
FlowLayout.layoutContainer(Container target)
Lays out the container. |
Uses of Container in java.awt.event |
Methods in java.awt.event that return Container | |
Container |
ContainerEvent.getContainer()
Returns the originator of the event. |
Uses of Container in javax.microedition.xlet |
Methods in javax.microedition.xlet that return Container | |
Container |
XletContext.getContainer()
Get the parent container for an Xlet to put its AWT components in. |
|
JSR 217 (Maintenance Release) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |