|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.Component
echopoint.internal.AbstractContainer
echopoint.HttpPane
public class HttpPane
A component that uses a iframe to dislay the contents of a
user specified URI. Note that unlike the EPNG
HttpPaneEx
component, this component is not a subclass of ContentPane and hence may be embedded anywhere within
your application component hierarchy.
The following code sample shows usage of this component:
import echopoint.HttpPane;
import nextapp.echo.app.Column;
...
final Column column = new Column();
final String uri = "https://echopoint.dev.java.net/";
final HttpPane pane = new HttpPane( uri );
column.add( pane );
| Field Summary | |
|---|---|
static String |
PROPERTY_URI
The URI to display in this component. |
| Fields inherited from class echopoint.internal.AbstractContainer |
|---|
ACTION_COMMAND_PROPERTY, ACTION_LISTENERS_CHANGED_PROPERTY, INPUT_ACTION, PROPERTY_ALIGNMENT, PROPERTY_BACKGROUND_IMAGE, PROPERTY_BORDER, PROPERTY_HEIGHT, PROPERTY_INSETS, PROPERTY_WIDTH |
| Constructor Summary | |
|---|---|
HttpPane()
Constructs a new instance that loads a blank page. |
|
HttpPane(String uri)
Constructs a new instance that loads the contents of the specified URI. |
|
| Method Summary | |
|---|---|
String |
getUri()
Return the URI that is currently loaded in this component. |
boolean |
isValidChild(Component child)
Over-ridden to unconditionally return false as no children
are allowed. |
void |
setUri(String uri)
Sets the URI to display in this component. |
| Methods inherited from class echopoint.internal.AbstractContainer |
|---|
addActionListener, fireActionPerformed, getAlignment, getBackgroundImage, getBorder, getHeight, getInsets, getWidth, hasActionListeners, removeActionListener, setAlignment, setBackgroundImage, setBorder, setHeight, setInsets, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_URI
| Constructor Detail |
|---|
public HttpPane()
public HttpPane(String uri)
uri - The URI to load in this component.| Method Detail |
|---|
public String getUri()
public void setUri(String uri)
uri - The URI to load in this component.public boolean isValidChild(Component child)
false as no children
are allowed.
isValidChild in class Component
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||