|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kalmeo.kuix.util.Metrics
public class Metrics
| Field Summary | |
|---|---|
int |
height
|
Metrics |
next
|
Widget |
widget
|
int |
width
|
int |
x
|
int |
y
|
| Constructor Summary | |
|---|---|
Metrics()
Construct a Metrics |
|
Metrics(Widget widget)
Construct a Metrics |
|
Metrics(Widget widget,
int x,
int y,
int width,
int height)
Construct a Metrics |
|
| Method Summary | |
|---|---|
void |
add(int x,
int y,
int width,
int height)
Modifies this Metrics so that it represents the smallest region
that contains both the existing region and the specified region. |
boolean |
isEmpty()
Tests whether or not this Metrics represents an empty region. |
void |
setBounds(int x,
int y,
int width,
int height)
Set the size and position of the region represented by this Metrics. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int x
public int y
public int width
public int height
public Widget widget
public Metrics next
| Constructor Detail |
|---|
public Metrics()
Metrics
public Metrics(Widget widget)
Metrics
widget -
public Metrics(Widget widget,
int x,
int y,
int width,
int height)
Metrics
widget - x - y - width - height - | Method Detail |
|---|
public boolean isEmpty()
Metrics represents an empty region.
true if the region represented by this
Metrics is empty
public void setBounds(int x,
int y,
int width,
int height)
Metrics.
x - y - width - height -
public void add(int x,
int y,
int width,
int height)
Metrics so that it represents the smallest region
that contains both the existing region and the specified region.
x - y - width - height -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||