|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echoservlet.AbstractComponentPeer
nextapp.echoservlet.ui.AbstractButtonUI
nextapp.echoservlet.ui.ButtonUI
echopoint.ui.PushButtonUI
public class PushButtonUI
PushButtonUI is the backend peer class for the component PushButton.
Field Summary |
---|
Fields inherited from class nextapp.echoservlet.ui.AbstractButtonUI |
---|
ICON_IMAGE, imageManager, renderedActive, ROLLOVER_ICON_IMAGE |
Fields inherited from interface nextapp.echoservlet.ComponentPeer |
---|
IGNORE_PROPERTY_CHANGE |
Constructor Summary | |
---|---|
PushButtonUI()
|
Method Summary | |
---|---|
void |
clientAction(java.lang.String action)
Called when the user causes an action from the client. |
static java.lang.String |
getInitializeScript(Connection connection,
InstancePeer instancePeer,
java.util.List components,
java.util.List peers)
|
java.lang.String |
getScriptAction(RenderingContext rc)
Returns JavaScript code that will be executed when the button is clicked. |
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. |
void |
unregistered()
Called when the component is unregistered. |
Methods inherited from class nextapp.echoservlet.ui.AbstractButtonUI |
---|
getHorizontalAlignment, getVerticalAlignment, imageUpdate |
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 |
Constructor Detail |
---|
public PushButtonUI()
Method Detail |
---|
public static void register()
public void clientAction(java.lang.String action)
ClientActionProducer
clientAction
in interface ClientActionProducer
clientAction
in class AbstractButtonUI
action
- The action command generated by the client.ClientActionProducer.clientAction(java.lang.String)
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class AbstractButtonUI
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)
public void registered()
AbstractComponentPeer
registered
in interface ComponentPeer
registered
in class AbstractButtonUI
ComponentPeer.registered()
public java.lang.String getScriptAction(RenderingContext rc)
AbstractButtonUI
Button
s, this will normally
send input to the server. On ToggleButton
s, the
selection state will change and input may also be sent to the
server if desired by the application.
getScriptAction
in class ButtonUI
rc
- The RenderingContext
being used for the
rendering of the button.
ButtonUI.getScriptAction(nextapp.echoservlet.RenderingContext)
public void render(RenderingContext rc, Element parent)
ComponentPeer
render
in interface ComponentPeer
render
in class AbstractButtonUI
rc
- A rendering context provided by the Connection
.parent
- The element that will contain content rendered by this
ComponentPeer
.ComponentPeer.render(nextapp.echoservlet.RenderingContext, nextapp.echoservlet.html.Element)
public void unregistered()
AbstractComponentPeer
unregistered
in interface ComponentPeer
unregistered
in class AbstractButtonUI
ComponentPeer.unregistered()
public static java.lang.String getInitializeScript(Connection connection, InstancePeer instancePeer, java.util.List components, java.util.List peers)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |