|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.Component nextapp.echo.app.Composite nextapp.echo.app.Panel
public class Panel
Panel
component: a single child container. Provides a configurable border, margin, background image, and dimensions.
May contain at most one child. May contain Pane
components, and may be used as a means to add Pane
components to containers which do not allow Pane
components as children. In such a case it may be necessary to
manually set the height property of the Panel
itself.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_BORDER
|
static java.lang.String |
PROPERTY_HEIGHT
|
static java.lang.String |
PROPERTY_INSETS
|
static java.lang.String |
PROPERTY_WIDTH
|
Constructor Summary | |
---|---|
Panel()
|
Method Summary | |
---|---|
FillImage |
getBackgroundImage()
Returns the background image. |
Border |
getBorder()
Returns the Border that encloses the entire Column . |
Extent |
getHeight()
Returns the height of the panel. |
Insets |
getInsets()
Returns the default inset between the border and cells of the Column . |
Extent |
getWidth()
Returns the width. |
void |
setBackgroundImage(FillImage newValue)
Sets the background image. |
void |
setBorder(Border newValue)
Sets the Border that encloses the entire Column . |
void |
setHeight(Extent newValue)
Sets the height. |
void |
setInsets(Insets newValue)
Sets the inset between the border and cells of the Column . |
void |
setWidth(Extent newValue)
Sets the width. |
Methods inherited from class nextapp.echo.app.Composite |
---|
isValidChild |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_BACKGROUND_IMAGE
public static final java.lang.String PROPERTY_BORDER
public static final java.lang.String PROPERTY_INSETS
public static final java.lang.String PROPERTY_WIDTH
public static final java.lang.String PROPERTY_HEIGHT
Constructor Detail |
---|
public Panel()
Method Detail |
---|
public FillImage getBackgroundImage()
public Border getBorder()
Border
that encloses the entire Column
.
public Extent getHeight()
Panel
will be sized by the height of its content, unless it contains a Pane
component of indeterminate size.
This property only supports Extent
s with fixed (i.e., not percent) units.
public Insets getInsets()
Column
. This value will be overridden for a child
component if a setting is specified in its ColumnLayoutData
.
public Extent getWidth()
Panel
will expand to the width of its container.
public void setBackgroundImage(FillImage newValue)
newValue
- the new background imagepublic void setBorder(Border newValue)
Border
that encloses the entire Column
.
newValue
- the new borderpublic void setHeight(Extent newValue)
Panel
will be sized by the height of its content, unless it contains a Pane
component of indeterminate size.
This property only supports Extent
s with fixed (i.e., not percent) units.
newValue
- the new heightpublic void setInsets(Insets newValue)
Column
.
This value will be overridden for a child component if a setting is
specified in its ColumnLayoutData
.
newValue
- the new insetpublic void setWidth(Extent newValue)
Panel
will expand to the width of its container.
newValue
- the new width
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |