|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echoservlet.AbstractComponentPeer
echopoint.ui.util.EchoPointComponentPeer
echopoint.ui.ColorChooserUI
public class ColorChooserUI
ColorChooserUI is the backend peer class for the component ColorChooser.
| Field Summary | |
|---|---|
protected static java.lang.String |
ACTION_PREFIX
|
| Fields inherited from interface nextapp.echoservlet.ComponentPeer |
|---|
IGNORE_PROPERTY_CHANGE |
| Constructor Summary | |
|---|---|
ColorChooserUI()
|
|
| Method Summary | |
|---|---|
void |
clientAction(java.lang.String action)
Called when the user causes an action from the client. |
protected java.lang.String |
createScriptAction(java.lang.String commandStr)
Returns a script action with the given commandStr |
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(RenderingContext rc,
Element parent)
A method that should be overridden for the ComponentPeer to produce HTML output. |
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, imageUpdate, removeAllImages, removeAllManagedImages, removeNewLinesAndJSQuote, removeNewLinesAndJSQuote, setImage, stateChanged, trackImage |
| Methods inherited from class nextapp.echoservlet.AbstractComponentPeer |
|---|
addAncillaryService, generateId, getCalculatedBackground, getCalculatedFont, getCalculatedForeground, getChildCount, getComponent, getFocusedElementId, getId, getInstancePeer, getParentComponentPeer, 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 echopoint.ui.util.PeerDelegate |
|---|
getId |
| Field Detail |
|---|
protected static final java.lang.String ACTION_PREFIX
| Constructor Detail |
|---|
public ColorChooserUI()
| Method Detail |
|---|
public static void register()
public void clientAction(java.lang.String action)
ClientActionProducer
clientAction in interface ClientActionProduceraction - The action command generated by the client.ClientActionProducer.clientAction(java.lang.String)protected java.lang.String createScriptAction(java.lang.String commandStr)
public void propertyChange(java.beans.PropertyChangeEvent e)
EchoPointComponentPeerIn 99% of cases, this is actually what you want to do.
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class EchoPointComponentPeerPropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)public void registered()
EchoPointComponentPeer
registered in interface ComponentPeerregistered in class EchoPointComponentPeerEchoPointComponentPeer.registered()
public void render(RenderingContext rc,
Element parent)
ComponentPeer
render in interface ComponentPeerrender in class AbstractComponentPeerrc - 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()
EchoPointComponentPeer
unregistered in interface ComponentPeerunregistered in class EchoPointComponentPeer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||