|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.Component
nextapp.echo.app.ContentPane
com.sptci.echo.AbstractFrame<H>
H - The header component to display adjacent to the logo.public abstract class AbstractFrame<H extends AbstractHeader>
A standard content pane that displays a AbstractHeader component
at the top. Note that in general it is not easy to over-ride the
init() method of this component due to the over-ridden add(nextapp.echo.app.Component) methods.
Note: Style properties are based on the class name of Frame for simplicity and backwards compatibility with original Frame only implementation.
© Copyright 2009 Sans Pareil Technologies, Inc.
| Field Summary |
|---|
| Fields inherited from class nextapp.echo.app.ContentPane |
|---|
OVERFLOW_AUTO, OVERFLOW_HIDDEN, OVERFLOW_SCROLL, PROPERTY_BACKGROUND_IMAGE, PROPERTY_HORIZONTAL_SCROLL, PROPERTY_INSETS, PROPERTY_OVERFLOW, PROPERTY_VERTICAL_SCROLL |
| Constructor Summary | |
|---|---|
AbstractFrame()
|
|
| Method Summary | |
|---|---|
void |
add(Component component)
Over-ridden to replace content with the new component
specified. |
void |
add(Component component,
int index)
Over-ridden to add the specified component to content container. |
Component |
getContent()
Return the main content component displayed in this content pane. |
abstract H |
getHeader()
|
void |
init()
Life-cycle method invoked when the content pane is added to the view hierarcy. |
void |
removeAll()
Over-ridden to remove only the children of content from the
view. |
void |
setContent(Component content)
Set the primary content to be displayed in this pane. |
| Methods inherited from class nextapp.echo.app.ContentPane |
|---|
getBackgroundImage, getHorizontalScroll, getInsets, getOverflow, getVerticalScroll, isValidChild, isValidParent, processInput, setBackgroundImage, setHorizontalScroll, setInsets, setOverflow, setVerticalScroll |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFrame()
| Method Detail |
|---|
public void init()
init in class Componentpublic void add(Component component)
content with the new component
specified. Unlike the super-class this class allows multiple child
components.
add in class Componentcomponent - The content to add to this component.setContent(nextapp.echo.app.Component)
public void add(Component component,
int index)
content container.
If the specified component is an instance of FloatingPane, then delegates to the super class
Component.add(nextapp.echo.app.Component) method.
add in class Componentcomponent - The content to add to this component.index - The index at which this child component is to be added.public void removeAll()
content from the
view. In addition it removes any FloatingPane
components that have been added to this content pane.
removeAll in class Componentpublic Component getContent()
public void setContent(Component content)
content - The content to display.public abstract H getHeader()
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||