@Component(tag="popupbox", widgetClass="Popupbox", parentTag="*", childTag=@Component.ChildTag(value="popup",maximum=1), description="A text box with a drop down button that triggers the appearance of a popup component.") public class Popupbox extends Textbox
BaseComponent.SubComponentlog| Constructor and Description |
|---|
Popupbox() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterAddChild(BaseComponent child)
If popup specified as a child, set it as the associated popup component.
|
void |
close()
Closes the popup box.
|
boolean |
isOpen()
Returns true if the popup box is open.
|
protected void |
onAttach(Page page)
If popup specified as a child, set it as the associated popup component.
|
void |
open()
Opens the popup box.
|
void |
setOpen(boolean open)
Sets the open state of the popup box.
|
void |
setPopup(Popup popup)
Sets the popup associated with the popup box.
|
_toString, _toValue, getSynchronized, isMasked, setMasked, setSynchronizedgetMaxLength, getMaxValue, getMinValue, getPattern, getPlaceholder, isReadonly, isRequired, selectAll, selectRange, setMaxLength, setMaxValue, setMinValue, setPattern, setPlaceholder, setReadonly, setRequired_getValue, _onChange, _setValue, _setValue, _toClient, clear, getValue, setValue_syncClasses, _syncStyles, addClass, addMask, addMask, addMask, addStyle, addStyles, afterRemoveChild, focus, getBalloon, getClasses, getContext, getCss, getDragid, getDropid, getFirstVisibleChild, getFirstVisibleChild, getFlex, getHeight, getHint, getKeycapture, getPopup, getStyle, getStyles, getTabindex, getWidth, hide, isDisabled, isVisible, onDestroyTracked, print, print, removeClass, removeMask, removeStyle, reportSize, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _getChildren, _initProps, addChild, addChild, addChild, addChildren, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, addSnippet, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, finalize, findAllNamed, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getController, getControllers, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasAttribute, hasChildren, hasEventListener, hasEventListener, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, isRendered, notifyAncestors, notifyDescendants, nullify, onDestroy, propertyChange, removeAttribute, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setAttribute, setContent, setContentSynced, setData, setIndex, setName, setNamespace, setParent, sub, swapChildren, swapTrackedComponents, sync, toString, trackComponent, trimify, untrackComponent, validate, validate, validateChild, validateIsChild, validateName, validatePage, validateParent, wireControllerclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waittransformForClientpublic void open()
setOpen(true)public void close()
setOpen(false)protected void afterAddChild(BaseComponent child)
afterAddChild in class BaseComponentchild - The new child.BaseComponent.afterAddChild(org.fujion.component.BaseComponent)protected void onAttach(Page page)
onAttach in class BaseComponentpage - The attached page.BaseComponent.onAttach(org.fujion.component.Page)public void setPopup(Popup popup)
setPopup in class BaseUIComponentpopup - The popup component that will appear when hovering over this component.@Component.PropertyGetter(value="open", description="True if the popup box is open.") public boolean isOpen()
@Component.PropertySetter(value="open", defaultValue="false", description="True if the popup box is open.") public void setOpen(boolean open)
open - The open state of the popup box.Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.