com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class View

    • Constructor Summary

      Constructors 
      Constructor and Description
      View()
      Initializes a new instance of the View class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int compareTo(Object obj)
      Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
      boolean equals(Object obj)
      Returns a value indicating whether this instance is equal to a specified object.
      Filter getFilter()
      Gets a Filter object representing the filter used in a single view.
      Group getGroup()
      Gets a Group object representing the group of the single view.
      boolean getHighlightFilter()
      Gets a value indicating whether Microsoft Project highlights the filter for a single view.
      int getIndex()
      Gets the index of a View object in the Views containing object.
      String getName()
      Gets the name of a View object.
      PageInfo getPageInfo()
      Gets an instance of the PageInfo(getPageInfo()/setPageInfo(PageInfo)) class.
      Project getParentProject()
      Gets the parent of the View object.
      int getScreen()
      Gets the screen type for the single view.
      boolean getShowInMenu()
      Gets a value indicating whether Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon.
      Table getTable()
      Gets a Table object representing the table of the single view.
      int getType()
      Gets the type of item in the single view, such as tasks or resources.
      int getUid()
      Gets the unique identifier of a view.
      int hashCode()
      Returns a hash code value for the instance of the Resource class.
      void setFilter(Filter value)
      Sets a Filter object representing the filter used in a single view.
      void setGroup(Group value)
      Sets a Group object representing the group of the single view.
      void setHighlightFilter(boolean value)
      Sets a value indicating whether Microsoft Project highlights the filter for a single view.
      void setName(String value)
      Sets the name of a View object.
      void setShowInMenu(boolean value)
      Sets a value indicating whether Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon.
      void setTable(Table value)
      Sets a Table object representing the table of the single view.
    • Constructor Detail

      • View

        public View()

        Initializes a new instance of the View class.

    • Method Detail

      • compareTo

        public final int compareTo(Object obj)

        Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

        Specified by:
        compareTo in interface Comparable
        Parameters:
        obj - the specified View object to compare this instance to.
        Returns:
        A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes other in the sort order. Zero This instance occurs in the same position in the sort order as other. Greater than zero This instance follows other in the sort order.
      • equals

        public boolean equals(Object obj)

        Returns a value indicating whether this instance is equal to a specified object.

        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare with this instance.
        Returns:
        <b>True</b> if the specified object is a View that has the same Uid value as this instance; otherwise, <b>false</b>.
      • getFilter

        public final Filter getFilter()

        Gets a Filter object representing the filter used in a single view.

        Returns:
        a Filter object representing the filter used in a single view.
      • setFilter

        public final void setFilter(Filter value)

        Sets a Filter object representing the filter used in a single view.

        Parameters:
        value - a Filter object representing the filter used in a single view.
      • getGroup

        public final Group getGroup()

        Gets a Group object representing the group of the single view. Read/write Group(getGroup()/setGroup(Group)).

        Returns:
        a Group object representing the group of the single view.
      • setGroup

        public final void setGroup(Group value)

        Sets a Group object representing the group of the single view. Read/write Group(getGroup()/setGroup(Group)).

        Parameters:
        value - a Group object representing the group of the single view.
      • getHighlightFilter

        public final boolean getHighlightFilter()

        Gets a value indicating whether Microsoft Project highlights the filter for a single view.

        Returns:
        a value indicating whether Microsoft Project highlights the filter for a single view.
      • setHighlightFilter

        public final void setHighlightFilter(boolean value)

        Sets a value indicating whether Microsoft Project highlights the filter for a single view.

        Parameters:
        value - a value indicating whether Microsoft Project highlights the filter for a single view.
      • getIndex

        public final int getIndex()

        Gets the index of a View object in the Views containing object.

        Returns:
        the index of a View object in the Views containing object.
      • getName

        public final String getName()

        Gets the name of a View object.

        Returns:
        the name of a View object.
      • setName

        public final void setName(String value)

        Sets the name of a View object.

        Parameters:
        value - the name of a View object.
      • getParentProject

        public final Project getParentProject()

        Gets the parent of the View object. Read-only Project.

        Returns:
        the parent of the View object.
      • getScreen

        public final int getScreen()

        Gets the screen type for the single view. Read-only ViewScreen.

        Returns:
        the screen type for the single view.
      • getShowInMenu

        public final boolean getShowInMenu()

        Gets a value indicating whether Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon.

        Returns:
        a value indicating whether Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon.
      • setShowInMenu

        public final void setShowInMenu(boolean value)

        Sets a value indicating whether Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon.

        Parameters:
        value - a value indicating whether Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon.
      • getTable

        public final Table getTable()

        Gets a Table object representing the table of the single view. Read/write Table(getTable()/setTable(Table)).

        Returns:
        a Table object representing the table of the single view.
      • setTable

        public final void setTable(Table value)

        Sets a Table object representing the table of the single view. Read/write Table(getTable()/setTable(Table)).

        Parameters:
        value - a Table object representing the table of the single view.
      • getType

        public final int getType()

        Gets the type of item in the single view, such as tasks or resources. Read-only ItemType.

        Returns:
        the type of item in the single view, such as tasks or resources.
      • getUid

        public final int getUid()

        Gets the unique identifier of a view.

        Returns:
        the unique identifier of a view.
      • hashCode

        public int hashCode()

        Returns a hash code value for the instance of the Resource class.

        Overrides:
        hashCode in class Object
        Returns:
        returns a hash code value for this object.