|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV NEXT | ||||||||
Uses of Class
java.awt.Container
| Uses of Container in java.awt |
| Subclasses of Container in java.awt | |
class |
Dialog
Dialog provides a top-level window normally used to receive
user input in applications. |
class |
FileDialog
This class implements a file selection dialog box widget. |
class |
Frame
This class is a top-level window with a title bar and window decorations. |
class |
Panel
A panel is a simple container class. |
class |
ScrollPane
This widget provides a scrollable region that allows a single subcomponent to be viewed through a smaller window. |
class |
Window
This class represents a top-level window with no decorations. |
| Fields in java.awt declared as Container | |
(package private) Container |
Component.parent
The parent. |
| Methods in java.awt that return Container | |
Container |
Component.getParent()
Returns the parent of this component. |
Container |
Component.getFocusCycleRootAncestor()
Returns the root container that owns the focus cycle where this component resides. |
Container |
Window.getFocusCycleRootAncestor()
Returns the root container that owns the focus cycle where this component resides. |
protected static Container |
Toolkit.getNativeContainer(Component component)
Returns the native container object of the specified component. |
Container |
KeyboardFocusManager.getCurrentFocusCycleRoot()
Retrieve the current focus cycle root, or null if the focus owner was not set by a thread in the current java.lang.ThreadGroup. |
protected Container |
KeyboardFocusManager.getGlobalCurrentFocusCycleRoot()
Retrieve the current focus cycle root, regardless of whether or not it was made set by a thread in the current java.lang.ThreadGroup. |
| Methods in java.awt with parameters of type Container | |
boolean |
Component.isFocusCycleRoot(Container c)
Tests if the container is the ancestor of the focus cycle that this component belongs to. |
boolean |
Container.isFocusCycleRoot(Container c)
Check whether the given Container is the focus cycle root of this Container's focus traversal cycle. |
void |
KeyboardFocusManager.setGlobalCurrentFocusCycleRoot(Container cycleRoot)
Set the Container that will be returned by KeyboardFocusManager.getCurrentFocusCycleRoot() 55 (when it is called from the current
java.lang.ThreadGroup) and KeyboardFocusManager.getGlobalCurrentFocusCycleRoot() 55 . |
abstract void |
KeyboardFocusManager.downFocusCycle(Container cont)
Moves the current focus downwards by one focus cycle. |
void |
DefaultKeyboardFocusManager.downFocusCycle(Container cont)
|
abstract Component |
FocusTraversalPolicy.getComponentAfter(Container root,
Component current)
Returns the Component that should receive the focus after a Component. |
abstract Component |
FocusTraversalPolicy.getComponentBefore(Container root,
Component current)
Returns the Component that should receive the focus before a Component. |
abstract Component |
FocusTraversalPolicy.getFirstComponent(Container root)
Returns the first Component in the traversal cycle. |
abstract Component |
FocusTraversalPolicy.getLastComponent(Container root)
Returns the last Component in the traversal cycle. |
abstract Component |
FocusTraversalPolicy.getDefaultComponent(Container root)
Returns the default Component to focus. |
Component |
ContainerOrderFocusTraversalPolicy.getComponentAfter(Container root,
Component current)
Returns the Component that should receive the focus after current. |
Component |
ContainerOrderFocusTraversalPolicy.getComponentBefore(Container root,
Component current)
Returns the Component that should receive the focus before current. |
Component |
ContainerOrderFocusTraversalPolicy.getFirstComponent(Container root)
Returns the first Component of root that should receive the focus. |
Component |
ContainerOrderFocusTraversalPolicy.getLastComponent(Container root)
Returns the last Component of root that should receive the focus. |
Component |
ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container root)
Returns the default Component of root that should receive the focus. |
Dimension |
LayoutManager.preferredLayoutSize(Container parent)
Calculates the preferred size for this container, taking into account the components it contains. |
Dimension |
LayoutManager.minimumLayoutSize(Container parent)
Calculates the minimum size for this container, taking into account the components it contains. |
void |
LayoutManager.layoutContainer(Container parent)
Lays out the components in the given container. |
Dimension |
LayoutManager2.maximumLayoutSize(Container target)
Determines the maximum size of the specified target container. |
float |
LayoutManager2.getLayoutAlignmentX(Container target)
Returns the preferred X axis alignment for the specified target container. |
float |
LayoutManager2.getLayoutAlignmentY(Container target)
Returns the preferred Y axis alignment for the specified target container. |
void |
LayoutManager2.invalidateLayout(Container target)
Forces the layout manager to purge any cached information about the layout of the target container. |
Dimension |
BorderLayout.minimumLayoutSize(Container target)
Returns the minimum size of the specified container using this layout. |
Dimension |
BorderLayout.preferredLayoutSize(Container target)
Returns the preferred size of the specified container using this layout. |
Dimension |
BorderLayout.maximumLayoutSize(Container target)
Returns the maximum size of the specified container using this layout. |
float |
BorderLayout.getLayoutAlignmentX(Container parent)
Returns the X axis alignment, which is a float indicating
where along the X axis this container wishs to position its layout. |
float |
BorderLayout.getLayoutAlignmentY(Container parent)
Returns the Y axis alignment, which is a float indicating
where along the Y axis this container wishs to position its layout. |
void |
BorderLayout.invalidateLayout(Container parent)
Instructs this object to discard any layout information it might have cached. |
void |
BorderLayout.layoutContainer(Container target)
Lays out the specified container according to the constraints in this object. |
private Dimension |
BorderLayout.calcSize(Container target,
int what)
This is a helper function used to compute the various sizes for this layout. |
Component |
BorderLayout.getLayoutComponent(Container container,
java.lang.Object constraints)
Return the component at the specified location, which must be one of the absolute constants such as CENTER or SOUTH. |
void |
FlowLayout.layoutContainer(Container parent)
Lay out the container's components based on current settings. |
Dimension |
FlowLayout.minimumLayoutSize(Container cont)
Returns the minimum layout size for the specified container using this layout. |
Dimension |
FlowLayout.preferredLayoutSize(Container cont)
Returns the preferred layout size for the specified container using this layout. |
private Dimension |
FlowLayout.getSize(Container parent,
boolean is_min)
|
void |
CardLayout.first(Container parent)
Cause the first component in the container to be displayed. |
float |
CardLayout.getLayoutAlignmentX(Container parent)
Return this layout manager's x alignment. |
float |
CardLayout.getLayoutAlignmentY(Container parent)
Returns this layout manager's y alignment. |
void |
CardLayout.invalidateLayout(Container target)
Invalidate this layout manager's state. |
void |
CardLayout.last(Container parent)
Cause the last component in the container to be displayed. |
void |
CardLayout.layoutContainer(Container parent)
Lays out the container. |
Dimension |
CardLayout.maximumLayoutSize(Container target)
Get the maximum layout size of the container. |
Dimension |
CardLayout.minimumLayoutSize(Container target)
Get the minimum layout size of the container. |
void |
CardLayout.next(Container parent)
Cause the next component in the container to be displayed. |
Dimension |
CardLayout.preferredLayoutSize(Container parent)
Get the preferred layout size of the container. |
void |
CardLayout.previous(Container parent)
Cause the previous component in the container to be displayed. |
void |
CardLayout.show(Container parent,
java.lang.String name)
Cause the named component to be shown. |
private void |
CardLayout.gotoComponent(Container parent,
int what)
This implements first(), last(), next(), and previous(). |
private Dimension |
CardLayout.getSize(Container parent,
int what)
|
void |
GridLayout.layoutContainer(Container parent)
Lay out the container's components based on current settings. |
Dimension |
GridLayout.minimumLayoutSize(Container cont)
Get the minimum layout size of the container. |
Dimension |
GridLayout.preferredLayoutSize(Container cont)
Get the preferred layout size of the container. |
private Dimension |
GridLayout.getSize(Container parent,
boolean is_min)
|
Dimension |
GridBagLayout.preferredLayoutSize(Container parent)
|
Dimension |
GridBagLayout.minimumLayoutSize(Container parent)
|
Dimension |
GridBagLayout.maximumLayoutSize(Container target)
|
void |
GridBagLayout.layoutContainer(Container parent)
|
float |
GridBagLayout.getLayoutAlignmentX(Container target)
|
float |
GridBagLayout.getLayoutAlignmentY(Container target)
|
void |
GridBagLayout.invalidateLayout(Container target)
|
protected void |
GridBagLayout.ArrangeGrid(Container parent)
Obsolete. |
protected GridBagLayoutInfo |
GridBagLayout.GetLayoutInfo(Container parent,
int sizeflag)
Obsolete. |
protected Dimension |
GridBagLayout.GetMinSize(Container parent,
GridBagLayoutInfo info)
Obsolete. |
protected Dimension |
GridBagLayout.getMinSize(Container parent,
GridBagLayoutInfo info)
|
protected void |
GridBagLayout.arrangeGrid(Container parent)
|
protected GridBagLayoutInfo |
GridBagLayout.getLayoutInfo(Container parent,
int sizeflag)
|
| Constructors in java.awt with parameters of type Container | |
Component.HeavyweightInLightweightListener(Container parent)
Constructor. |
|
|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV NEXT | ||||||||