Class SelectionBuffer

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.softsynth.jmsl.score.SelectionBuffer
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class SelectionBuffer
extends java.util.Vector
SelectionBuffer is a temporary place to copy selected elements, to enumerate through and delete for example, or to parse out into a new ScoreCollection Object. It also has an editNotes() method which brings up a static DimensionNameSpaceEditorFrame
Author:
Nick Didkovsky, copyright 2000 Nick Didkovsky, all rights reserved
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String copyright  
  • Constructor Summary

    Constructors
    Constructor Description
    SelectionBuffer()  
  • Method Summary

    Modifier and Type Method Description
    void deselectAndClear()  
    static void disposeEditFrame()  
    void editNotes()  
    java.awt.Color getColorOfSelectedNotes()  
    boolean homogeneousNameSpaces()  
    void setColorOfSelectedNotes​(java.awt.Color colorOfSelectedNotes)  

    Methods inherited from class java.util.Vector

    add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, stream, toArray
  • Field Details

  • Constructor Details

    • SelectionBuffer

      public SelectionBuffer()
  • Method Details

    • getColorOfSelectedNotes

      public java.awt.Color getColorOfSelectedNotes()
      Returns:
      Returns the colorOfSelectedNotes.
    • setColorOfSelectedNotes

      public void setColorOfSelectedNotes​(java.awt.Color colorOfSelectedNotes)
      Parameters:
      colorOfSelectedNotes - The colorOfSelectedNotes to set.
    • deselectAndClear

      public void deselectAndClear()
    • disposeEditFrame

      public static void disposeEditFrame()
    • editNotes

      public void editNotes()
    • homogeneousNameSpaces

      public boolean homogeneousNameSpaces()