Class RecordGrid

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class RecordGrid extends TimeComponent
See Also:
  • Constructor Details

  • Method Details

    • getFontSizeDelta

      public float getFontSizeDelta()
    • setFontSizeDelta

      public void setFontSizeDelta(float fontSizeDelta)
    • addSpeaker

      public void addSpeaker(Participant speaker)
    • removeSpeaker

      public void removeSpeaker(Participant speaker)
    • setSpeakers

      public void setSpeakers(Collection<Participant> speakers)
    • clearSpeakers

      public void clearSpeakers()
    • addTier

      public void addTier(String tierName)
    • removeTier

      public void removeTier(String tierName)
    • setTiers

      public void setTiers(Collection<String> tierNames)
    • getTierInsets

      public Insets getTierInsets()
    • setTierInsets

      public void setTierInsets(Insets insets)
    • getSpeakers

      public List<Participant> getSpeakers()
    • getTiers

      public List<String> getTiers()
    • getSelectionModel

      public ListSelectionModel getSelectionModel()
    • getCurrentRecordIndex

      public int getCurrentRecordIndex()
    • setCurrentRecordIndex

      public void setCurrentRecordIndex(int recordIndex)
    • getCurrentRecord

      public Record getCurrentRecord()
    • setCurrentRecord

      public void setCurrentRecord(Record r)
    • addParticipantMenuHandler

      public void addParticipantMenuHandler(BiConsumer<Participant,MenuBuilder> listener)
      Add a listener to particpant pop-up menus.
      Parameters:
      listener -
    • removeParticipantMenuHandler

      public void removeParticipantMenuHandler(BiConsumer<Participant,MenuBuilder> listener)
    • getParticipantMenuHandlers

      public List<BiConsumer<Participant,MenuBuilder>> getParticipantMenuHandlers()
    • setupParticipantMenu

      public void setupParticipantMenu(Participant participant, MenuBuilder builder)
      Setup speaker menu for given participant
      Parameters:
      participant -
    • isSplitMode

      public boolean isSplitMode()
    • setSplitMode

      public void setSplitMode(boolean splitMode)
    • isSplitModeAccept

      public boolean isSplitModeAccept()
    • setSplitModeAccept

      public void setSplitModeAccept(boolean v)
    • toggleSplitMode

      public void toggleSplitMode()
    • beginSplitMode

      public void beginSplitMode(Record leftRecord, Record rightRecord)
      Setup split mode - only fires a single property change event
      Parameters:
      leftRecord -
      rightRecord -
    • getLeftRecordSplit

      public Record getLeftRecordSplit()
    • setLeftRecordSplit

      public void setLeftRecordSplit(Record record)
    • getRightRecordSplit

      public Record getRightRecordSplit()
    • setRightRecordSplit

      public void setRightRecordSplit(Record record)
    • addRecordGridMouseListener

      public void addRecordGridMouseListener(RecordGridMouseListener listener)
    • removeRecordGridMouseListener

      public void removeRecordGridMouseListener(RecordGridMouseListener listener)
    • repaintRecord

      public void repaintRecord(int recordIndex)
    • fireRecordClicked

      public void fireRecordClicked(int recordIndex, MouseEvent me)
    • fireRecordPressed

      public void fireRecordPressed(int recordIndex, MouseEvent me)
    • fireRecordReleased

      public void fireRecordReleased(int recordIndex, MouseEvent me)
    • fireRecordEntered

      public void fireRecordEntered(int recordIndex, MouseEvent me)
    • fireRecordExited

      public void fireRecordExited(int recordIndex, MouseEvent me)
    • fireRecordDragged

      public void fireRecordDragged(int recordIndex, MouseEvent me)
    • getUIClassID

      public String getUIClassID()
      Overrides:
      getUIClassID in class JComponent
    • updateUI

      public void updateUI()
      Overrides:
      updateUI in class JComponent
    • getUI

      public DefaultRecordGridUI getUI()
      Overrides:
      getUI in class TimeComponent
    • getSession

      public Session getSession()
    • setSession

      public void setSession(Session session)
    • getPreferredSize

      public Dimension getPreferredSize()
      Overrides:
      getPreferredSize in class JComponent