public class AutoFillTextBoxSkin<T> extends javafx.scene.control.SkinBase<AutoFillTextBox<T>> implements javafx.beans.value.ChangeListener<String>, javafx.event.EventHandler
| Constructor and Description |
|---|
AutoFillTextBoxSkin(AutoFillTextBox text)
CONSTRUCTOR
|
| Modifier and Type | Method and Description |
|---|---|
void |
changed(javafx.beans.value.ObservableValue<? extends String> ov,
String t,
String t1)
When ever the the rawTextProperty is changed
then this listener is activated
|
javafx.stage.Window |
getWindow() |
void |
handle(javafx.event.Event evt)
This is the main event handler which handles all the
event of the listview and textbox
|
void |
hidePopup()
This function hides the popup containing listview
|
void |
selectList()
Selects the current Selected Item from the list
and the content of that selected Item is set to textbox.
|
void |
showPopup()
A Popup containing Listview is trigged from this function
This function automatically resize it's height and width
according to the width of textbox and item's cell height
|
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpacepublic AutoFillTextBoxSkin(AutoFillTextBox text)
text - AutoTextBoxpublic javafx.stage.Window getWindow()
public void selectList()
public void handle(javafx.event.Event evt)
handle in interface javafx.event.EventHandlerevt - blapublic void showPopup()
public void hidePopup()
Copyright © 2014. All rights reserved.