|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.ContentPane
A content pane is a high-level container/layout object which provides
layout for a content region and floating WindowPanes.
A ContentPane may only be added to a Component
which implements PaneContainer.
At most one Component that does NOT implement
FloatingPane may be added to a ContentPane.
Any number of FloatingPanes may be added as children.
| Field Summary | |
static java.lang.String |
PROPERTY_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_HORIZONTAL_SCROLL
|
static java.lang.String |
PROPERTY_INSETS
|
static java.lang.String |
PROPERTY_VERTICAL_SCROLL
|
| Constructor Summary | |
ContentPane()
Creates a new ContentPane. |
|
| Method Summary | |
FillImage |
getBackgroundImage()
Returns the background image. |
Extent |
getHorizontalScroll()
Returns the horizontal scrollbar position. |
Insets |
getInsets()
Returns the inset margin of the content. |
Extent |
getVerticalScroll()
Returns the vertical scrollbar position. |
boolean |
isValidChild(Component child)
Determines if a given Component is valid to be added as a
child to this Component. |
boolean |
isValidParent(Component parent)
Determines if this Component is valid to be added as a
child of the given parent Component. |
void |
processInput(java.lang.String inputName,
java.lang.Object inputValue)
Processes client input specific to the Component
received from the UpdateManager. |
void |
setBackgroundImage(FillImage newValue)
Sets the background image. |
void |
setHorizontalScroll(Extent newValue)
Sets the horizontal scrollbar position. |
void |
setInsets(Insets newValue)
Sets the inset margin of the content. |
void |
setVerticalScroll(Extent newValue)
Sets the vertical scrollbar position. |
| 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_HORIZONTAL_SCROLL
public static final java.lang.String PROPERTY_INSETS
public static final java.lang.String PROPERTY_VERTICAL_SCROLL
| Constructor Detail |
public ContentPane()
ContentPane.
| Method Detail |
public FillImage getBackgroundImage()
public Extent getHorizontalScroll()
public Insets getInsets()
FloatingPanes, such as
WindowPanes, will NOT be constrained by
this margin.
Values may only be specified in pixel-based units.
public Extent getVerticalScroll()
public boolean isValidChild(Component child)
ComponentComponent is valid to be added as a
child to this Component. Default implementation always
returns true, may be overridden to provide specific behavior.
isValidChild in class Componentchild - the Component to evaluate as a child
Component is a valid childComponent.isValidChild(nextapp.echo2.app.Component)public boolean isValidParent(Component parent)
ComponentComponent is valid to be added as a
child of the given parent Component. Default
implementation always returns true, may be overridden to provide specific
behavior.
isValidParent in class Componentparent - the Component to evaluate as a parent
Component is a valid parentComponent.isValidParent(nextapp.echo2.app.Component)
public void processInput(java.lang.String inputName,
java.lang.Object inputValue)
ComponentComponent
received from the UpdateManager.
Derivative implementations should take care to invoke
super.processInput().
processInput in class ComponentinputName - the name of the inputinputValue - the value of the inputComponent.processInput(java.lang.String, java.lang.Object)public void setBackgroundImage(FillImage newValue)
newValue - the new background imagepublic void setHorizontalScroll(Extent newValue)
newValue - the new horizontal scrollbar positionpublic void setInsets(Insets newValue)
FloatingPanes, such as
WindowPanes, will NOT be constrained by
this margin.
Values may only be specified in pixel-based units.
newValue - the new inset marginpublic void setVerticalScroll(Extent newValue)
newValue - the new vertical scrollbar position
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||