|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--FlexibleConstraints
Specifies the location, the size and the layout policy of the components that are laid out using the FlexibleLayout class.
FlexibleConstants
,
FlexibleLayout
Constructor Summary | |
FlexibleConstraints(int x,
int y)
Creates new FlexibleConstraints constraints with the specified component location and the default layout policy. |
|
FlexibleConstraints(int x,
int y,
int relative)
Creates new FlexibleConstraints constraints with the specified component location and the specified layout policy. |
|
FlexibleConstraints(int x,
int y,
int width,
int height)
Creates new FlexibleConstraints constraints with the specified component bounds and the default layout policy. |
|
FlexibleConstraints(int x,
int y,
int width,
int height,
java.awt.Insets insets)
Creates new FlexibleConstraints constraints with the specified component bounds and the default layout policy. |
|
FlexibleConstraints(int x,
int y,
int width,
int height,
java.awt.Insets insets,
int relative)
Creates new FlexibleConstraints constraints with the specified component bounds, the specified insets and the specified layout policy. |
|
FlexibleConstraints(int x,
int y,
int width,
int height,
int relative)
Creates new FlexibleConstraints constraints with the specified component bounds and the specified layout policy. |
|
FlexibleConstraints(java.awt.Point location)
Creates new FlexibleConstraints constraints with the specified component location and the default layout policy. |
|
FlexibleConstraints(java.awt.Point location,
int relative)
Creates new FlexibleConstraints constraints with the specified component location and the specified layout policy. |
|
FlexibleConstraints(java.awt.Rectangle bounds)
Creates new FlexibleConstraints constraints with the specified component bounds and default layout policy. |
|
FlexibleConstraints(java.awt.Rectangle bounds,
java.awt.Insets insets)
Creates new FlexibleConstraints constraints with the specified component bounds and default layout policy. |
|
FlexibleConstraints(java.awt.Rectangle bounds,
java.awt.Insets insets,
int relative)
Creates new FlexibleConstraints constraints with the specified component bounds, the specified insets and the specified layout policy. |
|
FlexibleConstraints(java.awt.Rectangle bounds,
int relative)
Creates new FlexibleConstraints constraints with the specified component bounds and the specified layout policy. |
Method Summary | |
java.awt.Rectangle |
getBounds()
|
java.awt.Insets |
getInsets()
|
java.awt.Point |
getLocation()
|
int |
getRelative()
|
java.awt.Dimension |
getSize()
|
void |
setBounds(int x,
int y,
int width,
int height)
|
void |
setBounds(java.awt.Rectangle bounds)
|
void |
setInsets(java.awt.Insets insets)
|
void |
setInsets(int top,
int left,
int bottom,
int right)
|
void |
setLocation(int x,
int y)
|
void |
setLocation(java.awt.Point location)
|
void |
setRelative(int relative)
|
void |
setSize(java.awt.Dimension size)
|
void |
setSize(int width,
int height)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FlexibleConstraints(java.awt.Rectangle bounds, int relative)
bounds
- the required bounds where to lay out.relative
- the layout policy to use for laying out, using FlexibleConstants
values.setBounds(java.awt.Rectangle)
,
FlexibleConstants
,
FlexibleLayout
public FlexibleConstraints(int x, int y, int width, int height, int relative)
x
- the required x where to lay out.y
- the required y where to lay out.width
- the width to use for laying out.height
- the height to use for laying out.relative
- the layout policy to use for laying out, using FlexibleConstants
values.setBounds(java.awt.Rectangle)
,
FlexibleConstants
,
FlexibleLayout
public FlexibleConstraints(java.awt.Rectangle bounds, java.awt.Insets insets, int relative)
bounds
- the required bounds where to lay out.insets
- the insets to dispose around the component.relative
- the layout policy to use for laying out, using FlexibleConstants
values.setBounds(java.awt.Rectangle)
,
setInsets(java.awt.Insets)
,
FlexibleConstants
,
FlexibleLayout
public FlexibleConstraints(int x, int y, int width, int height, java.awt.Insets insets, int relative)
x
- the required x where to lay out.y
- the required y where to lay out.width
- the width to use for laying out.height
- the height to use for laying out.insets
- the insets to dispose around the component.relative
- the layout policy to use for laying out, using FlexibleConstants
values.setBounds(java.awt.Rectangle)
,
setInsets(java.awt.Insets)
,
FlexibleConstants
,
FlexibleLayout
public FlexibleConstraints(java.awt.Point location, int relative)
location
- the required location where to lay out.relative
- the layout policy to use for laying out, using FlexibleConstants
values.setLocation(java.awt.Point)
,
FlexibleConstants
,
FlexibleLayout
public FlexibleConstraints(int x, int y, int relative)
x
- the required x where to lay out.y
- the required y where to lay out.relative
- the layout policy to use for laying out, using FlexibleConstants
values.setLocation(java.awt.Point)
,
FlexibleConstants
,
FlexibleLayout
public FlexibleConstraints(java.awt.Rectangle bounds)
bounds
- the required bounds where to lay out.setBounds(java.awt.Rectangle)
,
FlexibleLayout
public FlexibleConstraints(int x, int y, int width, int height)
x
- the required x where to lay out.y
- the required y where to lay out.width
- the width to use for laying out.height
- the height to use for laying out.setBounds(java.awt.Rectangle)
,
FlexibleLayout
public FlexibleConstraints(java.awt.Rectangle bounds, java.awt.Insets insets)
bounds
- the required bounds where to lay out.insets
- the insets to dispose around the component.setBounds(java.awt.Rectangle)
,
setInsets(java.awt.Insets)
,
FlexibleLayout
public FlexibleConstraints(int x, int y, int width, int height, java.awt.Insets insets)
x
- the required x where to lay out.y
- the required y where to lay out.width
- the width to use for laying out.height
- the height to use for laying out.insets
- the insets to dispose around the component.setBounds(java.awt.Rectangle)
,
setInsets(java.awt.Insets)
,
FlexibleLayout
public FlexibleConstraints(java.awt.Point location)
location
- the required location where to lay out.setLocation(java.awt.Point)
,
FlexibleLayout
public FlexibleConstraints(int x, int y)
x
- the required x where to lay out.y
- the required y where to lay out.setLocation(java.awt.Point)
,
FlexibleLayout
Method Detail |
public void setBounds(java.awt.Rectangle bounds)
public void setBounds(int x, int y, int width, int height)
public void setLocation(java.awt.Point location)
public void setLocation(int x, int y)
public void setSize(java.awt.Dimension size)
public void setSize(int width, int height)
public void setInsets(java.awt.Insets insets)
public void setInsets(int top, int left, int bottom, int right)
public void setRelative(int relative)
public java.awt.Rectangle getBounds()
public java.awt.Point getLocation()
public java.awt.Dimension getSize()
public java.awt.Insets getInsets()
public int getRelative()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |