public class CoordinateLayout extends Layout
Constructor and Description |
---|
CoordinateLayout()
Deprecated.
Allows creating a coordinate layouts that disables the scaling feature
|
CoordinateLayout(Dimension d)
Deprecated.
This constructor accepts the relative width and height used to define the
aspect ratio of the Container
|
CoordinateLayout(int width,
int height)
Deprecated.
This constructor accepts the relative width and height used to define the
aspect ratio of the Container
|
Modifier and Type | Method and Description |
---|---|
Dimension |
getPreferredSize(Container parent)
Deprecated.
Returns the container preferred size
|
boolean |
isOverlapSupported()
Deprecated.
This method returns true if the Layout allows Components to
Overlap.
|
void |
layoutContainer(Container parent)
Deprecated.
Layout the given parent container children
|
addLayoutComponent, cloneConstraint, equals, getChildrenInTraversalOrder, getComponentConstraint, hashCode, isConstraintTracking, obscuresPotential, overridesTabIndices, removeLayoutComponent, updateTabIndices
public CoordinateLayout()
public CoordinateLayout(int width, int height)
width
- height
- public CoordinateLayout(Dimension d)
d
- the width/heightpublic void layoutContainer(Container parent)
layoutContainer
in class Layout
parent
- the given parent containerpublic Dimension getPreferredSize(Container parent)
getPreferredSize
in class Layout
parent
- the parent containerpublic boolean isOverlapSupported()
isOverlapSupported
in class Layout