Class MediaImageCell

All Implemented Interfaces:
Styleable, EventTarget, Skinnable

public class MediaImageCell extends GridCell<Media>
A GridCell that can be used to show media (i.e. movies) inside the GridView control.
See Also:
  • Constructor Details

    • MediaImageCell

      public MediaImageCell()
      Creates a default MediaGridCell instance.
  • Method Details

    • pause

      public void pause()
      Pauses the media player inside this cell.
    • play

      public void play()
      Starts playing the media player inside this cell.
    • stop

      public void stop()
      Stops playing the media player inside this cell.
    • updateItem

      protected void updateItem(Media item, boolean empty)
      Overrides:
      updateItem in class Cell<Media>