EchoPoint
1.0

echopoint.ui
Class LabelUI

java.lang.Object
  extended bynextapp.echoservlet.ComponentPeer
      extended byechopoint.ui.util.EchoPointComponentPeer
          extended byechopoint.ui.LabelUI
All Implemented Interfaces:
nextapp.echoservlet.Alignment, nextapp.echo.event.ChangeListener, java.util.EventListener, nextapp.echo.event.ImageUpdateListener, PeerDelegate, java.beans.PropertyChangeListener, java.io.Serializable

public class LabelUI
extends EchoPointComponentPeer
implements nextapp.echoservlet.Alignment

A peer for Label components.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class echopoint.ui.util.EchoPointComponentPeer
renderedActive
 
Constructor Summary
LabelUI()
           
 
Method Summary
protected  nextapp.echoservlet.html.Element createIconElement(nextapp.echoservlet.RenderingContext rc)
          Creates the image Element that will reference the label's image.
 int getHorizontalAlignment()
           
 int getVerticalAlignment()
           
static void register()
          Register the peer bindings.
 void registered()
          This adds itself as a property change listener to the component, which calls redraw(), and then creates a ToolTipPopUpSupportHelper.
 void render(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element parent)
           
 
Methods inherited from class echopoint.ui.util.EchoPointComponentPeer
addOnce, addOnce, addScriptInclude, copyChildrenExcept, copyChildrenExcept, forComponent, forComponent, forComponent, forComponent, getChildren, getImage, getImageManager, getImageUri, getPeer, getPeer, getToolTipHelper, getUri, hasBeenAdded, imageUpdate, propertyChange, removeAllImages, removeAllManagedImages, removeNewLinesAndJSQuote, removeNewLinesAndJSQuote, setImage, stateChanged, trackImage, unregistered
 
Methods inherited from class nextapp.echoservlet.ComponentPeer
addAncillaryService, generateId, getBackground, getChildCount, getComponent, getFont, getForeground, getId, getInstancePeer, getParent, redraw, removeAncillaryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface echopoint.ui.util.PeerDelegate
getId
 

Constructor Detail

LabelUI

public LabelUI()
Method Detail

createIconElement

protected nextapp.echoservlet.html.Element createIconElement(nextapp.echoservlet.RenderingContext rc)
Creates the image Element that will reference the label's image.

Parameters:
rc - The RenderingContext on which this label is being rendered.
Returns:
An <img> element reference the label's image.

getHorizontalAlignment

public int getHorizontalAlignment()
Specified by:
getHorizontalAlignment in interface nextapp.echoservlet.Alignment
See Also:
Alignment.getHorizontalAlignment()

getVerticalAlignment

public int getVerticalAlignment()
Specified by:
getVerticalAlignment in interface nextapp.echoservlet.Alignment
See Also:
Alignment.getVerticalAlignment()

registered

public void registered()
Description copied from class: EchoPointComponentPeer
This adds itself as a property change listener to the component, which calls redraw(), and then creates a ToolTipPopUpSupportHelper.

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

register

public static void register()
Register the peer bindings.


render

public void render(nextapp.echoservlet.RenderingContext rc,
                   nextapp.echoservlet.html.Element parent)
See Also:
ComponentPeer.render(RenderingContext, Element)

EchoPoint
1.0