nextapp.echo
Class HttpPane

java.lang.Object
  extended by nextapp.echo.AbstractComponent
      extended by nextapp.echo.AbstractPane
          extended by nextapp.echo.HttpPane
All Implemented Interfaces:
java.io.Serializable, Component

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 HEIGHT_EXTENT_CHANGED_PROPERTY
           
static java.lang.String URI_CHANGED_PROPERTY
           
static java.lang.String WIDTH_CHANGED_PROPERTY
           
static java.lang.String WIDTH_EXTENT_CHANGED_PROPERTY
           
 
Fields inherited from class nextapp.echo.AbstractPane
PROPORTIONAL, RESIZABLE_CHANGED_PROPERTY, STYLE_RESIZABLE
 
Fields inherited from interface nextapp.echo.Component
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, SELECTABLE_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
HttpPane()
          Creates a new HTTP Pane.
HttpPane(java.lang.String uri)
          Creates a new HTTP Pane containing the document at the given URI.
 
Method Summary
 Extent getHeightExtent()
          Returns the height of the pane.
 java.lang.String getUri()
          Returns the URI of the HttpPane.
 Extent getWidthExtent()
          Returns the width of the pane.
 void setHeight(int newValue)
          Sets the height of the pane in pixels.
 void setHeightExtent(Extent 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 in pixels.
 void setWidthExtent(Extent newValue)
          Sets the width of the pane.
 
Methods inherited from class nextapp.echo.AbstractPane
applyStyle, getHeight, getWidth, isResizable, setResizable
 
Methods inherited from class nextapp.echo.AbstractComponent
add, add, addHierarchyListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getClientId, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getListenerList, getLocale, getParent, indexOf, init, isAncestorOf, isDifferent, isEnabled, isFocused, isRecursivelyVisible, isRegistered, isSelectableForScriptRecorder, isShowing, isVisible, processHierarchyEvent, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setClientId, setEnabled, setFocused, setFont, setForeground, setIdentifier, setLocale, setParent, setRegistered, setSelectableForScriptRecorder, 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

HEIGHT_EXTENT_CHANGED_PROPERTY

public static final java.lang.String HEIGHT_EXTENT_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

WIDTH_EXTENT_CHANGED_PROPERTY

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

HttpPane

public HttpPane()
Creates a new HTTP Pane.


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

getHeightExtent

public Extent getHeightExtent()
Returns the height of the pane.

Overrides:
getHeightExtent 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.

getWidthExtent

public Extent getWidthExtent()
Returns the width of the pane.

Overrides:
getWidthExtent in class AbstractPane
Returns:
The width of the pane.

setHeight

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

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

setHeightExtent

public void setHeightExtent(Extent newValue)
Sets the height of the pane.

Parameters:
newValue - the new height of the pane.

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 in pixels.

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

setWidthExtent

public void setWidthExtent(Extent newValue)
Sets the width of the pane.

Parameters:
newValue - The new width of the pane.