Class ObjectOptionsPanel

  • public class ObjectOptionsPanel
    extends Object
    A side panel composed by set of sections with detailed information and options on an object. These sections are: A property sheet, a list of explorers, a list of views, a help and a contextual information panel.
    Charles Edward Bedon Cortazar <>
    • Field Detail


        public static final String EVENT_VIEW_SELECTION
        This event occurs when a view is selected.
        See Also:
        Constant Field Values

        public static final String EVENT_ACTION_SELECTION
        This event occurs when a view, action or explorer is selected.
        See Also:
        Constant Field Values

        public static final String EVENT_EXPLORER_SELECTION
        This event occurs when a explorer is selected.
        See Also:
        Constant Field Values
    • Method Detail

      • build

        public com.vaadin.flow.component.Component build​(UserProfile user)
                                                  throws InventoryException
        Builds the actual component ready to be embedded.Make sure you set the showXXX flags to the values you need depending on what do you want to be displayed. Every flag has a default, see their respective documentation for details.
        user - The user taken from the application session. It will be used to match its privileges to activate or deactivate actions.
        The component to be embedded. Main implementation uses an accordion.
        InventoryException - In case that building some of the sections results in
      • isShowPropertySheet

        public boolean isShowPropertySheet()
      • setShowPropertySheet

        public void setShowPropertySheet​(boolean showPropertySheet)
      • isShowExplorers

        public boolean isShowExplorers()
      • setShowExplorers

        public void setShowExplorers​(boolean showExplorers)
      • isShowViews

        public boolean isShowViews()
      • setShowViews

        public void setShowViews​(boolean showViews)
      • isShowCoreActions

        public boolean isShowCoreActions()
      • setShowCoreActions

        public void setShowCoreActions​(boolean showCoreActions)
      • isShowCustomActions

        public boolean isShowCustomActions()
      • setShowCustomActions

        public void setShowCustomActions​(boolean showCustomActions)
      • isShowHelp

        public boolean isShowHelp()
      • setShowHelp

        public void setShowHelp​(boolean showHelp)
      • isShowContext

        public boolean isShowContext()
      • setShowContext

        public void setShowContext​(boolean showContext)
      • setSelectionListener

        public void setSelectionListener​(ActionListener selectionListener)