|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavazoom.jlgui.player.amp.skin.AbsoluteConstraints
public class AbsoluteConstraints
An object that encapsulates position and (optionally) size for Absolute positioning of components.
| Field Summary | |
|---|---|
int |
height
The height of the component or -1 if the component's preferred height should be used |
int |
width
The width of the component or -1 if the component's preferred width should be used |
int |
x
The X position of the component |
int |
y
The Y position of the component |
| Constructor Summary | |
|---|---|
AbsoluteConstraints(int x,
int y)
Creates a new AbsoluteConstraints for specified position. |
|
AbsoluteConstraints(int x,
int y,
int width,
int height)
Creates a new AbsoluteConstraints for specified position and size. |
|
AbsoluteConstraints(java.awt.Point pos)
Creates a new AbsoluteConstraints for specified position. |
|
AbsoluteConstraints(java.awt.Point pos,
java.awt.Dimension size)
Creates a new AbsoluteConstraints for specified position and size. |
|
| Method Summary | |
|---|---|
int |
getHeight()
|
int |
getWidth()
|
int |
getX()
|
int |
getY()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int x
public int y
public int width
public int height
| Constructor Detail |
|---|
public AbsoluteConstraints(java.awt.Point pos)
pos - The position to be represented by this AbsoluteConstraints
public AbsoluteConstraints(int x,
int y)
x - The X position to be represented by this AbsoluteConstraintsy - The Y position to be represented by this AbsoluteConstraints
public AbsoluteConstraints(java.awt.Point pos,
java.awt.Dimension size)
pos - The position to be represented by this AbsoluteConstraintssize - The size to be represented by this AbsoluteConstraints or null
if the component's preferred size should be used
public AbsoluteConstraints(int x,
int y,
int width,
int height)
x - The X position to be represented by this AbsoluteConstraintsy - The Y position to be represented by this AbsoluteConstraintswidth - The width to be represented by this AbsoluteConstraints or -1 if the
component's preferred width should be usedheight - The height to be represented by this AbsoluteConstraints or -1 if the
component's preferred height should be used| Method Detail |
|---|
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||