Class NotesDialog.NoteRenderer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.time.format.DateTimeFormatter dateFormat  
      private javax.swing.DefaultListCellRenderer defaultListCellRenderer  
    • Constructor Summary

      Constructors 
      Constructor Description
      NoteRenderer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Component getListCellRendererComponent​(javax.swing.JList<? extends Note> list, Note note, int index, boolean isSelected, boolean cellHasFocus)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dateFormat

        private final java.time.format.DateTimeFormatter dateFormat
    • Method Detail

      • getListCellRendererComponent

        public java.awt.Component getListCellRendererComponent​(javax.swing.JList<? extends Note> list,
                                                               Note note,
                                                               int index,
                                                               boolean isSelected,
                                                               boolean cellHasFocus)
        Specified by:
        getListCellRendererComponent in interface javax.swing.ListCellRenderer<Note>