EchoPoint
1.0

echopoint.ui
Class TabbedPaneUI

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

public class TabbedPaneUI
extends EchoPointComponentPeer
implements nextapp.echoservlet.ClientActionProducer, nextapp.echoservlet.ClientInputProducer

TabbedPaneUI is the backend peer class for the component TabbedPane. It is responsible for rendering the user interface and handling navigation between tabs.

Author:
Brad Baker
See Also:
Serialized Form

Field Summary
 
Fields inherited from class echopoint.ui.util.EchoPointComponentPeer
renderedActive
 
Constructor Summary
TabbedPaneUI()
           
 
Method Summary
 void clientAction(java.lang.String action)
           
 void clientInput(java.lang.String input)
           
 void imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
          If an image changes, we redraw() the peer.
 void propertyChange(java.beans.PropertyChangeEvent e)
          Whenever a property changes, we call redraw() to cause the peer to be repainted.
static void register()
          Registers the Component with its 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)
           
 void unregistered()
          This removes the property change listener and then calls toolTipHelper.unregistered();.
 
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, removeAllImages, removeAllManagedImages, removeNewLinesAndJSQuote, removeNewLinesAndJSQuote, setImage, stateChanged, trackImage
 
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 nextapp.echoservlet.ClientInputProducer
getId
 
Methods inherited from interface echopoint.ui.util.PeerDelegate
getId
 

Constructor Detail

TabbedPaneUI

public TabbedPaneUI()
Method Detail

register

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


clientAction

public void clientAction(java.lang.String action)
Specified by:
clientAction in interface nextapp.echoservlet.ClientActionProducer
See Also:
ClientActionProducer.clientAction(java.lang.String)

clientInput

public void clientInput(java.lang.String input)
Specified by:
clientInput in interface nextapp.echoservlet.ClientInputProducer
See Also:
ClientInputProducer.clientInput(java.lang.String)

render

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

imageUpdate

public void imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
Description copied from class: EchoPointComponentPeer
If an image changes, we redraw() the peer.

In 99% of cases, this is actually what you want to do.

Specified by:
imageUpdate in interface nextapp.echo.event.ImageUpdateListener
Overrides:
imageUpdate in class EchoPointComponentPeer
See Also:
ImageUpdateListener.imageUpdate(nextapp.echo.event.ImageUpdateEvent)

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

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Description copied from class: EchoPointComponentPeer
Whenever a property changes, we call redraw() to cause the peer to be repainted.

In 99% of cases, this is actually what you want to do.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Overrides:
propertyChange in class EchoPointComponentPeer
See Also:
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)

unregistered

public void unregistered()
Description copied from class: EchoPointComponentPeer
This removes the property change listener and then calls toolTipHelper.unregistered();. If there is an ImageManager, then all images are removed.

Overrides:
unregistered in class EchoPointComponentPeer

EchoPoint
1.0