@Component(tag="comboitem", widgetClass="Comboitem", parentTag="combobox", description="A single item within a combo box.") public class Comboitem extends BaseLabeledImageComponent<BaseLabeledComponent.LabelPositionNone>
BaseLabeledComponent.ILabelPosition, BaseLabeledComponent.LabelPositionAll, BaseLabeledComponent.LabelPositionHorz, BaseLabeledComponent.LabelPositionNoneBaseComponent.SubComponentlog| Constructor and Description |
|---|
Comboitem() |
Comboitem(String label) |
Comboitem(String label,
String image) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_setSelected(boolean selected,
boolean notifyClient,
boolean notifyParent)
Sets the selection state.
|
Combobox |
getCombobox()
Returns the combo box that is the parent of this combo item.
|
String |
getValue()
Returns the value associated with the combo item.
|
boolean |
isSelected()
Returns the selection state.
|
void |
setSelected(boolean selected)
Sets the selection state.
|
void |
setValue(String value)
Sets the value associated with the combo item.
|
getImage, setImagegetLabel, getPosition, setLabel, setPosition_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, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _initProps, addChild, addChild, addChild, addChildren, addComposite, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, detachChildren, finalize, findAllNamed, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getController, getControllers, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getLastController, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasChildren, hasEventListener, hasEventListener, invoke, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, isRendered, loadModule, loadModule, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, propertyChange, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setContent, setContentSynced, setData, setIndex, setName, setNamespace, setParent, sub, swapChildren, swapTrackedComponents, sync, toString, trackComponent, trimify, untrackComponent, validate, validate, validateChild, validateIsChild, validateName, validatePage, validateParent, wireController, wireControllerclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waittransformForClientgetAttribute, hasAttribute, removeAttribute, setAttributepublic Comboitem()
public Comboitem(String label)
@Component.PropertyGetter(value="selected", description="The selection state.") public boolean isSelected()
@Component.PropertySetter(value="selected", defaultValue="false", description="The selection state.") public void setSelected(boolean selected)
selected - The selection state.@Component.PropertyGetter(value="value", description="The value associated with the combo item.") public String getValue()
@Component.PropertySetter(value="value", description="The value associated with the combo item.") public void setValue(String value)
value - The value associated with the combo item.protected void _setSelected(boolean selected,
boolean notifyClient,
boolean notifyParent)
selected - The selection state.notifyClient - If true, notify the client of the state change.notifyParent - If true, notify the parent of the state change.public Combobox getCombobox()
Copyright © 2018 Fujion Framework. All rights reserved.