|
NextApp Echo App Container 1.1.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echoservlet.ComponentPeer
nextapp.echoservlet.ui.AbstractButtonUI
A base peer class for components derived from AbstractButton.
| Field Summary | |
protected static java.lang.String |
ICON_IMAGE
A constant used to identify the default icon for the in the ImageManager. |
protected ImageManager |
imageManager
The image manager that will handle images for the button, including custom state images for toggle buttons. |
protected boolean |
renderedActive
Indicates whether the button was most recently rendered enabled. |
protected static java.lang.String |
ROLLOVER_ICON_IMAGE
A constant used to identify the rollover icon for the in the ImageManager. |
| Constructor Summary | |
AbstractButtonUI()
Default constructor. |
|
| Method Summary | |
void |
clientAction(java.lang.String action)
Called when the user causes an action from the client. |
int |
getHorizontalAlignment()
Returns the horizontal alignment of a represented component. |
abstract java.lang.String |
getScriptAction(RenderingContext rc)
Returns JavaScript code that will be executed when the button is clicked. |
int |
getVerticalAlignment()
Returns the vertical alignment of a represented component. |
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, getFocusedElementId, getFont, getForeground, getId, getInstancePeer, getParent, getPeer, getTabIndex, redraw, removeAncillaryService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean renderedActive
protected ImageManager imageManager
protected static final java.lang.String ICON_IMAGE
ImageManager.
protected static final java.lang.String ROLLOVER_ICON_IMAGE
ImageManager.
| Constructor Detail |
public AbstractButtonUI()
| Method Detail |
public void clientAction(java.lang.String action)
ClientActionProducer
clientAction in interface ClientActionProduceraction - The action command generated by the client.ClientActionProducer.clientAction(java.lang.String)public abstract java.lang.String getScriptAction(RenderingContext rc)
Buttons, this will normally
send input to the server. On ToggleButtons, the
selection state will change and input may also be sent to the
server if desired by the application.
rc - The RenderingContext being used for the
rendering of the button.
public int getHorizontalAlignment()
Alignment
getHorizontalAlignment in interface AlignmentAlignment.getHorizontalAlignment()public int getVerticalAlignment()
Alignment
getVerticalAlignment in interface AlignmentAlignment.getVerticalAlignment()public void imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
nextapp.echo.event.ImageUpdateListener
imageUpdate in interface nextapp.echo.event.ImageUpdateListenere - The event describing the image update.ImageUpdateListener.imageUpdate(ImageUpdateEvent)public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerPropertyChangeListener.propertyChange(PropertyChangeEvent)public void registered()
ComponentPeer
registered in class ComponentPeerComponentPeer.registered()
public void render(RenderingContext rc,
Element parent)
ComponentPeer
render in class ComponentPeerrc - A rendering context provided by the Connection.parent - The element that will contain content rendered by this
ComponentPeer.ComponentPeer.render(RenderingContext, Element)public void unregistered()
ComponentPeer
unregistered in class ComponentPeerComponentPeer.unregistered()
|
NextApp Echo App Container 1.1.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||