ComboBoxListItemNode¶
Overview¶
Node for an item in a combo box list. Responsible for highlighting itself when the pointer is over it. Typically instantiated by ComboBox, not by client code.
@author Chris Malley (PixelZoom, Inc.)
Class ComboBoxListItemNode¶
Constructor¶
new ComboBoxListItemNode( item : ComboBoxItemNoNode<T>, node : Node, highlightWidthProperty : TReadOnlyProperty<number>, highlightHeightProperty : TReadOnlyProperty<number>, providedOptions? : ComboBoxListItemNodeOptions )¶
Instance Methods¶
supplyOpenResponseOnNextFocus()¶
Ask for the voicing response for opening the ComboBox upon next focus, but only for the very next focus event.
dispose()¶
Free memory references to avoid leaks.
Instance Properties¶
item : ComboBoxItemNoNode<T>¶
(readonly)
Type ComboBoxListItemNodeOptions¶
- align?: "left" | "right" | "center"
- xMargin?: number
margin between the item and the highlight edge - highlightFill?: TPaint
highlight behind the item - highlightCornerRadius?: number
corner radius for the highlight - comboBoxVoicingNameResponsePattern?: TReadOnlyProperty<string> | string
- & StrictOmit<ParentOptions, "children" | "innerContent">
Source Code¶
See the source for ComboBoxListItemNode.ts in the sun repository.