|
NextApp Echo 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.Component
nextapp.echo.Filler
A component used to add space between other components.
Field Summary | |
private int |
height
|
static java.lang.String |
HEIGHT_CHANGED_PROPERTY
|
static int |
NO_DIMENSION
A value used in the width and height attributes used by Filler objects that do not wish to separate components in a particular dimension. |
private int |
width
|
static java.lang.String |
WIDTH_CHANGED_PROPERTY
|
Constructor Summary | |
Filler()
Creates a new filler component of zero dimension. |
|
Filler(int width,
int height)
Creates a new filler component of the given width and height. |
Method Summary | |
static Filler |
createHorizontalStrut(int width)
Returns a new horizontal strut filler component of the given width. |
static Filler |
createVerticalStrut(int height)
Returns a new vertical strut filler component of the given height. |
int |
getHeight()
Returns the height of the filler. |
int |
getWidth()
Returns the width of the filler. |
void |
setHeight(int newValue)
Sets the height of the filler. |
void |
setWidth(int newValue)
Sets the width of the filler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NO_DIMENSION
public static final java.lang.String HEIGHT_CHANGED_PROPERTY
public static final java.lang.String WIDTH_CHANGED_PROPERTY
private int width
private int height
Constructor Detail |
public Filler()
public Filler(int width, int height)
width
- The width of the filler strut, in pixels.height
- The height of the filler strut in pixels.Method Detail |
public static Filler createHorizontalStrut(int width)
width
- The width of the filler strut, in pixels.public static Filler createVerticalStrut(int height)
height
- The height of the filler strut in pixels.public int getHeight()
public int getWidth()
public void setHeight(int newValue)
newValue
- The new height of the filler.public void setWidth(int newValue)
newValue
- The new width of the filler.
|
NextApp Echo 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |