echopoint.ui
Class ScrollableBoxUI

java.lang.Object
  extended by nextapp.echoservlet.AbstractComponentPeer
      extended by nextapp.echoservlet.ui.PanelUI
          extended by echopoint.ui.ScrollableBoxUI
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, Alignment, ClientInputProducer, ComponentPeer
Direct Known Subclasses:
DropDownBoxUI, HidingSlidingPanelUI

public class ScrollableBoxUI
extends PanelUI
implements java.beans.PropertyChangeListener, ClientInputProducer

ScrollableBoxUI is the backend peer class for the component ScrollableBox. Note that this relys on CSS 2.0 support in the client browser.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface nextapp.echoservlet.ComponentPeer
IGNORE_PROPERTY_CHANGE
 
Constructor Summary
ScrollableBoxUI()
           
 
Method Summary
 void clientInput(java.lang.String input)
          Called when a client sends an input string through an input field.
 int getHorizontalAlignment()
          Returns the horizontal alignment of a represented component.
 int getVerticalAlignment()
          Returns the vertical alignment of a represented component.
 void propertyChange(java.beans.PropertyChangeEvent e)
           
static void register()
          Registers the Component with its peer bindings
 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.
 
Methods inherited from class nextapp.echoservlet.ui.PanelUI
unregistered
 
Methods inherited from class nextapp.echoservlet.AbstractComponentPeer
addAncillaryService, generateId, getCalculatedBackground, getCalculatedFont, getCalculatedForeground, getChildCount, getChildren, getComponent, getFocusedElementId, getId, getInstancePeer, getParentComponentPeer, getPeer, redraw, registerAncillaryServices, removeAncillaryService, setComponent, setId, setInstancePeer, unregisterAncillaryServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nextapp.echoservlet.ClientInputProducer
getId
 

Constructor Detail

ScrollableBoxUI

public ScrollableBoxUI()
Method Detail

clientInput

public void clientInput(java.lang.String input)
Called when a client sends an input string through an input field.

Specified by:
clientInput in interface ClientInputProducer
Parameters:
input - The data in the hidden input field in the controller form as last known.

getHorizontalAlignment

public int getHorizontalAlignment()
Description copied from interface: Alignment
Returns the horizontal alignment of a represented component.

Specified by:
getHorizontalAlignment in interface Alignment
Overrides:
getHorizontalAlignment in class PanelUI
Returns:
The horizontal alignment of a represented component, one of the following values:
  • EchoConstants.LEFT
  • EchoConstants.CENTER
  • EchoConstants.RIGHT
  • 0 (use default)
See Also:
Alignment.getHorizontalAlignment()

getVerticalAlignment

public int getVerticalAlignment()
Description copied from interface: Alignment
Returns the vertical alignment of a represented component.

Specified by:
getVerticalAlignment in interface Alignment
Overrides:
getVerticalAlignment in class PanelUI
Returns:
The vertical alignment of a represented component, one of the following values:
  • EchoConstants.TOP
  • EchoConstants.CENTER
  • EchoConstants.BOTTOM
  • 0 (use default)
See Also:
Alignment.getVerticalAlignment()

propertyChange

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

registered

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

Specified by:
registered in interface ComponentPeer
Overrides:
registered in class PanelUI
See Also:
ComponentPeer.registered()

render

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

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

register

public static void register()
Registers the Component with its peer bindings