NextApp Echo
1.0.5

nextapp.echo
Class HttpPane

java.lang.Object
  extended bynextapp.echo.Component
      extended bynextapp.echo.AbstractPane
          extended bynextapp.echo.HttpPane
All Implemented Interfaces:
java.io.Serializable

public class HttpPane
extends AbstractPane

A pane that displays content retrieved from an HTTP request.

See Also:
Serialized Form

Field Summary
static java.lang.String HEIGHT_CHANGED_PROPERTY
           
static java.lang.String URI_CHANGED_PROPERTY
           
static java.lang.String WIDTH_CHANGED_PROPERTY
           
 
Fields inherited from class nextapp.echo.AbstractPane
PROPORTIONAL, RESIZABLE_CHANGED_PROPERTY, STYLE_RESIZABLE
 
Fields inherited from class nextapp.echo.Component
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, listenerList, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
HttpPane(java.lang.String uri)
          Creates a new HTTP Pane containing the document at the given URI.
 
Method Summary
 int getHeight()
          Returns the height of the pane.
 java.lang.String getUri()
          Returns the URI of the HttpPane.
 int getWidth()
          Returns the width of the pane.
 void setHeight(int newValue)
          Sets the height of the pane.
 void setUri(java.lang.String newValue)
          Sets the URI of the pane's content.
 void setWidth(int newValue)
          Sets the width of the pane.
 
Methods inherited from class nextapp.echo.AbstractPane
applyStyle, isResizable, setResizable
 
Methods inherited from class nextapp.echo.Component
add, add, addHierarchyListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getLocale, getParent, indexOf, init, isAncestorOf, isEnabled, isRegistered, isShowing, isVisible, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setEnabled, setFont, setForeground, setIdentifier, setLocale, setVisible, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEIGHT_CHANGED_PROPERTY

public static final java.lang.String HEIGHT_CHANGED_PROPERTY
See Also:
Constant Field Values

URI_CHANGED_PROPERTY

public static final java.lang.String URI_CHANGED_PROPERTY
See Also:
Constant Field Values

WIDTH_CHANGED_PROPERTY

public static final java.lang.String WIDTH_CHANGED_PROPERTY
See Also:
Constant Field Values
Constructor Detail

HttpPane

public HttpPane(java.lang.String uri)
Creates a new HTTP Pane containing the document at the given URI.

Parameters:
uri - The URI to load in the pane.
Method Detail

getHeight

public int getHeight()
Returns the height of the pane.

Specified by:
getHeight in class AbstractPane
Returns:
The height of the pane.

getUri

public java.lang.String getUri()
Returns the URI of the HttpPane. If the user has clicked on links within the document in the HttpPane, this URI may not be correct.

Returns:
The URI of the HttpPane.

getWidth

public int getWidth()
Returns the width of the pane.

Specified by:
getWidth in class AbstractPane
Returns:
The width of the pane.

setHeight

public void setHeight(int newValue)
Sets the height of the pane.

Parameters:
newValue - The new height of the pane in pixels.

setUri

public void setUri(java.lang.String newValue)
Sets the URI of the pane's content.

Parameters:
newValue - The URI of the pane's content.

setWidth

public void setWidth(int newValue)
Sets the width of the pane.

Parameters:
newValue - The new width of the pane in pixels.

NextApp Echo
1.0.5