Class GroupView

  • All Implemented Interfaces:
    java.io.Serializable

    public class GroupView
    extends java.lang.Object
    implements java.io.Serializable
    Class to define a selection of GroupPath objects.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPath​(GroupPath path)
      Add the given group path to this view.
      boolean equals​(java.lang.Object obj)
      Test if the given object is equal to this.
      int getCount()
      Get the number of paths in the view
      GroupPath getPath​(int index)
      Get the path at the specified index.
      java.lang.String toString()
      Return string representation for this object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GroupView

        public GroupView​(GroupPath[] paths)
        Constructor
        Parameters:
        paths - paths in the view
      • GroupView

        public GroupView​(GroupPath path)
        Constructor for a single path in the view.
        Parameters:
        path - the path that is used to create this view.
    • Method Detail

      • addPath

        public void addPath​(GroupPath path)
        Add the given group path to this view.
        Parameters:
        path - path to add
      • getCount

        public int getCount()
        Get the number of paths in the view
      • getPath

        public GroupPath getPath​(int index)
        Get the path at the specified index.
        Parameters:
        index - the index of the desired path in the view.
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - if index is invalid.
      • equals

        public boolean equals​(java.lang.Object obj)
        Test if the given object is equal to this.
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Return string representation for this object.
        Overrides:
        toString in class java.lang.Object