echopointng.ui.syncpeer
Class ComboBoxPeer
java.lang.Object
echopointng.ui.syncpeer.AbstractEchoPointPeer
echopointng.ui.syncpeer.AbstractEchoPointContainerPeer
echopointng.ui.syncpeer.PopUpPeer
echopointng.ui.syncpeer.ComboBoxPeer
- All Implemented Interfaces:
- ComponentSynchronizePeer, DomUpdateSupport, PropertyUpdateProcessor
public class ComboBoxPeer
- extends PopUpPeer
ComboBoxPeer is the peer for the ComboBox
|
Method Summary |
protected void |
createInitDirective(RenderingContext rc,
ComboBox combo)
Renders a directive to the outgoing ServerMessage to
initialize the state of a ComboBox, performing tasks such as registering
event listeners on the client and creating the EPComboBox JS object. |
protected org.w3c.dom.Element |
renderBox(RenderingContext rc,
Component component,
Style fallbackStyle)
This is called to render the popup floating box. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ITEM_INSETS
protected static final Insets DEFAULT_ITEM_INSETS
COMBOBOX_SERVICE
public static final Service COMBOBOX_SERVICE
- Service to provide supporting JavaScript library.
ComboBoxPeer
public ComboBoxPeer()
renderBox
protected org.w3c.dom.Element renderBox(RenderingContext rc,
Component component,
Style fallbackStyle)
- This is called to render the popup floating box. Overrides the
base implementation.
- Overrides:
renderBox in class PopUpPeer
- Returns:
- a new top level Element for the floating box
createInitDirective
protected void createInitDirective(RenderingContext rc,
ComboBox combo)
- Renders a directive to the outgoing
ServerMessage to
initialize the state of a ComboBox, performing tasks such as registering
event listeners on the client and creating the EPComboBox JS object.
Not that this does not overrride the base createInitDirective() but rather
augments it by assuming it has run first.