Package org.scijava

Class AbstractUIDetails

    • Constructor Detail

      • AbstractUIDetails

        public AbstractUIDetails()
    • Method Detail

      • getMenuPath

        public MenuPath getMenuPath()
        Description copied from interface: UIDetails
        Gets the path to the object's suggested position in the menu structure.
        Specified by:
        getMenuPath in interface UIDetails
      • getMenuRoot

        public String getMenuRoot()
        Description copied from interface: UIDetails
        Gets the name of the menu structure to which the object belongs.
        Specified by:
        getMenuRoot in interface UIDetails
      • getIconPath

        public String getIconPath()
        Description copied from interface: UIDetails
        Gets the resource path to an icon representing the object.
        Specified by:
        getIconPath in interface UIDetails
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: UIDetails
        Gets whether the object should be enabled in the user interface.
        Specified by:
        isEnabled in interface UIDetails
      • isVisible

        public boolean isVisible()
        Description copied from interface: UIDetails
        Gets whether the object should be visible in the user interface.
        Specified by:
        isVisible in interface UIDetails
      • isSelectable

        public boolean isSelectable()
        Description copied from interface: UIDetails
        Gets whether the object can be selected (e.g., checking and unchecking its menu item) in the user interface.
        Specified by:
        isSelectable in interface UIDetails
      • getSelectionGroup

        public String getSelectionGroup()
        Description copied from interface: UIDetails
        Gets the name of the selection group to which the object belongs. Only one object in a particular selection group can be selected at a time.
        Specified by:
        getSelectionGroup in interface UIDetails
      • isSelected

        public boolean isSelected()
        Description copied from interface: UIDetails
        Gets whether the object is selected (e.g., its menu item is checked) in the user interface.
        Specified by:
        isSelected in interface UIDetails
      • setMenuPath

        public void setMenuPath​(MenuPath menuPath)
        Description copied from interface: UIDetails
        Sets the path to the object's suggested position in the menu structure.
        Specified by:
        setMenuPath in interface UIDetails
      • setMenuRoot

        public void setMenuRoot​(String menuRoot)
        Description copied from interface: UIDetails
        Sets the name of the menu structure to which the object belongs.
        Specified by:
        setMenuRoot in interface UIDetails
      • setIconPath

        public void setIconPath​(String iconPath)
        Description copied from interface: UIDetails
        Sets the resource path to an icon representing the object.
        Specified by:
        setIconPath in interface UIDetails
      • setEnabled

        public void setEnabled​(boolean enabled)
        Description copied from interface: UIDetails
        Sets whether the object should be enabled in the user interface.
        Specified by:
        setEnabled in interface UIDetails
      • setVisible

        public void setVisible​(boolean visible)
        Description copied from interface: UIDetails
        Sets whether the object should be visible in the user interface.
        Specified by:
        setVisible in interface UIDetails
      • setSelectable

        public void setSelectable​(boolean selectable)
        Description copied from interface: UIDetails
        Sets whether the object can be selected (e.g., checking and unchecking its menu item) in the user interface.
        Specified by:
        setSelectable in interface UIDetails
      • setSelectionGroup

        public void setSelectionGroup​(String selectionGroup)
        Description copied from interface: UIDetails
        Sets the name of the selection group to which the object belongs. Only one object in a particular selection group can be selected at a time.
        Specified by:
        setSelectionGroup in interface UIDetails
      • setSelected

        public void setSelected​(boolean selected)
        Description copied from interface: UIDetails
        Sets whether the object is selected (e.g., its menu item is checked) in the user interface.
        Specified by:
        setSelected in interface UIDetails
      • setPriority

        public void setPriority​(double priority)
        Description copied from interface: Prioritized
        Sets the sort priority of the object.
        Specified by:
        setPriority in interface Prioritized
        See Also:
        Priority