NextApp Echo
App Container 1.0.5

nextapp.echoservlet.ui
Class GridCellUI

java.lang.Object
  extended bynextapp.echoservlet.ComponentPeer
      extended bynextapp.echoservlet.ui.GridCellUI
All Implemented Interfaces:
java.util.EventListener, nextapp.echo.event.ImageUpdateListener, java.beans.PropertyChangeListener, java.io.Serializable

public class GridCellUI
extends ComponentPeer
implements nextapp.echo.event.ImageUpdateListener, java.beans.PropertyChangeListener

A peer for Grid.Cell components.

See Also:
Serialized Form

Field Summary
private static java.lang.String BACKGROUND_IMAGE
           
private  ImageManager imageManager
           
 
Fields inherited from class nextapp.echoservlet.ComponentPeer
 
Constructor Summary
GridCellUI()
           
 
Method Summary
(package private)  java.lang.String getBackgroundImageUri(Connection conn)
          Returns the URI of the background image of this grid cell or null if it has no background image.
 void imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
          Invoked when an image update change occurs.
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 void registered()
          Called when the component is registered.
 void render(RenderingContext rc, Element parent)
          A method that should be overridden for the ComponentPeer to produce HTML output.
 void unregistered()
          Called when the component is unregistered.
 
Methods inherited from class nextapp.echoservlet.ComponentPeer
addAncillaryService, generateId, getBackground, getChildCount, getChildren, getComponent, getFont, getForeground, getId, getInstancePeer, getParent, getPeer, redraw, removeAncillaryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BACKGROUND_IMAGE

private static final java.lang.String BACKGROUND_IMAGE
See Also:
Constant Field Values

imageManager

private ImageManager imageManager
Constructor Detail

GridCellUI

public GridCellUI()
Method Detail

getBackgroundImageUri

java.lang.String getBackgroundImageUri(Connection conn)
Returns the URI of the background image of this grid cell or null if it has no background image.

Parameters:
conn - The rendering connection.
Returns:
The URI of the background image.

imageUpdate

public void imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
Description copied from interface: nextapp.echo.event.ImageUpdateListener
Invoked when an image update change occurs.

Specified by:
imageUpdate in interface nextapp.echo.event.ImageUpdateListener
Parameters:
e - The event describing the image update.
See Also:
ImageUpdateListener.imageUpdate(ImageUpdateEvent)

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
See Also:
PropertyChangeListener.propertyChange(PropertyChangeEvent)

registered

public void registered()
Description copied from class: ComponentPeer
Called when the component is registered. This method should be overridden if necessary.

Overrides:
registered in class ComponentPeer
See Also:
ComponentPeer.registered()

render

public void render(RenderingContext rc,
                   Element parent)
Description copied from class: ComponentPeer
A method that should be overridden for the ComponentPeer to produce HTML output.

Overrides:
render in class ComponentPeer
Parameters:
rc - A rendering context provided by the Connection.
parent - The element that will contain content rendered by this ComponentPeer.
See Also:
ComponentPeer.render(RenderingContext, Element)

unregistered

public void unregistered()
Description copied from class: ComponentPeer
Called when the component is unregistered. This method should be overridden if necessary.

Overrides:
unregistered in class ComponentPeer
See Also:
ComponentPeer.unregistered()

NextApp Echo
App Container 1.0.5