![](../../../../../../../../../../images/previous.gif)
![](../../../../../../../../../../images/next.gif)
EOViewLayout
Inherits From:
Object
java.awt.LayoutManager2
java.io.Serializable
Inherits From:
com.apple.client.eointerface
Class Description
EOViewLayout is an AWT LayoutManager that implements the geometry options available in InterfaceBuilder's Size inspector. The size of a Component embedded in a Container using this layout will be a function of both its autosizing mask and its initial size (see setAutosizingMask
for details).
EOViewLayout is for use in Java Client applications only; there isn't an equivalent class for Yellow Box.
Constructors
public EOViewLayout
()
Any consumers of EOViewLayout should use the defaultInstance
.
defaultInstance
public static EOViewLayout defaultInstance
()
Returns that single instance of the receiver used to lay out all InterfaceBuilder-generated Containers.
Instance Methods
setAutosizingMask
public void setAutosizingMask
(java.awt.Component component, int mask)
Sets the autosizing mask of component to mask. This information is subsequently used by the receiver to calculate the new location and dimensions of component whenever its parent is resized. The mask should be some bitwise combination of the following:
Fixed | neither component's location nor its dimensions may be adjusted |
MaxXMargin | the distance between component's right edge and that of its parent may be adjusted |
MinXMargin | component's left edge distance may be adjusted |
MaxYMargin | the distance between component's bottom edge and that of its parent may be adjusted |
MinYMargin | component's top edge distance may be adjusted |
WidthSizable | component's width may be adjusted |
HeightSizable | component's height may be adjusted |
BothSizable | both width and height may be adjusted |
Note that unless mask is Fixed (the default),component's adjusted size will be some factor of its size at the moment setAutosizingMask
was invoked.
![](../../../../../../../../../../images/previous.gif)
![](../../../../../../../../../../images/next.gif)
Copyright © 1998, Apple Computer, Inc. All rights reserved.