Tabnine Logo
JFXListCell.getListView
Code IndexAdd Tabnine to your IDE (free)

How to use
getListView
method
in
com.jfoenix.controls.JFXListCell

Best Java code snippets using com.jfoenix.controls.JFXListCell.getListView (Showing top 6 results out of 315)

origin: jfoenixadmin/JFoenix

  private double getGap() {
    return (getListView() instanceof JFXListView) ? (((JFXListView<?>) getListView()).isExpanded() ? ((JFXListView<?>) getListView())
      .currentVerticalGapProperty()
      .get() : 0) : 0;
  }
}
origin: jfoenixadmin/JFoenix

listViewProperty().addListener((listObj, oldList, newList) -> {
  if (newList != null) {
    if (getListView() instanceof JFXListView) {
      ((JFXListView<?>) newList).currentVerticalGapProperty().addListener((o, oldVal, newVal) -> {
        cellRippler.rippler.setClip(null);
        if (newVal.doubleValue() != 0) {
          playExpandAnimation = true;
          getListView().requestLayout();
        } else {
          gapAnimation.setOnFinished((finish) -> {
            requestLayout();
            Platform.runLater(() -> getListView().requestLayout());
          });
origin: jfoenixadmin/JFoenix

      ((JFXListView<?>) getListView()).addSublist((JFXListView<?>) newNode, this.getIndex());
      this.getStyleClass().add("sublist-item");
          getListView().setPrefHeight(getListView().getHeight() + newAnimatedHeight + animatedHeight);
          expandAnimation.setOnFinished((finish) -> {
            updateClipHeight(newHeight);
            getListView().setPrefHeight(getListView().getHeight() + newAnimatedHeight);
            animatedHeight = 0;
          });
  setGraphic(null);
boolean isJFXListView = getListView() instanceof JFXListView;
if (isJFXListView && ((JFXListView<?>) getListView()).isShowTooltip()) {
  if (item instanceof Label) {
    setTooltip(new Tooltip(((Label) item).getText()));
origin: com.jfoenix/jfoenix

  private double getGap() {
    return (getListView() instanceof JFXListView) ? (((JFXListView<?>) getListView()).isExpanded() ? ((JFXListView<?>) getListView())
      .currentVerticalGapProperty()
      .get() : 0) : 0;
  }
}
origin: com.jfoenix/jfoenix

listViewProperty().addListener((listObj, oldList, newList) -> {
  if (newList != null) {
    if (getListView() instanceof JFXListView) {
      ((JFXListView<?>) newList).currentVerticalGapProperty().addListener((o, oldVal, newVal) -> {
        cellRippler.rippler.setClip(null);
        if (newVal.doubleValue() != 0) {
          playExpandAnimation = true;
          getListView().requestLayout();
        } else {
          gapAnimation.setOnFinished((finish) -> {
            requestLayout();
            Platform.runLater(() -> getListView().requestLayout());
          });
origin: com.jfoenix/jfoenix

      ((JFXListView<?>) getListView()).addSublist((JFXListView<?>) newNode, this.getIndex());
      this.getStyleClass().add("sublist-item");
          getListView().setPrefHeight(getListView().getHeight() + newAnimatedHeight + animatedHeight);
          expandAnimation.setOnFinished((finish) -> {
            updateClipHeight(newHeight);
            getListView().setPrefHeight(getListView().getHeight() + newAnimatedHeight);
            animatedHeight = 0;
          });
  setGraphic(null);
boolean isJFXListView = getListView() instanceof JFXListView;
if (isJFXListView && ((JFXListView<?>) getListView()).isShowTooltip()) {
  if (item instanceof Label) {
    setTooltip(new Tooltip(((Label) item).getText()));
com.jfoenix.controlsJFXListCellgetListView

Popular methods of JFXListCell

  • <init>
  • getBackground
  • getChildren
  • getGap
  • getGraphic
  • getHeight
  • getIndex
  • getPadding
  • getStyleClass
  • getText
  • getWidth
  • initListeners
    init listeners to update the vertical gap / selection animation
  • getWidth,
  • initListeners,
  • initialize,
  • listViewProperty,
  • makeChildrenTransparent,
  • prefHeight,
  • pseudoClassStateChanged,
  • requestLayout,
  • selectedProperty

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Join (org.hibernate.mapping)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now