Skip to content

Commit

Permalink
Allow changing the skin in AutoCompletionBinding
Browse files Browse the repository at this point in the history
  • Loading branch information
piegamesde authored and unknown committed Dec 23, 2019
1 parent eedc49c commit 900e2e7
Showing 1 changed file with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public final int getVisibleRowCount() {
public final IntegerProperty visibleRowCountProperty() {
return autoCompletionPopup.visibleRowCountProperty();
}

/**
* Sets the prefWidth of the popup.
*
Expand Down Expand Up @@ -269,6 +269,27 @@ public final DoubleProperty maxWidthProperty() {
return autoCompletionPopup.maxWidthProperty();
}

/**
* Set the skin of the popup
*/
public final void setSkin(Skin<?> skin) {
autoCompletionPopup.setSkin(skin);
}

/**
* Return the skin of the popup
*/
public final Skin<?> getSkin() {
return autoCompletionPopup.getSkin();
}

/**
* Return the property associated with the popup's skin
*/
public final ObjectProperty<Skin<?>> skinProperty() {
return autoCompletionPopup.skinProperty();
}

/***************************************************************************
* *
* Protected methods *
Expand Down

0 comments on commit 900e2e7

Please sign in to comment.